Knowledge Base Article

Couldn't open '/opt/Intel/OpenCL/Boards/a10_ref.fcd'

Description

When type ‘aocl install’ in Linux terminal, it will report "Couldn't open '/opt/Intel/OpenCL/Boards/a10_ref.fcd' for output

Unable to set up FCD. Please contact your board vendor or see section "Linking Your Host Application to the Khronos ICD Loader Library" of the Programming Guide for instructions on manual setup."  

Resolution

When you aocl install, you must get root privilege.

[zhaojunz@OpenCL quartus_env]$ su

Password:

[root@OpenCL quartus_env]# aocl install

aocl install: Running install from /usr/local/intelFPGA_pro/17.0/hld/board/a10_ref/linux64/libexec

Looking for kernel source files in /lib/modules/2.6.32-573.el6.x86_64/build

Using kernel source files from  /lib/modules/2.6.32-573.el6.x86_64/build

Building driver for BSP with name a10_ref

make: Entering directory `/usr/src/kernels/2.6.32-573.el6.x86_64'

  CC [M]  /tmp/opencl_driver_iFFFg0/aclpci_queue.o

  CC [M]  /tmp/opencl_driver_iFFFg0/aclpci.o

  CC [M]  /tmp/opencl_driver_iFFFg0/aclpci_fileio.o

  CC [M]  /tmp/opencl_driver_iFFFg0/aclpci_dma.o

  CC [M]  /tmp/opencl_driver_iFFFg0/aclpci_pr.o

  CC [M]  /tmp/opencl_driver_iFFFg0/aclpci_cmd.o

In file included from /tmp/opencl_driver_iFFFg0/aclpci_cmd.c:53:

include/linux/aer.h:38: warning: \u2018struct pci_dev\u2019 declared inside parameter list

include/linux/aer.h:38: warning: its scope is only this definition or declaration, which is probably not what you want

include/linux/aer.h:39: warning: \u2018struct pci_dev\u2019 declared inside parameter list

include/linux/aer.h:40: warning: \u2018struct pci_dev\u2019 declared inside parameter list

include/linux/aer.h:57: warning: \u2018struct pci_dev\u2019 declared inside parameter list

 LD [M]  /tmp/opencl_driver_iFFFg0/aclpci_a10_ref_drv.o

  Building modules, stage 2.

  MODPOST 1 modules

  CC      /tmp/opencl_driver_iFFFg0/aclpci_a10_ref_drv.mod.o

  LD [M]  /tmp/opencl_driver_iFFFg0/aclpci_a10_ref_drv.ko.unsigned

  NO SIGN [M] /tmp/opencl_driver_iFFFg0/aclpci_a10_ref_drv.ko

make: Leaving directory `/usr/src/kernels/2.6.32-573.el6.x86_64'

Updated 5 days ago
Version 3.0
No CommentsBe the first to comment