Forum Discussion
Chithambarash
New Contributor
2 years agoOneapi fpga board error
I had previously installed oneapi version 2023.2.0, however due to compatibility issues with my ubuntu version, I downgraded to oneapi version 2021.4.0. I successfully initialized my fpga board but i...
BoonBengT_Altera
Moderator
2 years agoHi @Chithambarash,
Thank you for posting in Intel community forum and hope all is well.
Based on the screenshot, there seems to be an output from the command sycl-ls.
Perhaps you can also check run the aocl diagnose command to check on the initialization.
As for the error mention it seems to be related to version 2023.2.0.
Hence would suggest to check if the version 2023.2.0 are completely uninstall
Hope that clarify
Best
Regards
Chithambarash
New Contributor
2 years agoThis is the aocl diagnose output:
-------------------------------------------------------------------- ICD System Diagnostics -------------------------------------------------------------------- Using the following location for ICD installation: /etc/OpenCL/vendors Found 3 icd entry at that location: /etc/OpenCL/vendors/Altera.icd /etc/OpenCL/vendors/intel-cpu.icd /etc/OpenCL/vendors/Intel_FPGA_SSG_Emulator.icd The following OpenCL libraries are referenced in the icd files: libalteracl.so libintelocl.so libintelocl_emu.so Checking LD_LIBRARY_PATH for registered libraries: WARNING: libintelocl_emu.so NOT FOUND Using OCL_ICD_FILENAMES to search for ICD clients, it is set to libintelocl_emu.so:libalteracl.so:/opt/intel/oneapi/compiler/2021.4.0/linux/lib/x64/libintelocl.so Checking LD_LIBRARY_PATH for registered libraries specified by OCL_ICD_FILENAMES WARNING: libintelocl_emu.so NOT FOUND libalteracl.so was registered on the system at /opt/intel/oneapi/compiler/2021.4.0/linux/lib/oclfpga/host/linux64/lib /opt/intel/oneapi/compiler/2021.4.0/linux/lib/x64/libintelocl.so was registered on the system. Using the following location for fcd installations: /opt/Intel/OpenCLFPGA/oneAPI/Boards Found 1 fcd entry at that location: /opt/Intel/OpenCLFPGA/oneAPI/Boards/intel_a10gx_pac.fcd The following OpenCL libraries are referenced in the fcd files: libopae-c.so /opt/intel/oneapi/compiler/2023.2.0/linux/lib/oclfpga/board/intel_a10gx_pac/linux64/lib/libMPF.so /opt/intel/oneapi/compiler/2023.2.0/linux/lib/oclfpga/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so Checking LD_LIBRARY_PATH for registered libraries: WARNING: libopae-c.so NOT FOUND WARNING: /opt/intel/oneapi/compiler/2023.2.0/linux/lib/oclfpga/board/intel_a10gx_pac/linux64/lib/libMPF.so NOT FOUND WARNING: /opt/intel/oneapi/compiler/2023.2.0/linux/lib/oclfpga/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so NOT FOUND Error: Could not load board library /opt/intel/oneapi/compiler/2023.2.0/linux/lib/oclfpga/board/intel_a10gx_pac/linux64/lib/libMPF.so (error_msg: /opt/intel/oneapi/compiler/2023.2.0/linux/lib/oclfpga/board/intel_a10gx_pac/linux64/lib/libMPF.so: cannot open shared object file: No such file or directory) Failed to dynamically load board MMD /opt/intel/oneapi/compiler/2023.2.0/linux/lib/oclfpga/board/intel_a10gx_pac/linux64/lib/libMPF.so Error: Could not load board library /opt/intel/oneapi/compiler/2023.2.0/linux/lib/oclfpga/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so (error_msg: /opt/intel/oneapi/compiler/2023.2.0/linux/lib/oclfpga/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: cannot open shared object file: No such file or directory) Failed to dynamically load board MMD /opt/intel/oneapi/compiler/2023.2.0/linux/lib/oclfpga/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so Error: Could not load board library /opt/intel/oneapi/compiler/2023.2.0/linux/lib/oclfpga/board/intel_a10gx_pac/linux64/lib/libMPF.so (error_msg: /opt/intel/oneapi/compiler/2023.2.0/linux/lib/oclfpga/board/intel_a10gx_pac/linux64/lib/libMPF.so: cannot open shared object file: No such file or directory) Failed to dynamically load board MMD /opt/intel/oneapi/compiler/2023.2.0/linux/lib/oclfpga/board/intel_a10gx_pac/linux64/lib/libMPF.so Error: Could not load board library /opt/intel/oneapi/compiler/2023.2.0/linux/lib/oclfpga/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so (error_msg: /opt/intel/oneapi/compiler/2023.2.0/linux/lib/oclfpga/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so: cannot open shared object file: No such file or directory) Failed to dynamically load board MMD /opt/intel/oneapi/compiler/2023.2.0/linux/lib/oclfpga/board/intel_a10gx_pac/linux64/lib/libintel_opae_mmd.so Number of Platforms = 2 1. Intel(R) FPGA Emulation Platform for OpenCL(TM) | Intel(R) Corporation | OpenCL 1.2 Intel(R) FPGA SDK for OpenCL(TM), Version 20.3 2. Intel(R) OpenCL | Intel(R) Corporation | OpenCL 3.0 LINUX ERROR: Failed to find Intel(R) FPGA SDK for OpenCL(TM) ERROR: OpenCL host failed -------------------------------------------------------------------- ICD diagnostics FAILED -------------------------------------------------------------------- -------------------------------------------------------------------- BSP Diagnostics -------------------------------------------------------------------- -------------------------------------------------------------------- Device Name: acl0 BSP Install Location: /opt/intel/oneapi/intelfpgadpcpp/2021.4.0/board/intel_a10gx_pac Vendor: Intel Corp Physical Dev Name Status Information pac_ec00000 Passed Intel PAC Platform (pac_ec00000) PCIe 134:00.0 USM not supported FPGA temperature = 58 degrees C. DIAGNOSTIC_PASSED -------------------------------------------------------------------- Call "aocl diagnose <device-names>" to run diagnose for specified devices Call "aocl diagnose all" to run diagnose for all devices