<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Hi Daniel, in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/Driver-and-SDK-installation-without-sudo/m-p/1156006#M6181</link>
    <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;

&lt;P&gt;Installation and use of the Intel OpenCL GPU driver will require root permissions at two steps. &amp;nbsp;First, since a patched version of a default Linux kernel must be compiled, installation requires root permissions. &amp;nbsp;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). &amp;nbsp;(Any OpenCL vendor that use an unmodified, Khronos client library will also have this same requirement for their configuration file.)&lt;/P&gt;

&lt;P&gt;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&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;&lt;A href="https://github.com/KhronosGroup/OpenCL-ICD-Loader" target="_blank"&gt;https://github.com/KhronosGroup/OpenCL-ICD-Loader&lt;/A&gt;&lt;/LI&gt;
	&lt;LI&gt;&lt;A href="https://github.com/KhronosGroup/OpenCL-Headers" target="_blank"&gt;https://github.com/KhronosGroup/OpenCL-Headers&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;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. &amp;nbsp;The GPU OpenCL driver, libigdrcl.so, should be removed since the Linux kernel wouldn't have the proper patches. &amp;nbsp;&lt;SPAN style="font-size: 1em;"&gt;Using the strace utility is highly recommended to uncover any issues.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;My recommendation, however, is to obtain the necessary sudo permissions to your installed OS.&lt;/P&gt;

&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Mon, 31 Jul 2017 18:04:15 GMT</pubDate>
    <dc:creator>Paul_K_Intel1</dc:creator>
    <dc:date>2017-07-31T18:04:15Z</dc:date>
    <item>
      <title>Driver and SDK installation (without sudo)</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Driver-and-SDK-installation-without-sudo/m-p/1156005#M6180</link>
      <description>&lt;P&gt;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 &lt;STRONG&gt;sudo&lt;/STRONG&gt; privileges. Is it posible?&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I read the notes, guides and releases notes but they always occupy sudo in some parts, for example, in driver installation like:&lt;/P&gt;

&lt;P&gt;mkdir intel-opencl&lt;BR /&gt;
	tar -C intel-opencl -Jxf intel-opencl-r4.0-BUILD_ID.x86_64.tar.xz&lt;BR /&gt;
	tar -C intel-opencl -Jxf intel-opencl-devel-r4.0-BUILD_ID.x86_64.tar.xz&lt;BR /&gt;
	tar -C intel-opencl -Jxf intel-opencl-cpu-r4.0-BUILD_ID.x86_64.tar.xz&lt;BR /&gt;
	&lt;EM&gt;&lt;STRONG&gt;sudo&lt;/STRONG&gt; cp -R intel-opencl/* /&lt;/EM&gt;&lt;BR /&gt;
	&lt;EM&gt;&lt;STRONG&gt;sudo&lt;/STRONG&gt; ldconfig&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;How can I configure properly that?&lt;/P&gt;

&lt;P&gt;Note: I can install correctly all in my Laptop with "sudo" permissions :)&lt;/P&gt;

&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2017 23:14:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Driver-and-SDK-installation-without-sudo/m-p/1156005#M6180</guid>
      <dc:creator>daniel_q_</dc:creator>
      <dc:date>2017-07-27T23:14:18Z</dc:date>
    </item>
    <item>
      <title>Hi Daniel,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Driver-and-SDK-installation-without-sudo/m-p/1156006#M6181</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;

&lt;P&gt;Installation and use of the Intel OpenCL GPU driver will require root permissions at two steps. &amp;nbsp;First, since a patched version of a default Linux kernel must be compiled, installation requires root permissions. &amp;nbsp;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). &amp;nbsp;(Any OpenCL vendor that use an unmodified, Khronos client library will also have this same requirement for their configuration file.)&lt;/P&gt;

&lt;P&gt;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&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;&lt;A href="https://github.com/KhronosGroup/OpenCL-ICD-Loader" target="_blank"&gt;https://github.com/KhronosGroup/OpenCL-ICD-Loader&lt;/A&gt;&lt;/LI&gt;
	&lt;LI&gt;&lt;A href="https://github.com/KhronosGroup/OpenCL-Headers" target="_blank"&gt;https://github.com/KhronosGroup/OpenCL-Headers&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;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. &amp;nbsp;The GPU OpenCL driver, libigdrcl.so, should be removed since the Linux kernel wouldn't have the proper patches. &amp;nbsp;&lt;SPAN style="font-size: 1em;"&gt;Using the strace utility is highly recommended to uncover any issues.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;My recommendation, however, is to obtain the necessary sudo permissions to your installed OS.&lt;/P&gt;

&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2017 18:04:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Driver-and-SDK-installation-without-sudo/m-p/1156006#M6181</guid>
      <dc:creator>Paul_K_Intel1</dc:creator>
      <dc:date>2017-07-31T18:04:15Z</dc:date>
    </item>
    <item>
      <title>Hi Paul :),</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Driver-and-SDK-installation-without-sudo/m-p/1156007#M6182</link>
      <description>&lt;P&gt;Hi Paul :),&lt;/P&gt;

&lt;P&gt;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).&lt;/P&gt;

&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2017 19:43:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Driver-and-SDK-installation-without-sudo/m-p/1156007#M6182</guid>
      <dc:creator>daniel_q_</dc:creator>
      <dc:date>2017-07-31T19:43:16Z</dc:date>
    </item>
    <item>
      <title>Hi Paul,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Driver-and-SDK-installation-without-sudo/m-p/1156008#M6183</link>
      <description>&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;Can you please give more information on how to do this?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 15:00:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Driver-and-SDK-installation-without-sudo/m-p/1156008#M6183</guid>
      <dc:creator>Romero__Marcos</dc:creator>
      <dc:date>2019-11-20T15:00:03Z</dc:date>
    </item>
  </channel>
</rss>

