Forum Discussion
Saikiranbelana
New Contributor
3 years agoIntel Devstack-OpenCL unable to detect PAC Cards
Intel Development Acceleration Stack for OpenCL is not detecting the Arria 10 PAC Cards on our server. It's looking for PAC drivers which cannot be found at the OpenCL_BSP installation path.
The Ca...
Saikiranbelana
New Contributor
3 years agoAs suggested, I have bound the device using `lspci`. Below is the log.
server2@ubuntu:~$ sudo lspci -n -v -s 0000:af:00.0 af:00.0 1200: 8086:09c4 Subsystem: 8086:0000 Physical Slot: 5 Flags: bus master, fast devsel, latency 0, IRQ 39, NUMA node 1 Memory at dbffff00000 (64-bit, prefetchable) [size=512K] Memory at dbfffe00000 (64-bit, prefetchable) [size=1M] Capabilities: [68] MSI-X: Enable+ Count=7 Masked- Capabilities: [78] Power Management version 3 Capabilities: [80] Express Endpoint, MSI 00 Capabilities: [100] Advanced Error Reporting Capabilities: [160] Alternative Routing-ID Interpretation (ARI) Capabilities: [200] Single Root I/O Virtualization (SR-IOV) Capabilities: [280] #19 Kernel driver in use: intel-fpga-pci Kernel modules: intel_fpga_pci server2@ubuntu:~$ sudo lspci -n -v -s 0000:86:00.0 86:00.0 1200: 8086:09c4 Subsystem: 8086:0000 Physical Slot: 7 Flags: bus master, fast devsel, latency 0, IRQ 37, NUMA node 1 Memory at d7ffff00000 (64-bit, prefetchable) [size=512K] Memory at d7fffe00000 (64-bit, prefetchable) [size=1M] Capabilities: [68] MSI-X: Enable+ Count=7 Masked- Capabilities: [78] Power Management version 3 Capabilities: [80] Express Endpoint, MSI 00 Capabilities: [100] Advanced Error Reporting Capabilities: [160] Alternative Routing-ID Interpretation (ARI) Capabilities: [200] Single Root I/O Virtualization (SR-IOV) Capabilities: [280] #19 Kernel driver in use: intel-fpga-pci Kernel modules: intel_fpga_pci server2@ubuntu:~$ 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 /home/server2/inteldevstack/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 /opt/intelFPGA_pro/quartus_19.2.0b57/hld/board/a10_ref/linux64/libexec cp: cannot stat '/home/server2/inteldevstack/a10_gx_pac_ias_1_2_1_pv/opencl/opencl_bsp/linux64/driver/*': No such file or directory sh: 0: Can't open ./make_all.sh aocl install: failed. aocl install: Removing FCD aocl install: Removing the board package /home/server2/inteldevstack/a10_gx_pac_ias_1_2_1_pv/opencl/opencl_bsp from the list of installed packages
For some reason, `aocl install` command is searching for the driver folder which is non-existent in the BSP.
I'm not sure how to diagnose this.