<?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 Re: Intel oneAPI setvars.sh does not work for not root user oneAPI 2022.1.0 (2022.1.0.20220316) in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Intel-oneAPI-setvars-sh-does-not-work-for-not-root-user-oneAPI/m-p/1409015#M2442</link>
    <description>&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/235330"&gt;@SeshaP_Intel&lt;/a&gt;&amp;nbsp; Any updates ?&lt;/P&gt;</description>
    <pubDate>Thu, 18 Aug 2022 04:54:24 GMT</pubDate>
    <dc:creator>AnandKulkarniSG</dc:creator>
    <dc:date>2022-08-18T04:54:24Z</dc:date>
    <item>
      <title>Intel oneAPI setvars.sh does not work for not root user oneAPI 2022.1.0 (2022.1.0.20220316)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Intel-oneAPI-setvars-sh-does-not-work-for-not-root-user-oneAPI/m-p/1407349#M2425</link>
      <description>&lt;P&gt;I setup oneAPI&amp;nbsp;2022.1.0 (2022.1.0.20220316) on my fedora 31 distribution in path /opt/intel/ via offline method and deployed the installation as a root user.&amp;nbsp; I want to be able to setup the dev env and used the&amp;nbsp;source /opt/intel/oneapi/setvars.sh intel64 as well as&amp;nbsp;source /opt/intel/oneapi/setvars.sh to no effect. Both throw error from script ( log details attached ).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As a root user if i run the same commands it works ( details in log again ).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a simple guide/command for non root users to import the setvars.sh settings ? I have to manually otherwise do the below currently to be able to use tbb and dpcpp ( via my .bashrc settings as a non root user ).&lt;/P&gt;
&lt;P&gt;# setup intel oneapi pstl,tbb and c++ development env.&lt;BR /&gt;export INTEL_ONEAPI_PATH=/opt/intel&lt;BR /&gt;export INTEL_ARCH=intel64&lt;BR /&gt;source ${INTEL_ONEAPI_PATH}/oneapi/compiler/latest/env/vars.sh $INTEL_ARCH&lt;BR /&gt;source ${INTEL_ONEAPI_PATH}/oneapi/dpl/2021.7.0/env/vars.sh $INTEL_ARCH&lt;BR /&gt;source ${INTEL_ONEAPI_PATH}/oneapi/tbb/2021.6.0/env/vars.sh $INTEL_ARCH&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 11:27:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Intel-oneAPI-setvars-sh-does-not-work-for-not-root-user-oneAPI/m-p/1407349#M2425</guid>
      <dc:creator>AnandKulkarniSG</dc:creator>
      <dc:date>2022-08-10T11:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Intel oneAPI setvars.sh does not work for not root user oneAPI 2022.1.0 (2022.1.0.20220316)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Intel-oneAPI-setvars-sh-does-not-work-for-not-root-user-oneAPI/m-p/1407370#M2426</link>
      <description>&lt;P&gt;Please don't reply to this thread saying fedora 31 isn't supported. This issue is at the script/bash level and hence whether it is fc31 or fc35 doesn't matter. Also, it works under the root user id but does not work under a nonroot regular developer user id.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 13:58:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Intel-oneAPI-setvars-sh-does-not-work-for-not-root-user-oneAPI/m-p/1407370#M2426</guid>
      <dc:creator>AnandKulkarniSG</dc:creator>
      <dc:date>2022-08-10T13:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: Intel oneAPI setvars.sh does not work for not root user oneAPI 2022.1.0 (2022.1.0.20220316)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Intel-oneAPI-setvars-sh-does-not-work-for-not-root-user-oneAPI/m-p/1407832#M2433</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for posting in Intel Communities.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please try the below command to execute for normal users(non-root users).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;export INTEL_ONEAPI_PATH=/opt/intel
. ${INTEL_ONEAPI_PATH}/oneapi/setvars.sh&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer to the below link for more details.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/develop/documentation/get-started-with-intel-oneapi-dlfd-linux/top/before-you-begin.html" target="_blank" rel="noopener"&gt;https://www.intel.com/content/www/us/en/develop/documentation/get-started-with-intel-oneapi-dlfd-linux/top/before-you-begin.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and Regards,&lt;/P&gt;
&lt;P&gt;Pendyala Sesha Srinivas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2022 06:35:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Intel-oneAPI-setvars-sh-does-not-work-for-not-root-user-oneAPI/m-p/1407832#M2433</guid>
      <dc:creator>SeshaP_Intel</dc:creator>
      <dc:date>2022-08-12T06:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Intel oneAPI setvars.sh does not work for not root user oneAPI 2022.1.0 (2022.1.0.20220316)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Intel-oneAPI-setvars-sh-does-not-work-for-not-root-user-oneAPI/m-p/1408018#M2437</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AnandKulkarniSG_0-1660355919088.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/32575i55818733FB3D629F/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="AnandKulkarniSG_0-1660355919088.png" alt="AnandKulkarniSG_0-1660355919088.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps. It does not work. period!&lt;/P&gt;</description>
      <pubDate>Sat, 13 Aug 2022 01:58:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Intel-oneAPI-setvars-sh-does-not-work-for-not-root-user-oneAPI/m-p/1408018#M2437</guid>
      <dc:creator>AnandKulkarniSG</dc:creator>
      <dc:date>2022-08-13T01:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Intel oneAPI setvars.sh does not work for not root user oneAPI 2022.1.0 (2022.1.0.20220316)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Intel-oneAPI-setvars-sh-does-not-work-for-not-root-user-oneAPI/m-p/1409015#M2442</link>
      <description>&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/235330"&gt;@SeshaP_Intel&lt;/a&gt;&amp;nbsp; Any updates ?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 04:54:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Intel-oneAPI-setvars-sh-does-not-work-for-not-root-user-oneAPI/m-p/1409015#M2442</guid>
      <dc:creator>AnandKulkarniSG</dc:creator>
      <dc:date>2022-08-18T04:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Intel oneAPI setvars.sh does not work for not root user oneAPI 2022.1.0 (2022.1.0.20220316)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Intel-oneAPI-setvars-sh-does-not-work-for-not-root-user-oneAPI/m-p/1409538#M2445</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not sure what happened at your end, but it worked from my end.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2022 23:25:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Intel-oneAPI-setvars-sh-does-not-work-for-not-root-user-oneAPI/m-p/1409538#M2445</guid>
      <dc:creator>Viet_H_Intel</dc:creator>
      <dc:date>2022-08-19T23:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Intel oneAPI setvars.sh does not work for not root user oneAPI 2022.1.0 (2022.1.0.20220316)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Intel-oneAPI-setvars-sh-does-not-work-for-not-root-user-oneAPI/m-p/1409589#M2447</link>
      <description>&lt;P&gt;Does seem very odd. Anyway we can close this issue , i have work around by manually importing setting for each component as discussed above. I will live with that meanwhile.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Aug 2022 13:53:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Intel-oneAPI-setvars-sh-does-not-work-for-not-root-user-oneAPI/m-p/1409589#M2447</guid>
      <dc:creator>AnandKulkarniSG</dc:creator>
      <dc:date>2022-08-20T13:53:44Z</dc:date>
    </item>
    <item>
      <title>Re:Intel oneAPI setvars.sh does not work for not root user oneAPI 2022.1.0 (2022.1.0.20220316)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Intel-oneAPI-setvars-sh-does-not-work-for-not-root-user-oneAPI/m-p/1409841#M2453</link>
      <description>&lt;P&gt;Thank for accepted a solution. We won't monitor this thread anymore. If you have any other questions/concerns, please create a new thread.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Aug 2022 11:12:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Intel-oneAPI-setvars-sh-does-not-work-for-not-root-user-oneAPI/m-p/1409841#M2453</guid>
      <dc:creator>Viet_H_Intel</dc:creator>
      <dc:date>2022-08-22T11:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Intel oneAPI setvars.sh does not work for not root user oneAPI 2022.1.0 (2022.1.0.20220316)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Intel-oneAPI-setvars-sh-does-not-work-for-not-root-user-oneAPI/m-p/1410536#M2455</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AnandKulkarniSG_0-1661387329591.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/32848iBE06896421BB2560/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="AnandKulkarniSG_0-1661387329591.png" alt="AnandKulkarniSG_0-1661387329591.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See if this makes any sense at all. I finally solved it with the help of article :&amp;nbsp;&lt;A href="https://community.intel.com/t5/Intel-C-Compiler/How-to-use-zsh-csh-or-tcsh-with-oneAPI-setvars-sh-vars-sh-or/m-p/1227218/thread-id/37878" target="_blank"&gt;https://community.intel.com/t5/Intel-C-Compiler/How-to-use-zsh-csh-or-tcsh-with-oneAPI-setvars-sh-vars-sh-or/m-p/1227218/thread-id/37878&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;anand@ldnpsr2937 ~]$source ${INTEL_ONEAPI_PATH}/oneapi/setvars.sh ${INTEL_ARCH}&lt;BR /&gt;bash: /opt/intel/oneapi/setvars.sh: line 95: syntax error near unexpected token `('&lt;BR /&gt;bash: /opt/intel/oneapi/setvars.sh: line 95: `usage() {'&lt;BR /&gt;[anand@ldnpsr2937 ~]$source /opt/intel/oneapi/setvars.sh intel64&lt;BR /&gt;bash: /opt/intel/oneapi/setvars.sh: line 95: syntax error near unexpected token `('&lt;BR /&gt;bash: /opt/intel/oneapi/setvars.sh: line 95: `usage() {'&lt;BR /&gt;[anand@ldnpsr2937 ~]$bash -c "source /opt/intel/oneapi/setvars.sh intel64"&lt;BR /&gt;&lt;BR /&gt;:: initializing oneAPI environment ...&lt;BR /&gt;bash: BASH_VERSION = 5.0.17(1)-release&lt;BR /&gt;args: Using "$@" for setvars.sh arguments: intel64&lt;BR /&gt;:: advisor -- latest&lt;BR /&gt;:: ccl -- latest&lt;BR /&gt;:: compiler -- latest&lt;BR /&gt;:: dal -- latest&lt;BR /&gt;:: debugger -- latest&lt;BR /&gt;:: dev-utilities -- latest&lt;BR /&gt;:: dnnl -- latest&lt;BR /&gt;:: dpcpp-ct -- latest&lt;BR /&gt;:: dpl -- latest&lt;BR /&gt;:: intelpython -- latest&lt;BR /&gt;:: ipp -- latest&lt;BR /&gt;:: ippcp -- latest&lt;BR /&gt;:: ipp -- latest&lt;BR /&gt;:: mkl -- latest&lt;BR /&gt;:: mpi -- latest&lt;BR /&gt;:: tbb -- latest&lt;BR /&gt;:: vpl -- latest&lt;BR /&gt;:: vtune -- latest&lt;BR /&gt;:: oneAPI environment initialized ::&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 00:30:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/Intel-oneAPI-setvars-sh-does-not-work-for-not-root-user-oneAPI/m-p/1410536#M2455</guid>
      <dc:creator>AnandKulkarniSG</dc:creator>
      <dc:date>2022-08-25T00:30:25Z</dc:date>
    </item>
  </channel>
</rss>

