Hi, i'm trying to Getting Started with OpenCL (https://software.intel.com/en-us/articles/sdk-for-opencl-gsg) and I've to install it on a PC with an account without sudo privileges. Is it posible?
I read the notes, guides and releases notes but they always occupy sudo in some parts, for example, in driver installation like:
tar -C intel-opencl -Jxf intel-opencl-r4.0-BUILD_ID.x86_64.tar.xz
tar -C intel-opencl -Jxf intel-opencl-devel-r4.0-BUILD_ID.x86_64.tar.xz
tar -C intel-opencl -Jxf intel-opencl-cpu-r4.0-BUILD_ID.x86_64.tar.xz
sudo cp -R intel-opencl/* /
How can I configure properly that?
Note: I can install correctly all in my Laptop with "sudo" permissions :)
Installation and use of the Intel OpenCL GPU driver will require root permissions at two steps. First, since a patched version of a default Linux kernel must be compiled, installation requires root permissions. Second, the Khronos ICD client library, libOpenCL.so, searches the directory /etc/OpenCL/vendor for all *.icd files, so creating the intel.icd configuration file also requires root permissions (this is the step your post mentioned). (Any OpenCL vendor that use an unmodified, Khronos client library will also have this same requirement for their configuration file.)
Although installation using our documented steps is the only method we support, it is possible to limit your configuration to the Intel CPU OpenCL driver by downloading and modifying the client library available on github.com at
By altering the vendorPath in icd_linux.c to a non-privileged directory, compiling a new libOpenCL.so library, replacing the Khronos version supplied in the Intel SDK, and properly setting LD_LIBRARY_PATH at the user-account (or current environment) level will eliminate the need for the ldconfig step. The GPU OpenCL driver, libigdrcl.so, should be removed since the Linux kernel wouldn't have the proper patches. Using the strace utility is highly recommended to uncover any issues.
My recommendation, however, is to obtain the necessary sudo permissions to your installed OS.
Hi Paul :),
Thanks for your response and your recommendations. That sounds so troublesome for a newbie in the field XD, but in some moment maybe I will try that. By the moment I will request root permissions then (like in my own machine).