- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for replying @BoonBengT_Intel ,
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Saikiranbelana,
Apologies for the delayed in response.
Based on the the installation and uninstallation of the driver seems not implemented with some privilege restriction.
My guess perhaps can try to check on your account access and if terminal are lunch with the right privilege.
Hope that help.
Note: If it is related to PCIe driver, would suggest to further check this session here.
Best Wishes
BB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Saikiranbelana,
Good day, just checking in to see if there is any further doubts in regards to this matter.
Hope we have clarify your doubts.
Best Wishes
BB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Saikiranbelana,
Greetings, as we do not receive any further clarification on what is provided, we would assume challenge are resolved. Hence thread will no longer be monitored. For new queries, please feel free to open a new thread and we will be right with you. Pleasure having you here.
Best Wishes
BB
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page