Forum Discussion
Altera_Forum
Honored Contributor
8 years agoBack to a10gx installation. Got my RedHat 7.3 workstation. All variables, which worked in Ubuntu copied to this setup and edited accordingly. When running 'aocl install' getting the following:
$ aocl install aocl install: Running install from /home/usd16869/intelFPGA_pro/17.0/hld/board/a10_ref/linux64/libexec Looking for kernel source files in /lib/modules/3.10.0-514.el7.x86_64/build Using kernel source files from /lib/modules/3.10.0-514.el7.x86_64/build Building driver for BSP with name a10_ref make: Entering directory `/usr/src/kernels/3.10.0-514.el7.x86_64' CC [M] /tmp/opencl_driver_0Vk6Yp/aclpci_queue.o CC [M] /tmp/opencl_driver_0Vk6Yp/aclpci.o CC [M] /tmp/opencl_driver_0Vk6Yp/aclpci_fileio.o CC [M] /tmp/opencl_driver_0Vk6Yp/aclpci_dma.o CC [M] /tmp/opencl_driver_0Vk6Yp/aclpci_pr.o CC [M] /tmp/opencl_driver_0Vk6Yp/aclpci_cmd.o LD [M] /tmp/opencl_driver_0Vk6Yp/aclpci_a10_ref_drv.o Building modules, stage 2. MODPOST 1 modules CC /tmp/opencl_driver_0Vk6Yp/aclpci_a10_ref_drv.mod.o LD [M] /tmp/opencl_driver_0Vk6Yp/aclpci_a10_ref_drv.ko make: Leaving directory `/usr/src/kernels/3.10.0-514.el7.x86_64' [sudo] password for usd16869: Couldn't create directory '/opt/Intel' ERROR: Permission denied 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. 'aoc --list-boards' command sees the board. i tried to change permission to the entire 'intelFPGA_pro' directory tree, but got similar result. Also, as suggested in the aocl_programming_guide' edited the makefile in the board/a10_ref/source directory to include the following: AOCL_LDFLAGS=$(shell aocl ldflags) AOCL_LDLIBS=$(shell aocl ldlibs) host_prog : host_prog.o g++ -o host_prog host_prog.o $(AOCL_LDFLAGS) -lOpenCL $(AOCL_LDLIBS) Still the same error. What can be wrong now? Thanks!