Installing OpenCL SDK in non-default directory

Installing OpenCL SDK in non-default directory

Аватар пользователя swienke

Hello,

to distribute the OpenCL SDK to our compute cluster, we want to create a module for it. However, we have some trouble to establish a correct environment: We relocated the installation to another directory. For compilation we set explicitly the include path to the include folder in INTELOCLSDKROOT (intel/OpenCL/1.5-15293/include) and the link path to the lib64 folder in INTELOCLSDKROOT (..intel/OpenCL/1.5-15293/lib64). Additionally, we added LD_LIBRARY_PATH by ..intel/OpenCL/1.5-15293/lib64.

Now, compilation and linkage works. However, the program does not find an appropriate Intel platform (clgetplatformids returns with error code 1001), although the hardware is supported for the Intel OpenCL SDK.

Did we miss some environment variables? We appriciate any hints!

Thanks,

Sandra

2 posts / 0 новое
Последнее сообщение
Пожалуйста, обратитесь к странице Уведомление об оптимизации для более подробной информации относительно производительности и оптимизации в программных продуктах компании Intel.
Аватар пользователя Yuri Kulakov (Intel)

Hi,

Please look at /etc/OpenCL/vendors/intelocl64.icd file. The only string in this file is the location of libintelocl.so library. Modify it to point to the correct location, something like /full/path/intel/OpenCL/1.5-15293/lib64/libintelocl.so.

Thanks,
Yuri

Зарегистрируйтесь, чтобы оставить комментарий.