Forum Discussion
BoonBengT_Altera
Moderator
4 years agoHi @Saikiranbelana,
Thank you for posting in Intel community forum and hope all is well.
May I ask what are the OS of your host machine?
Just to double checked did you managed to install the opencl runtime driver? (may refer here for further steps)
Hope that clarify.
Best Wishes
BB
Saikiranbelana
New Contributor
4 years agoThank you for replying @BoonBengT_Altera ,
I have followed the reference link you have shared. The following are the same outputs/errors I get with the reference link (please note, I'm running this on Ubuntu based docker container).
root@69b7aac9f145:~# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$INTELFPGAOCLSDKROOT/host/linux64/lib:$AOCL_BOARD_PACKAGE_ROOT/linux64/lib root@69b7aac9f145:~# aocl install Do you want to setup the FCD at directory /opt/Intel/OpenCL/Boards [Y/n] Y aocl install: /root/intelrtestack/a10_gx_pac_ias_1_2_1_pv/opencl/opencl_bsp is already registered in the system, please uninstall it before reinstalling root@69b7aac9f145:~# aocl uninstall Do you want to unset the FCD at directory /opt/Intel/OpenCL/Boards [Y/n] y aocl uninstall: Removing the FPGA Client Driver (FCD) from the system aocl uninstall: Removing the board package /root/intelrtestack/a10_gx_pac_ias_1_2_1_pv/opencl/opencl_bsp from the list of installed packages. This process may require admin privilege aocl uninstall: Running uninstall from /root/intelrtestack/a10_gx_pac_ias_1_2_1_pv/opencl/opencl_bsp/linux64/libexec WARNING: uninstall not implemented. Please refer to DCP Quick Start User Guide for installation instructions. root@69b7aac9f145:~# aocl install Do you want to setup the FCD at directory /opt/Intel/OpenCL/Boards [Y/n] Y aocl install: Setting up the FPGA Client Driver (FCD) to the system. This process may require admin privilege Install the FCD file to /opt/Intel/OpenCL/Boards aocl install: Adding the board package /root/intelrtestack/a10_gx_pac_ias_1_2_1_pv/opencl/opencl_bsp to the list of installed packages Installing the board package driver to the system. aocl install: Running install from /root/intelrtestack/a10_gx_pac_ias_1_2_1_pv/opencl/opencl_bsp/linux64/libexec WARNING: Intel PAC device not found root@69b7aac9f145:~# aocl uninstall Do you want to unset the FCD at directory /opt/Intel/OpenCL/Boards [Y/n] Y aocl uninstall: Removing the FPGA Client Driver (FCD) from the system aocl uninstall: Removing the board package /root/intelrtestack/a10_gx_pac_ias_1_2_1_pv/opencl/opencl_bsp from the list of installed packages. This process may require admin privilege aocl uninstall: Running uninstall from /root/intelrtestack/a10_gx_pac_ias_1_2_1_pv/opencl/opencl_bsp/linux64/libexec WARNING: uninstall not implemented. Please refer to DCP Quick Start User Guide for installation instructions. root@69b7aac9f145:~# aocl install -fcd-only Do you want to setup the FCD at directory /opt/Intel/OpenCL/Boards [Y/n] Y aocl install: Setting up the FPGA Client Driver (FCD) to the system. This process may require admin privilege Install the FCD file to /opt/Intel/OpenCL/Boards aocl install: Adding the board package /root/intelrtestack/a10_gx_pac_ias_1_2_1_pv/opencl/opencl_bsp to the list of installed packages root@69b7aac9f145:~# 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