Forum Discussion
Hi
a10_1150 is installed , as per the commands that are installed , so while diagnosis it is searching for a10_ref so file , where to edit the environmental variables
echo $AOCL_BOARD_PACKAGE_ROOT/
/opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_1150_sg1/
root@tata:~# aocl install
Do you want to install /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_1150_sg1? [y/n] y
aocl install: Adding the board package /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_1150_sg1 to the list of installed pckages
aocl install: Setting up FCD
aocl install: Running install from /opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_1150_sg1/linux64/libexec
Looking for kernel source files in /lib/modules/4.15.0-70-generic/build
Using kernel source files from /lib/modules/4.15.0-70-generic/build
Building driver for BSP with name a10_1150_sg1
make: Entering directory '/usr/src/linux-headers-4.15.0-70-generic'
CC [M] /tmp/opencl_driver_zVe9aV/aclpci_queue.o
CC [M] /tmp/opencl_driver_zVe9aV/aclpci.o
CC [M] /tmp/opencl_driver_zVe9aV/aclpci_fileio.o
CC [M] /tmp/opencl_driver_zVe9aV/aclpci_dma.o
CC [M] /tmp/opencl_driver_zVe9aV/aclpci_pr.o
CC [M] /tmp/opencl_driver_zVe9aV/aclpci_cmd.o
LD [M] /tmp/opencl_driver_zVe9aV/aclpci_a10_1150_sg1_drv.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/opencl_driver_zVe9aV/aclpci_a10_1150_sg1_drv.mod.o
LD [M] /tmp/opencl_driver_zVe9aV/aclpci_a10_1150_sg1_drv.ko
make: Leaving directory '/usr/src/linux-headers-4.15.0-70-generic'
root@tata:~# aocl diagnose
/opt/intelFPGA_pro/18.1/hld/board/a10_ref/linux64/libexec/diagnose: error while loading shared libraries: libaltera_a10_ref_mmd.so: cannot open shared object file: No such file or directory
--------------------------------------------------------------------
Warning:
No devices attached for package:
/opt/intelFPGA_pro/18.1/hld/board/a10_ref
--------------------------------------------------------------------
/opt/intelFPGA_pro/18.1/hld/board/a10_ref/linux64/libexec/diagnose: error while loading shared libraries: libaltera_a10_ref_mmd.so: cannot open shared object file: No such file or directory
--------------------------------------------------------------------
--------------------------------------------------------------------
Warning:
No devices attached for package:
/opt/altera/aocl-pro-rte/aclrte-linux64/board/a10_1150_sg1
--------------------------------------------------------------------
Vendor: Intel(R) Corporation
Found no active device installed on the host machine.
Please make sure to:
1. Set the environment variable AOCL_BOARD_PACKAGE_ROOT to the correct board package.
2. Install the driver from the selected board package.
3. Properly install the device in the host machine.
4. Configure the device with a supported OpenCL design.
5. Reboot the machine if the PCI Express link failed.
DIAGNOSTIC_FAILED
--------------------------------------------------------------------
--------------------------------------------------------------------
Warning:
No devices attached for package:
/home/tata/Sharath/hddlf_1150_sg1
--------------------------------------------------------------------
--------------------------------------------------------------------
Call "aocl diagnose <device-names>" to run diagnose for specified devices
Call "aocl diagnose all" to run diagnose for all devices
CURRENT VARIABLES IN BASHRC
####intel openvino###
export INTELFPGAOCLSDKROOT="/opt/intelFPGA_pro/18.1/hld"
export QSYS_ROOTDIR="/home/tata/intelFPGA_pro/18.1/qsys/bin"
export PATH=/home/tata/intelFPGA_pro/18.1/quartus/bin:$PATH
source /opt/intel/openvino/bin/setupvars.sh
export PATH=/opt/intelFPGA_pro/18.1/quartus/bin:$PATH
#opencl via openvino
export PATH=/opt/intelFPGA_pro/18.1/hld/bin:$PATH
source $INTELFPGAOCLSDKROOT/init_opencl.sh