<?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:DPL 2021.7.0 env script cause environment-modules module load fail in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPL-2021-7-0-env-script-cause-environment-modules-module-load/m-p/1408809#M2438</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We assume that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Hemanth&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 17 Aug 2022 10:19:02 GMT</pubDate>
    <dc:creator>HemanthCH_Intel</dc:creator>
    <dc:date>2022-08-17T10:19:02Z</dc:date>
    <item>
      <title>DPL 2021.7.0 env script cause environment-modules module load fail</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPL-2021-7-0-env-script-cause-environment-modules-module-load/m-p/1404940#M2405</link>
      <description>&lt;P&gt;RHEL 9.0, Installed l_BaseKit_p_2022.2.0.262_offline.sh.&lt;/P&gt;
&lt;P&gt;Create a modulefile oneapi2022&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;#%Module

module-whatis "Intel oneAPI 2022"

conflict intel/oneapi

source-sh bash /opt/intel/oneapi/2022/setvars.sh&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then run&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;module load oneapi2022&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I get a error&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;-bash: syntax error near unexpected token `done'&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I comment the function &lt;STRONG&gt;rreadlink()&lt;/STRONG&gt; in file /opt/intel/oneapi/2022/dpl/2021.7.0/env/vars.sh.&lt;/P&gt;
&lt;P&gt;The problem disappeared.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, what caused this problem, the function &lt;STRONG&gt;rreadlink()&lt;/STRONG&gt; or environment-modules？&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jul 2022 10:37:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPL-2021-7-0-env-script-cause-environment-modules-module-load/m-p/1404940#M2405</guid>
      <dc:creator>Quanm</dc:creator>
      <dc:date>2022-07-31T10:37:37Z</dc:date>
    </item>
    <item>
      <title>Re:DPL 2021.7.0 env script cause environment-modules module load fail</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPL-2021-7-0-env-script-cause-environment-modules-module-load/m-p/1405097#M2411</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for posting in Intel communities.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, RHEL 9 is not supported by Intel oneAPI Base Toolkit. Could you please refer to the below link to find the supported OS of the Intel oneAPI Base Toolkit:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/developer/articles/system-requirements/intel-oneapi-base-toolkit-system-requirements.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/developer/articles/system-requirements/intel-oneapi-base-toolkit-system-requirements.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you please try with any one of the supported OS?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Hemanth&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Aug 2022 11:17:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPL-2021-7-0-env-script-cause-environment-modules-module-load/m-p/1405097#M2411</guid>
      <dc:creator>HemanthCH_Intel</dc:creator>
      <dc:date>2022-08-01T11:17:20Z</dc:date>
    </item>
    <item>
      <title>Re:DPL 2021.7.0 env script cause environment-modules module load fail</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPL-2021-7-0-env-script-cause-environment-modules-module-load/m-p/1407072#M2421</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We haven't heard back from you. Could you please provide any updates on your issue?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Hemanth&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Aug 2022 10:29:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPL-2021-7-0-env-script-cause-environment-modules-module-load/m-p/1407072#M2421</guid>
      <dc:creator>HemanthCH_Intel</dc:creator>
      <dc:date>2022-08-09T10:29:39Z</dc:date>
    </item>
    <item>
      <title>Re:DPL 2021.7.0 env script cause environment-modules module load fail</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPL-2021-7-0-env-script-cause-environment-modules-module-load/m-p/1408809#M2438</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We assume that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Hemanth&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Aug 2022 10:19:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPL-2021-7-0-env-script-cause-environment-modules-module-load/m-p/1408809#M2438</guid>
      <dc:creator>HemanthCH_Intel</dc:creator>
      <dc:date>2022-08-17T10:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: DPL 2021.7.0 env script cause environment-modules module load fail</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPL-2021-7-0-env-script-cause-environment-modules-module-load/m-p/1561444#M3487</link>
      <description>&lt;P&gt;Arrived here by searching for the same error (with oneapi 2021 and 2024). The problem seems to come from the environment-modules source-sh and sh-to-mod tools.&lt;/P&gt;&lt;P&gt;Generating modulefile with&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;module sh-to-mod bash /share/compilers/intel/2021/setvars.sh &amp;gt; oneapi/2021.0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then loading the module gives&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;-bash: syntax error near unexpected token `done'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Editing the rreadlink() function in the modulefile as follows&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;275c275
&amp;lt;         \unset -f command
---
&amp;gt;         \unset -f command;
281c281
&amp;lt;             return 1
---
&amp;gt;             return 1;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;solves the problem. Same for 2024.0 (different line numbers)&lt;/P&gt;&lt;P&gt;The original rreadcheck() function from Intel's script has the missing semicolons, so I guess it's a bug in&amp;nbsp;environment-modules.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 11:59:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPL-2021-7-0-env-script-cause-environment-modules-module-load/m-p/1561444#M3487</guid>
      <dc:creator>jangmys</dc:creator>
      <dc:date>2024-01-10T11:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: DPL 2021.7.0 env script cause environment-modules module load fail</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPL-2021-7-0-env-script-cause-environment-modules-module-load/m-p/1563491#M3490</link>
      <description>&lt;P&gt;This environment-modules issue &lt;A href="https://github.com/cea-hpc/modules/commit/b8099c25e7ffe6003ee0aac0480e8b7331b78cbd" target="_self"&gt;has been fixed&lt;/A&gt; in version 5.1.0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;environment-modules 5.3.0 is now available on RHEL 9. Updating environment-modules will fix your issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Xavier&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 07:00:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/DPL-2021-7-0-env-script-cause-environment-modules-module-load/m-p/1563491#M3490</guid>
      <dc:creator>xdelaruelle</dc:creator>
      <dc:date>2024-01-17T07:00:16Z</dc:date>
    </item>
  </channel>
</rss>

