Altera_Forum
Honored Contributor
10 years agoOpenCL ICD Linux Problem
I am having trouble getting the ICD to function properly for loading the Altera OpenCL library (.so). When running simple OpenCL host code on a CentOS 2.6 environment, I get a message similar to the following:
./print-devices: /opt/altera/15.0/hld/linux64/lib/libOpenCL.so.1: no version information available (required by ./print-devices)
./print-devices: symbol lookup error: /opt/altera/15.0/hld/linux64/lib/libOpenCL.so.1: undefined symbol: dlopen I have tried modifying the Altera.icd to have both the library name (libalteracl.so) and absolute path. In regards to libOpenCL.so.1, which is what the error message above is complaining about, here is the output of ldd: linux-vdso.so.1 => (0x00007fffe868a000)
libc.so.6 => /lib64/libc.so.6 (0x00007f282a60d000)
/lib64/ld-linux-x86-64.so.2 (0x0000003845a00000)
In my current setup, I can use the Intel ICD and NVIDIA ICD successfully. I can compile and link to the Altera library manually, but would like to utilize the ICD in the same way as Intel and NVIDIA. Has anyone run into similar issues? Has anyone had success using the ICD?