Saikiranbelana
New Contributor
4 years agoaocl diagnose error: no drivers available inside docker container
aocl diagnose command fails by saying Error opening AFC: no driver available
with Intel RTE stack.
root@3210051f6d19:~/intelrtestack# aocl diagnose -------------------------------------------------------------------- ICD System Diagnostics -------------------------------------------------------------------- Using the following location for ICD installation: /etc/OpenCL/vendors Found 1 icd entry at that location: /etc/OpenCL/vendors/Altera.icd the following OpenCL libraries are referenced in the icd files: libalteracl.so checking LD_LIBRARY_PATH for registered libraries: libalteracl.so was registered on the system at /opt/opencl_rte/aclrte-linux64/host/linux64/lib Using the following location for fcd installations: /opt/Intel/OpenCL/Boards Found 1 fcd entry at that location: /opt/Intel/OpenCL/Boards/dcp_bsp.fcd the following OpenCL libraries are referenced in the fcd files: /root/intelrtestack/a10_gx_pac_ias_1_2_1_pv/opencl/opencl_bsp/linux64/lib/libintel_opae_mmd.so checking LD_LIBRARY_PATH for registered libraries: /root/intelrtestack/a10_gx_pac_ias_1_2_1_pv/opencl/opencl_bsp/linux64/lib/libintel_opae_mmd.so was registered on the system. ERROR: OpenCL host failed -------------------------------------------------------------------- ICD diagnostics FAILED -------------------------------------------------------------------- -------------------------------------------------------------------- BSP Diagnostics -------------------------------------------------------------------- Error opening AFC: no driver available Error opening AFC: no driver available Error opening AFC: no driver available -------------------------------------------------------------------- Device Name: acl0 BSP Install Location: /root/intelrtestack/a10_gx_pac_ias_1_2_1_pv/opencl/opencl_bsp Vendor: Intel Corp DIAGNOSTIC_PASSED -------------------------------------------------------------------- Error opening AFC: no driver available -------------------------------------------------------------------- Device Name: acl1 BSP Install Location: /root/intelrtestack/a10_gx_pac_ias_1_2_1_pv/opencl/opencl_bsp Vendor: Intel Corp DIAGNOSTIC_PASSED -------------------------------------------------------------------- Call "aocl diagnose <device-names>" to run diagnose for specified devices Call "aocl diagnose all" to run diagnose for all devices
the FPGAs are getting detected but aocl commands are not worlking:
root@3210051f6d19:~/intelrtestack# fpgainfo fme Board Management Controller, microcontroller FW version 26895 Last Power Down Cause: POK_CORE Last Reset Cause: None //****** FME ******// Object Id : 0xEF00001 PCIe s:b:d:f : 0000:AF:00:0 Device Id : 0x09C4 Socket Id : 0x00 Ports Num : 01 Bitstream Id : 0x124000200000367 Bitstream Version : 1.2.4 Pr Interface Id : 38d782e3-b612-5343-b934-2433e348ac4c Boot Page : user Board Management Controller, microcontroller FW version 26895 Last Power Down Cause: POK_CORE Last Reset Cause: None //****** FME ******// Object Id : 0xEF00000 PCIe s:b:d:f : 0000:86:00:0 Device Id : 0x09C4 Socket Id : 0x00 Ports Num : 01 Bitstream Id : 0x124000200000367 Bitstream Version : 1.2.4 Pr Interface Id : 38d782e3-b612-5343-b934-2433e348ac4c Boot Page : user
please, can someone help me resolving the issue.
Thanks & Regards,
Saikiran Belana