<?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:Bug with setvars.sh in latest version (or a subscript) in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1436370#M10108</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I would like to share a few observations with you.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Method 1:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Step1:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;When I source the setvars.sh script of Intel oneAPI 2022.3 and&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;echo $1 ; echo $2 ; echo $9&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I am getting nothing&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Step2:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Later I am forcing the setvars.sh script of Intel onaeAPI 2022.3 and&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;echo $1 ; echo $2 ; echo $9&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I am getting nothing&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Method2:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;When I follow the same method1 with Intel oneAPI 2022.2 and&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;echo $1 ; echo $2 ; echo $9&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;In Step1 I am getting nothing&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;But in Step2 I am getting&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;advisor=latest&lt;/P&gt;&lt;P&gt;ccl=latest&lt;/P&gt;&lt;P&gt;dpcpp-ct=latest&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As we are unable to reproduce the issue with the latest version(2022.3). Could you please confirm the Intel oneAPI version you have been using?&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;Shivani&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 07 Dec 2022 06:07:06 GMT</pubDate>
    <dc:creator>ShivaniK_Intel</dc:creator>
    <dc:date>2022-12-07T06:07:06Z</dc:date>
    <item>
      <title>Bug with setvars.sh in latest version (or a subscript)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1418323#M9877</link>
      <description>&lt;P&gt;I downloaded and installed yesterday the latest base and HPC toolkits. I noticed today a bug in one or more of the scripts. After "source /opt/intel/oneapi/setvars.sh" (using --force does not matter), I am getting for "echo $1 ; echo $2 ; echo $9" (or similar)&lt;/P&gt;
&lt;P&gt;advisor=latest&lt;BR /&gt;ccl=latest&lt;BR /&gt;dpl=latest&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In other words the values that would be printed out are being exported into my environment, which is obviously not what I want!&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 14:19:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1418323#M9877</guid>
      <dc:creator>L__D__Marks</dc:creator>
      <dc:date>2022-09-29T14:19:59Z</dc:date>
    </item>
    <item>
      <title>Re:Bug with setvars.sh in latest version (or a subscript)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1418631#M9880</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 the Intel forums.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you please provide us with the details of the OS you have been using?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you also please provide the steps you have followed to reproduce the error ?&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;Shivani&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Sep 2022 10:42:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1418631#M9880</guid>
      <dc:creator>ShivaniK_Intel</dc:creator>
      <dc:date>2022-09-30T10:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Bug with setvars.sh in latest version (or a subscript)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1418634#M9881</link>
      <description>&lt;P&gt;Standard bash/linux&lt;/P&gt;
&lt;P&gt;[ldm@head PtF]$ bash --version&lt;BR /&gt;GNU bash, version 4.2.46(2)-release (x86_64-redhat-linux-gnu)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;The steps are in the original email -- conventional source of the file, nothing Nivel.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 10:52:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1418634#M9881</guid>
      <dc:creator>L__D__Marks</dc:creator>
      <dc:date>2022-09-30T10:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: Bug with setvars.sh in latest version (or a subscript)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1418636#M9882</link>
      <description>&lt;P&gt;Nothing novel ...&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2022 11:00:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1418636#M9882</guid>
      <dc:creator>L__D__Marks</dc:creator>
      <dc:date>2022-09-30T11:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Bug with setvars.sh in latest version (or a subscript)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1419533#M9894</link>
      <description>&lt;P&gt;For reference, the "cure" (which I don't like) is to use in .bashrc&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;var="$@"&lt;BR /&gt;source /opt/intel/oneapi/setvars.sh --force &amp;gt; /dev/null&lt;BR /&gt;eval set -- $var&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This then over-rides the incorrect setting of $1 $2 etc by the setvars.sh.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;N.B. I tried to find where these where being set, but failed; my bash is not good enough.&lt;/P&gt;
&lt;P&gt;N.N.B., Before someone asks, the "--force" is needed as some commands do not propogate environments and .bashrc has to be sourced a second time for safety. So it goes.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2022 21:24:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1419533#M9894</guid>
      <dc:creator>L__D__Marks</dc:creator>
      <dc:date>2022-10-04T21:24:07Z</dc:date>
    </item>
    <item>
      <title>Re:Bug with setvars.sh in latest version (or a subscript)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1419945#M9899</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you please let us know whether you want to use any specific component of Intel oneAPI or else all the components of Intel oneAPI ?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; " I noticed today a bug in one or more of the scripts"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you please let us know the bug you are referring to?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; "In other words, the values that would be printed out are being exported into my environment, which is obviously not what I want!"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;When we execute setvars script, it would configure the local environment variables to reflect the needs of the installed Intel oneAPI&amp;nbsp;&lt;/P&gt;&lt;P&gt;development tools.&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;Shivani&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Oct 2022 09:13:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1419945#M9899</guid>
      <dc:creator>ShivaniK_Intel</dc:creator>
      <dc:date>2022-10-06T09:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Bug with setvars.sh in latest version (or a subscript)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1419968#M9900</link>
      <description>&lt;P&gt;Please read my previous email, where your question is already answered!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As stated previously, the setvars.sh script sets $1, $2...$9. It should not do this. My patch resets these but should not be needed. There is an error in the script.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For reference, I already found one page on the Internet which reported the same bug, there are probably others.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 11:19:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1419968#M9900</guid>
      <dc:creator>L__D__Marks</dc:creator>
      <dc:date>2022-10-06T11:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Bug with setvars.sh in latest version (or a subscript)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1421384#M9921</link>
      <description>&lt;P&gt;I recommend that you not source setvars.sh from within your .bashrc file. The `setvars.sh` and `env/varsh.sh` scripts are not designed for use in your shell initialization and login scripts. It should be run only after your main environment has been setup. If you want to run `setvars.sh` easily, you could define a short alias that sources `setvars.sh`, so you don't have to type the full path to `setvars.sh` each time you want to use the oneAPI tools.&lt;/P&gt;
&lt;P&gt;The issue you are referring to was fixed ~2 years ago. I suspect the problem you are now seeing is due to some error messages that are being emitted by the pytorch and tensorflow components (assuming you have installed those components) which may be terminating the `setvars.sh` script prematurely within your `.bashrc` script. The `setvars.sh` script is designed to restore the original argument array, but that only works if it is able to exit normally. Since you are redirecting the output of `setvars.sh` to `/dev/null` you may not be seeing those error messages. If `setvars.sh` does terminate properly, it will restore the arguments array, but in your `.bashrc` context that may not be happening.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 18:43:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1421384#M9921</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2022-10-12T18:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: Bug with setvars.sh in latest version (or a subscript)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1421390#M9922</link>
      <description>&lt;P&gt;No&lt;/P&gt;
&lt;P&gt;To repeat, No.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) This has nothing to do with the redirection, that is just for a cleaner output during login. It occurs without the redirection.&lt;/P&gt;
&lt;P&gt;2) The script should be sourced in .bashrc to appropriately setup LD_LIBARARY_PATH and PATH. This, or some "module load ..." is needed.&lt;/P&gt;
&lt;P&gt;3) There are no reported errors, including without the redirect.&lt;/P&gt;
&lt;P&gt;4) Using the full path or not is user preference, that is not relevant to anything.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may have cured this bug 2 years ago. However, as all coders know, bugs commonly reoccur due to operator error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The bug is real. Sometimes the unwashed user is right.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 15:18:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1421390#M9922</guid>
      <dc:creator>L__D__Marks</dc:creator>
      <dc:date>2022-10-12T15:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Bug with setvars.sh in latest version (or a subscript)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1421453#M9923</link>
      <description>&lt;P&gt;Can you provide a copy of the output of setvars.sh and post it here? That is, remove the /dev/null redirection and copy the complete output text of setvars.sh. It should end with the phrase "&lt;!--StartFragment --&gt;&lt;SPAN&gt;:: oneAPI environment initialized ::&lt;/SPAN&gt;&lt;!--EndFragment --&gt;" which should result in executing the restoration of the argument array. This is what I'm referring to at the end of the setvars.sh script:&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;echo ":: oneAPI environment initialized ::"
echo " "

if [ "$warning_tally" -ne 0 ] ; then
  echo ":: $warning_tally warnings issued: review warning messages."
  echo "   Possible incomplete environment initialization."
  # Restore original $@ array before return.
  eval set -- "$script_args" || true
  prep_for_exit 250 ; return
else
  # Restore original $@ array before return.
  eval set -- "$script_args" || true
  prep_for_exit 0 ; return
fi&lt;/LI-CODE&gt;
&lt;P&gt;And if you could perform the following immediately before the call to setvars.sh and immediately after it, in your .bashrc and include that output:&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;echo "\$# = " "$#"
echo "\$@ = " "$@"&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 12 Oct 2022 18:55:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1421453#M9923</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2022-10-12T18:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Bug with setvars.sh in latest version (or a subscript)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1421460#M9924</link>
      <description>&lt;P&gt;[ldm@head ~]$ echo "\$# = " "$#" echo "\$@ = " "$@"&lt;BR /&gt;$# = 0 echo $@ = &lt;BR /&gt;[ldm@head ~]$ source /opt/intel/oneapi/setvars.sh --force &lt;BR /&gt;&lt;BR /&gt;:: initializing oneAPI environment ...&lt;BR /&gt;-bash: BASH_VERSION = 4.2.46(2)-release&lt;BR /&gt;args: Using "$@" for setvars.sh arguments: --force&lt;BR /&gt;:: advisor -- latest&lt;BR /&gt;:: ccl -- latest&lt;BR /&gt;:: clck -- 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;:: dpcpp-ct -- latest&lt;BR /&gt;:: dpl -- latest&lt;BR /&gt;:: inspector -- latest&lt;BR /&gt;:: intelpython -- latest&lt;BR /&gt;:: ipp -- latest&lt;BR /&gt;:: ippcp -- latest&lt;BR /&gt;:: itac -- latest&lt;BR /&gt;:: mkl -- latest&lt;BR /&gt;:: mpi -- latest&lt;BR /&gt;:: tbb -- latest&lt;BR /&gt;:: vtune -- latest&lt;BR /&gt;:: oneAPI environment initialized ::&lt;BR /&gt;&lt;BR /&gt;[ldm@head ~]$ echo "\$# = " "$#" echo "\$@ = " "$@"&lt;BR /&gt;$# = 18 echo $@ = advisor=latest ccl=latest clck=latest compiler=latest dal=latest debugger=latest dev-utilities=latest dpcpp-ct=latest dpl=latest inspector=latest intelpython=latest ipp=latest ippcp=latest itac=latest mkl=latest mpi=latest tbb=latest vtune=latest&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is what I said before.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 19:35:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1421460#M9924</guid>
      <dc:creator>L__D__Marks</dc:creator>
      <dc:date>2022-10-12T19:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Bug with setvars.sh in latest version (or a subscript)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1421465#M9925</link>
      <description>&lt;P&gt;Addendum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In I use a configuration file with intelphython=exclude, i.e.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;source /opt/intel/oneapi/setvars.sh --force --config="$HOME/bin/oapi.txt"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem goes away. This localizes the issue&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 19:59:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1421465#M9925</guid>
      <dc:creator>L__D__Marks</dc:creator>
      <dc:date>2022-10-12T19:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Bug with setvars.sh in latest version (or a subscript)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1421469#M9926</link>
      <description>&lt;P&gt;Excluding &lt;FONT face="courier new,courier"&gt;intelpython&lt;/FONT&gt; is interesting. It has a very complex initialization &lt;FONT face="courier new,courier"&gt;env/vars.sh&lt;/FONT&gt; script. However, I'm still not able to reproduce what you are seeing even though in my case I'm including &lt;FONT face="courier new,courier"&gt;intelpython&lt;/FONT&gt;.&lt;/P&gt;
&lt;P&gt;My instructions were unclear. I meant to have you perform the test from within your &lt;FONT face="courier new,courier"&gt;.bashrc&lt;/FONT&gt; file, not at the Bash prompt. In other words, something like this inside your &lt;FONT face="courier new,courier"&gt;.bashrc&lt;/FONT&gt; file:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;&amp;lt;other .bashrc statements&amp;gt;

echo "\$# = " "$#"
echo "\$@ = " "$@"

. /opt/intel/oneapi/setvars.sh

echo "\$# = " "$#"
echo "\$@ = " "$@"

&amp;lt;other .bashrc statements&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;where the &lt;FONT face="courier new,courier"&gt;&amp;lt;other .bashrc statements&amp;gt;&lt;/FONT&gt;&amp;nbsp;represent everything else that is already inside your &lt;FONT face="courier new,courier"&gt;.bashrc&lt;/FONT&gt; file.&lt;/P&gt;
&lt;P&gt;And then paste the results here.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 20:37:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1421469#M9926</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2022-10-12T20:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: Bug with setvars.sh in latest version (or a subscript)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1421471#M9927</link>
      <description>&lt;P&gt;p.s. Don't copy and paste the suggested text from the email you get from this forum. It is converting multiple lines into a single line. Go to the forum page to see the properly formatted text.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 20:41:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1421471#M9927</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2022-10-12T20:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Bug with setvars.sh in latest version (or a subscript)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1421480#M9930</link>
      <description>&lt;P&gt;It does not matter if I do it in .bashrc or from the shell -- which it should not.&lt;/P&gt;
&lt;P&gt;Also, of course I did not do a silly paste, I have some experience with coding (20+ years).&lt;/P&gt;
&lt;P&gt;[ldm@head ~]$ bash --version&lt;BR /&gt;GNU bash, version 4.2.46(2)-release (x86_64-redhat-linux-gnu)&lt;/P&gt;
&lt;P&gt;[ldm@head ~]$ uname -a&lt;BR /&gt;Linux head.cluster 3.10.0-1160.11.1.el7.x86_64 #1 SMP Fri Dec 18 16:34:56 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[ldm@head ~]$ head -5 /proc/cpuinfo&lt;BR /&gt;processor : 0&lt;BR /&gt;vendor_id : GenuineIntel&lt;BR /&gt;cpu family : 6&lt;BR /&gt;model : 85&lt;BR /&gt;model name : Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 21:12:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1421480#M9930</guid>
      <dc:creator>L__D__Marks</dc:creator>
      <dc:date>2022-10-12T21:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Bug with setvars.sh in latest version (or a subscript)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1421665#M9933</link>
      <description>&lt;P&gt;I am still unable to reproduce this issue.&lt;/P&gt;
&lt;P&gt;Is `setvars.sh` exiting with a non-zero exit code? If so, what is the exit code number?&lt;/P&gt;
&lt;P&gt;Have you redefined the `cd` command with an alias?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 15:02:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1421665#M9933</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2022-10-13T15:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Bug with setvars.sh in latest version (or a subscript)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1421676#M9934</link>
      <description>To repeat, there is no exit code.&lt;BR /&gt;&lt;BR /&gt;No, I have not aliased cd. I suspect you have a non-standard bash or similar.</description>
      <pubDate>Thu, 13 Oct 2022 15:09:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1421676#M9934</guid>
      <dc:creator>L__D__Marks</dc:creator>
      <dc:date>2022-10-13T15:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Bug with setvars.sh in latest version (or a subscript)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1421677#M9935</link>
      <description>I suggest that you supply a version of the intelpython setvars (or whatever) with debugging or a stack of embedded debug writes. (Standard when one knows nothing more than that a code is broken.)</description>
      <pubDate>Thu, 13 Oct 2022 15:14:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1421677#M9935</guid>
      <dc:creator>L__D__Marks</dc:creator>
      <dc:date>2022-10-13T15:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: Bug with setvars.sh in latest version (or a subscript)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1423497#M9951</link>
      <description>&lt;P&gt;You indicated that you have installed the latest version of the Base Kit and HPC Kit. Since you isolated the issue to the "intelpython" component, could you replace the following "vars.sh" script in your installation:&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;/opt/intel/oneapi/intelpython/python3.9/env/vars.sh&lt;/LI-CODE&gt;
&lt;P&gt;with the attached "vars.sh" script (inside the "vars.tar" file -- forum does not allow me to attach an sh file directly). This replacement includes a few simple additional lines, in a few key locations within the intelpython vars.sh script that might provide a sense as to what is going on. Obviously, you'll have to run without the setvars config file so the intelpython vars.sh script is called by setvars.sh and remove the output redirection to /dev/null.&lt;/P&gt;
&lt;P&gt;The output should look something like the following:&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;$ . /opt/intel/oneapi/setvars.sh

:: initializing oneAPI environment ...
   bash: BASH_VERSION = 4.4.20(1)-release
   args: Using "$@" for setvars.sh arguments:
:: advisor -- latest
:: ccl -- latest
:: compiler -- latest
:: dal -- latest
:: debugger -- latest
:: dev-utilities -- latest
:: dnnl -- latest
:: dpcpp-ct -- latest
:: dpl -- latest
:: intelpython -- latest
LINENO: 16
SETVARS_CALL=1
LINENO: 201
SETVARS_CALL=1
LINENO: 228
SETVARS_CALL=1
LINENO: 312
SETVARS_CALL=1
:: ipp -- latest
:: ippcp -- latest
:: ipp -- latest
:: mkl -- latest
:: mpi -- latest
:: tbb -- latest
:: vpl -- latest
:: vtune -- latest
:: oneAPI environment initialized ::&lt;/LI-CODE&gt;
&lt;P&gt;The test above was run on an Ubuntu 18.04 Desktop system with just the Base Kit installed. As you can see from the script output, the shell is Bash version 4.4. No arguments were provided to the setvars.sh script.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 00:42:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1423497#M9951</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2022-10-20T00:42:11Z</dc:date>
    </item>
    <item>
      <title>Re:Bug with setvars.sh in latest version (or a subscript)</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1426335#M9981</link>
      <description>&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;As we didn't hear back from you, Could you please let us know if your issue is resolved?&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;Shivani&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 31 Oct 2022 06:50:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Bug-with-setvars-sh-in-latest-version-or-a-subscript/m-p/1426335#M9981</guid>
      <dc:creator>ShivaniK_Intel</dc:creator>
      <dc:date>2022-10-31T06:50:27Z</dc:date>
    </item>
  </channel>
</rss>

