<?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: Issues running mpi4py testsuite on GitHub Actions in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/Issues-running-mpi4py-testsuite-on-GitHub-Actions/m-p/1431762#M10068</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The given below commands haven't worked on Windows.&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="100%"&gt;
&lt;P&gt;&lt;SPAN&gt;python -m venv /tmp/testenv&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;source /tmp/testenv/bin/activate&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could you please provide us with the appropriate commands to be used in Windows for creating the virtual python environment?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Santosh&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Nov 2022 12:34:19 GMT</pubDate>
    <dc:creator>SantoshY_Intel</dc:creator>
    <dc:date>2022-11-21T12:34:19Z</dc:date>
    <item>
      <title>Issues running mpi4py testsuite on GitHub Actions</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Issues-running-mpi4py-testsuite-on-GitHub-Actions/m-p/1428130#M10008</link>
      <description>&lt;P&gt;Hi.&amp;nbsp;&lt;SPAN&gt;I'm Lisandro, the main developer and maintainer of mpi4py.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Recently, I managed to setup Intel MPI to run on GitHub Actions, it can be used via mpi4py@setup-mpi (&lt;A href="https://github.com/mpi4py/setup-mpi" target="_blank" rel="noopener"&gt;https://github.com/mpi4py/setup-mpi&lt;/A&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Afterwards, I've setup mpi4py testsuite to run weekly or manually:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/mpi4py/mpi4py-testing/actions/workflows/intelmpi.yml" target="_self"&gt;https://github.com/mpi4py/mpi4py-testing/actions/workflows/intelmpi.yml&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Most of mpi4py testsuite works just fine, but there are a few remaining issues, mostly on Windows x64. The currently failing tests are disabled as know failures, but it would be good to resolve them for the benefit of Intel MPI Windows users. The list of issues is the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;* mpi4py users cannot use matched probes reliably, this has been the case for many years.&lt;/P&gt;
&lt;P&gt;* Failures with MPI_Reduce_scatter() used with MPI_IN_PLACE&lt;/P&gt;
&lt;P&gt;* Failures with MPI_Comm_spawn[_multiple]() - only on Windows&lt;/P&gt;
&lt;P&gt;* Calling MPI_Wtick() returns a negative number (IIRC, it returns -1.0) - only on Windows&lt;/P&gt;
&lt;P&gt;* MPI_Pack_external() with 64bit integers (`long long`) is broken&amp;nbsp;- only on Windows&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there anyone from the team willing to help addressing these issues? Feel free to contact me privately via email or raise an issue on &lt;A href="https://github.com/mpi4py/mpi4py/issues" target="_self"&gt;https://github.com/mpi4py/mpi4py/issues&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Disclaimer: I have very little experience about the Windows platform.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Nov 2022 12:45:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Issues-running-mpi4py-testsuite-on-GitHub-Actions/m-p/1428130#M10008</guid>
      <dc:creator>dalcinl</dc:creator>
      <dc:date>2022-11-07T12:45:51Z</dc:date>
    </item>
    <item>
      <title>Re:Issues running mpi4py testsuite on GitHub Actions</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Issues-running-mpi4py-testsuite-on-GitHub-Actions/m-p/1428680#M10015</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 a small sample reproducer code for each issue?&lt;/P&gt;&lt;P&gt;Also, please provide the complete steps to reproduce the issue from our end.&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;Santosh&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Nov 2022 06:53:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Issues-running-mpi4py-testsuite-on-GitHub-Actions/m-p/1428680#M10015</guid>
      <dc:creator>SantoshY_Intel</dc:creator>
      <dc:date>2022-11-09T06:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Issues running mpi4py testsuite on GitHub Actions</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Issues-running-mpi4py-testsuite-on-GitHub-Actions/m-p/1429049#M10019</link>
      <description>&lt;P&gt;It is a bit hard for me to provide minimal reproducers for two reasons:&lt;BR /&gt;&lt;BR /&gt;1) I cannot reproduce myself the failure in reduce-scatter with MPI_IN_PLACE on my Linux workstation. These tests are failing on GitHub Actions on Linux (but not under Windows! see logs: &lt;A href="https://github.com/mpi4py/mpi4py-testing/actions/runs/3426753083" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://github.com/mpi4py/mpi4py-testing/actions/runs/3426753083&amp;amp;source=gmail&amp;amp;ust=1668158409862000&amp;amp;usg=AOvVaw1WMJrJU1T5L7d9wrr_ViPL"&gt;https://github.com/mpi4py/&lt;WBR /&gt;mpi4py-testing/actions/runs/&lt;WBR /&gt;3426753083&lt;/A&gt;)&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;2) The remaining issues are Windows-only. As I said before, I have little user and developer experience on this platform, then it is very hard to prepare and test a reproducer from my side.&lt;BR /&gt;&lt;BR /&gt;Al that being said, running mpi4py testsuite is trival. I've prepared a branch `testing/intelmpi`. You can just clone the repository with git, build it, and then run the testsuite:&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;# The following assumes setvars.sh/bat has already been sourced
git clone -b testing/intelmpi https://github.com/mpi4py/mpi4py.git
cd mpi4py
python setup.py build
mpiexec -n 1 python test/main.py
mpiexec -n 2 python test/main.py
mpiexec -n 3 python test/main.py&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Rather than running all test via the `test/main.py` entry-point, you can run individual test scripts. The ones that should trigger the issues I'm reporting are the following:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;test/test_cco_buf.py # reduce-scatter in-place, Linux&lt;/LI&gt;
&lt;LI&gt;test/test_cco_nb_buf.py&amp;nbsp;# reduce-scatter in-place, Linux&lt;/LI&gt;
&lt;LI&gt;test/test_environ.py # MPI_Wtick issue, Windows&lt;/LI&gt;
&lt;LI&gt;test/test_pack.py # pack-external with `long long`, Windows&lt;/LI&gt;
&lt;LI&gt;test/test_spawn.py # spawn issues, Windows&lt;/LI&gt;
&lt;LI&gt;test/test_dynproc.py # issues with accept-connect, Windows&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 09:29:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Issues-running-mpi4py-testsuite-on-GitHub-Actions/m-p/1429049#M10019</guid>
      <dc:creator>dalcinl</dc:creator>
      <dc:date>2022-11-10T09:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: Issues running mpi4py testsuite on GitHub Actions</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Issues-running-mpi4py-testsuite-on-GitHub-Actions/m-p/1429417#M10027</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for providing the steps to reproduce the issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried reproducing it on my end on Linux. Please find my observations below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;After running the test suite, we are getting the below output:&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MicrosoftTeams-image (4).png" style="width: 771px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/35040i7E2E1D7401FF5FA3/image-dimensions/771x312?v=v2&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" width="771" height="312" role="button" title="MicrosoftTeams-image (4).png" alt="MicrosoftTeams-image (4).png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;After running the individual test scripts(test_cco_buf.py/test_cco_nb_buf.py) on Linux, we got the output as FAILED. For a complete log, refer to the attachment(log1.txt &amp;amp; log2.txt)&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Running the test suite not showing any failed cases but, skipping a few cases.&lt;/P&gt;
&lt;P&gt;Running the individual test scripts failed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#666699"&gt;&lt;EM&gt;&amp;gt;&amp;gt;"Rather than running all test via the `test/main.py` entry-point, you can run individual test scripts"&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Then, what is the relation between the test suite and these individual test scripts?&amp;nbsp;Why in one case I get skipped test cases and in another I get failed? Aren't they involved in main.py? Do the skipped cases has errors and hence lead to the failure of the scripts?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, please confirm if you are facing the same results after execution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Santosh&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 11:36:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Issues-running-mpi4py-testsuite-on-GitHub-Actions/m-p/1429417#M10027</guid>
      <dc:creator>SantoshY_Intel</dc:creator>
      <dc:date>2022-11-11T11:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: Issues running mpi4py testsuite on GitHub Actions</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Issues-running-mpi4py-testsuite-on-GitHub-Actions/m-p/1429931#M10033</link>
      <description>&lt;P&gt;Thanks for taking the time to try mpi4py testsuite on your end.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Your results on Linux match my previous experience. Everything pass fine. However, if running on GitHub Actions, things go wrong. My guess is that on GitHub Actions runners end up using a different fabric or communication channel than the one used in our local runs. Any tips on how we could debug that? Can you advise on environment variables that I could set to get some verbose output to help us debug the issue further?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Regarding your attempt to run individual test files, the problem is you are running mpi4py 3.0.3 from the Intel installation, as opposed to mpi4py 4.0.0.dev0 from the local&amp;nbsp; `build/` directory.&amp;nbsp; Sorry, that was my fault for asking you to build as opposed to fully install the package. That's one of the differences of using `test/main.py` vs. individual test scripts: `test/main.py` try to load mpi4py from the local build directory, but individual test scripts will ignore the build directory and use an installed mpi4py package. BTW, the only point of running individual test scripts is to run faster and not being flooded with so many different tests.&lt;/P&gt;
&lt;P&gt;Perhaps it is best if you care a virtual environment to install mpi4py from git:&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;# The following assumes setvars.sh/bat has already been sourced
git clone -b testing/intelmpi https://github.com/mpi4py/mpi4py.git
cd mpi4py
python -m venv /tmp/testenv
source /tmp/testenv/bin/activate
python -m pip install .
mpiexec -n 2 python test/main.py # full test suite
mpiexec -n 2 python test/test_cco_buf.py # individual test script
&lt;/LI-CODE&gt;
&lt;P&gt;Anyway, I don't expect you results to change on Linux. As I said, most of the issues occur on Windows. Do you have experience on the Windows platform to give it a try?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 13:16:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Issues-running-mpi4py-testsuite-on-GitHub-Actions/m-p/1429931#M10033</guid>
      <dc:creator>dalcinl</dc:creator>
      <dc:date>2022-11-14T13:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: Issues running mpi4py testsuite on GitHub Actions</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Issues-running-mpi4py-testsuite-on-GitHub-Actions/m-p/1430267#M10041</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;EM&gt;&amp;gt;&amp;gt;"Any tips on how we could debug that? Can you advise on environment variables that I could set to get some verbose output to help us debug the issue further?"&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Using the &lt;FONT color="#0000FF"&gt;&lt;A href="https://www.intel.com/content/www/us/en/develop/documentation/mpi-developer-reference-linux/top/environment-variable-reference/other-environment-variables.html" target="_blank" rel="noopener"&gt;I_MPI_DEBUG&lt;/A&gt; &lt;/FONT&gt;environment variable, we can print out debugging information when an MPI program starts running.&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="100%"&gt;$ mpirun -n 1 -env I_MPI_DEBUG=2 ./a.out&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please provide us with the complete steps to reproduce these issues on a Windows machine?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Santosh&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 12:45:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Issues-running-mpi4py-testsuite-on-GitHub-Actions/m-p/1430267#M10041</guid>
      <dc:creator>SantoshY_Intel</dc:creator>
      <dc:date>2022-11-15T12:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Issues running mpi4py testsuite on GitHub Actions</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Issues-running-mpi4py-testsuite-on-GitHub-Actions/m-p/1430278#M10042</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;Using the&amp;nbsp;&lt;FONT class="sub_section_element_selectors" color="#0000FF"&gt;&lt;A class="sub_section_element_selectors" href="https://www.intel.com/content/www/us/en/develop/documentation/mpi-developer-reference-linux/top/environment-variable-reference/other-environment-variables.html" target="_blank" rel="noopener nofollow noreferrer"&gt;I_MPI_DEBUG&lt;/A&gt;&amp;nbsp;&lt;/FONT&gt;environment variable&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks, I'll do and report back the output I get on GitHub actions.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;Could you please provide us with the complete steps to reproduce these issues on a Windows machine?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The steps are exactly the same as for Linux, modulo minor details related to platform differences. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Just clone the git repository on the `testing/intelmpi` branch, create and activate a Python virtual environment, install mpi4py in the virtual environment using pip, and finally run the testsuite. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The only difference respect to my previous instructions would be the specification of filesystem paths and how to activate the Python virtual env &lt;A href="https://docs.python.org/3/library/venv.html#how-venvs-work" target="_self"&gt;(see Python docs)&lt;/A&gt;&amp;nbsp;. If you have any troubles let me know and I can try to help you further, but I warn you I do not have access to a Windows box right now, therefore I cannot be 100% sure about minor platform differences respect to Linux.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 13:15:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Issues-running-mpi4py-testsuite-on-GitHub-Actions/m-p/1430278#M10042</guid>
      <dc:creator>dalcinl</dc:creator>
      <dc:date>2022-11-15T13:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Issues running mpi4py testsuite on GitHub Actions</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Issues-running-mpi4py-testsuite-on-GitHub-Actions/m-p/1431762#M10068</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The given below commands haven't worked on Windows.&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="100%"&gt;
&lt;P&gt;&lt;SPAN&gt;python -m venv /tmp/testenv&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;source /tmp/testenv/bin/activate&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could you please provide us with the appropriate commands to be used in Windows for creating the virtual python environment?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Santosh&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 12:34:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Issues-running-mpi4py-testsuite-on-GitHub-Actions/m-p/1431762#M10068</guid>
      <dc:creator>SantoshY_Intel</dc:creator>
      <dc:date>2022-11-21T12:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Issues running mpi4py testsuite on GitHub Actions</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Issues-running-mpi4py-testsuite-on-GitHub-Actions/m-p/1431806#M10070</link>
      <description>&lt;P&gt;As I said before, my instructions needed minor adjustments for the platform differences between Linux and Windows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Python documentation (which I provided a link for) has clear instructions on how to create venvs:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.python.org/3/library/venv.html#creating-virtual-environments" target="_blank"&gt;https://docs.python.org/3/library/venv.html#creating-virtual-environments&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;On Windows, invoke the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="docutils literal notranslate"&gt;&lt;SPAN class="pre"&gt;venv&lt;/SPAN&gt;&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;command as follows:&lt;/P&gt;
&lt;DIV class="highlight-none notranslate"&gt;
&lt;DIV class="highlight"&gt;
&lt;PRE&gt;c:\&amp;gt;c:\Python35\python -m venv c:\path\to\myenv
&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Alternatively, if you configured the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="docutils literal notranslate"&gt;&lt;SPAN class="pre"&gt;PATH&lt;/SPAN&gt;&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE class="docutils literal notranslate"&gt;&lt;SPAN class="pre"&gt;PATHEXT&lt;/SPAN&gt;&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;variables for your&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="reference internal" href="https://docs.python.org/3/using/windows.html#using-on-windows" target="_blank"&gt;&lt;SPAN class="std std-ref"&gt;Python installation&lt;/SPAN&gt;&lt;/A&gt;:&lt;/P&gt;
&lt;DIV class="highlight-none notranslate"&gt;
&lt;DIV class="highlight"&gt;
&lt;PRE&gt;c:\&amp;gt;python -m venv c:\path\to\myenv&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;Of course, replace the prefix&amp;nbsp; "c:\path\to" with any folder of your choice.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you keep reading, then you have instructions about how to activate the environment, depending on whether you are using cmd.exe or PowerShell:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.python.org/3/library/venv.html#how-venvs-work" target="_blank"&gt;https://docs.python.org/3/library/venv.html#how-venvs-work&lt;/A&gt;&lt;/P&gt;
&lt;DIV class="responsive-table__container"&gt;
&lt;TABLE class="docutils align-default"&gt;&lt;COLGROUP&gt;&lt;COL /&gt;&lt;COL /&gt;&lt;COL /&gt;&lt;/COLGROUP&gt;
&lt;THEAD&gt;
&lt;TR class="row-odd"&gt;
&lt;TH class="head"&gt;
&lt;P&gt;Platform&lt;/P&gt;
&lt;/TH&gt;
&lt;TH class="head"&gt;
&lt;P&gt;Shell&lt;/P&gt;
&lt;/TH&gt;
&lt;TH class="head"&gt;
&lt;P&gt;Command to activate virtual environment&lt;/P&gt;
&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR class="row-even"&gt;
&lt;TD rowspan="2"&gt;
&lt;P&gt;Windows&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;cmd.exe&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;&lt;CODE class="samp docutils literal notranslate"&gt;&lt;SPAN class="pre"&gt;C:\&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class="pre"&gt;&amp;lt;venv&amp;gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN class="pre"&gt;\Scripts\activate.bat&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR class="row-odd"&gt;
&lt;TD&gt;
&lt;P&gt;PowerShell&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;&lt;CODE class="samp docutils literal notranslate"&gt;&lt;SPAN class="pre"&gt;PS&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="pre"&gt;C:\&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class="pre"&gt;&amp;lt;venv&amp;gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN class="pre"&gt;\Scripts\Activate.ps1&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;DIV class="versionadded"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 21 Nov 2022 16:04:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Issues-running-mpi4py-testsuite-on-GitHub-Actions/m-p/1431806#M10070</guid>
      <dc:creator>dalcinl</dc:creator>
      <dc:date>2022-11-21T16:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Issues running mpi4py testsuite on GitHub Actions</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Issues-running-mpi4py-testsuite-on-GitHub-Actions/m-p/1432107#M10081</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for providing the detailed instructions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We tried running the below test scripts on Windows and below are our observations:&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%" height="24px"&gt;test/test_environ.py&lt;/TD&gt;
&lt;TD width="50%" height="24px"&gt;FAILED&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="24px"&gt;test/test_pack.py&lt;/TD&gt;
&lt;TD width="50%" height="24px"&gt;FAILED&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="24px"&gt;test/test_spawn.py&lt;/TD&gt;
&lt;TD width="50%" height="24px"&gt;HANGED&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="24px"&gt;test/test_dynproc.py&lt;/TD&gt;
&lt;TD width="50%" height="24px"&gt;HANGED&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are working on your issue and will get back to you soon.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Santosh&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 10:18:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Issues-running-mpi4py-testsuite-on-GitHub-Actions/m-p/1432107#M10081</guid>
      <dc:creator>SantoshY_Intel</dc:creator>
      <dc:date>2022-11-22T10:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Issues running mpi4py testsuite on GitHub Actions</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Issues-running-mpi4py-testsuite-on-GitHub-Actions/m-p/1442200#M10200</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please try using the latest &lt;STRONG&gt;Intel MPI 2021.8&lt;/STRONG&gt; and run the test scripts on Linux?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We tried at our end &amp;amp; we were able to &lt;STRONG&gt;run the test scripts on Linux successfully&lt;/STRONG&gt; as shown in the screenshot attached.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Santosh&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2022 09:10:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Issues-running-mpi4py-testsuite-on-GitHub-Actions/m-p/1442200#M10200</guid>
      <dc:creator>SantoshY_Intel</dc:creator>
      <dc:date>2022-12-28T09:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Issues running mpi4py testsuite on GitHub Actions</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Issues-running-mpi4py-testsuite-on-GitHub-Actions/m-p/1442781#M10206</link>
      <description>&lt;P&gt;I rebased the `testing/intelmpi` branch on top of the latest `master` branch. Next, I ran commit&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;550a8460c90f8295f7a4bd0cc890d0ce5fef1c38 (first commit in the branch) on GitHub Actions.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;It is still failing in the Reduce_scatter() test using MPI_IN_PLACE:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;A href="https://github.com/mpi4py/mpi4py-testing/actions/runs/3807572615/jobs/6477391350#step:17:164" target="_blank"&gt;https://github.com/mpi4py/mpi4py-testing/actions/runs/3807572615/jobs/6477391350#step:17:164&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Dec 2022 15:18:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Issues-running-mpi4py-testsuite-on-GitHub-Actions/m-p/1442781#M10206</guid>
      <dc:creator>dalcinl</dc:creator>
      <dc:date>2022-12-30T15:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Issues running mpi4py testsuite on GitHub Actions</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Issues-running-mpi4py-testsuite-on-GitHub-Actions/m-p/1443739#M10215</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We could reproduce your issues on Linux using Intel MPI &lt;STRONG&gt;2021.7&lt;/STRONG&gt; on Ubuntu &lt;STRONG&gt;18.04&lt;/STRONG&gt; machine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, &lt;A style="font-family: serif; font-size: 16px;" href="https://community.intel.com/t5/Intel-oneAPI-HPC-Toolkit/oneAPI-2023-0-release-is-now-AVAILABLE/td-p/1440539/jump-to/first-unread-message" target="_blank" rel="noopener noreferrer"&gt;oneAPI 2023.0 release is now AVAILABLE!&lt;/A&gt; So, could you please try the &lt;STRONG&gt;latest Intel MPI 2021.8 &lt;/STRONG&gt;&amp;amp; let us know if you still face the issue while running the tests on a Linux machine?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, we could see that you are using&lt;STRONG&gt; Ubuntu-22.04&lt;/STRONG&gt; to run your tests which is&lt;STRONG&gt; not a supported target Linux operating system&lt;/STRONG&gt; as per the &lt;A href="https://www.intel.com/content/www/us/en/developer/articles/system-requirements/mpi-library-system-requirements.html" target="_blank"&gt;Intel MPI system requirements&lt;/A&gt;. We recommend you use any of the supported Linux OS &amp;amp; try again.&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;FONT color="#808080"&gt;&lt;STRONG&gt;Supported Linux OS are:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Red Hat* Enterprise Linux* 7, 8&lt;/LI&gt;
&lt;LI&gt;Fedora* 31&lt;/LI&gt;
&lt;LI&gt;CentOS* 7, 8&lt;/LI&gt;
&lt;LI&gt;SUSE* Linux Enterprise Server* 12, 15&lt;/LI&gt;
&lt;LI&gt;Ubuntu* LTS 16.04, 18.04, 20.04&lt;/LI&gt;
&lt;LI&gt;Debian* 9, 10&lt;/LI&gt;
&lt;LI&gt;Amazon Linux 2&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;We tried from our end using the latest Intel MPI &lt;STRONG&gt;2021.8&lt;/STRONG&gt; on the Ubuntu-18.04 machine &amp;amp; the test scripts were running fine on the Linux machine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Santosh&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2023 06:29:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Issues-running-mpi4py-testsuite-on-GitHub-Actions/m-p/1443739#M10215</guid>
      <dc:creator>SantoshY_Intel</dc:creator>
      <dc:date>2023-01-04T06:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: Issues running mpi4py testsuite on GitHub Actions</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Issues-running-mpi4py-testsuite-on-GitHub-Actions/m-p/1443816#M10217</link>
      <description>&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/157022"&gt;@SantoshY_Intel&lt;/a&gt;&amp;nbsp;As I said in my previous comment, I was testing&lt;STRONG&gt; latest 2021.8&lt;/STRONG&gt; release. However, the issue I'm reporting happens while running on GitHub Actions, an extremely popular CI service used by many developers, and not a bare metal workstation or server. My educated guess is that in the more restricted kernel environment of GitHub Actions, the Intel MPI library is picking a different fabric/channel/configuration that the bare metal machine you are probably using. The GitHub Actions builds are running on Ubuntu 22.04, I understand that could also be affecting things.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I still have to try running with I_MPI_DEBUG and report back the output. I guess that could help you to figure out what could be going on. And I will also try running with a Ubuntu 20.04 builder image.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS:&amp;nbsp; if you guys consider that fixing issues on build environments like GitHub Actions is a waste of your limited time and resources, then please make a clear statement about that fact and I'll happily stop insisting with it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2023 13:05:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Issues-running-mpi4py-testsuite-on-GitHub-Actions/m-p/1443816#M10217</guid>
      <dc:creator>dalcinl</dc:creator>
      <dc:date>2023-01-04T13:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Issues running mpi4py testsuite on GitHub Actions</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Issues-running-mpi4py-testsuite-on-GitHub-Actions/m-p/1443826#M10218</link>
      <description>&lt;P&gt;I just run a new build on GitHub Actions, here you have the &lt;A href="https://github.com/mpi4py/mpi4py-testing/actions/runs/3838379478/jobs/6534766855" target="_self"&gt;full logs&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I set&lt;FONT face="courier new,courier"&gt; I_MPI_DEBUG=2&lt;/FONT&gt; in the environment and I get the following output out of it:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[0] MPI startup(): Intel(R) MPI Library, Version 2021.8  Build 20221129 (id: 339ec755a1)
[0] MPI startup(): Copyright (C) 2003-2022 Intel Corporation.  All rights reserved.
[0] MPI startup(): library kind: release
[0] MPI startup(): libfabric version: 1.13.2rc1-impi
[0] MPI startup(): libfabric provider: tcp;ofi_rxm
[0] MPI startup(): File "/opt/intel/oneapi/mpi/2021.8.0/etc/tuning_knl_shm-ofi_tcp-ofi-rxm_100.dat" not found
[0] MPI startup(): Load tuning file: "/opt/intel/oneapi/mpi/2021.8.0/etc/tuning_knl_shm-ofi.dat"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;As you can see, I'm using Intel MPI latest version 2021.8. Additionally, I'm definitely using an &lt;A href="https://github.com/mpi4py/mpi4py-testing/actions/runs/3838379478/jobs/6534766855#step:1:4" target="_self"&gt;Ubuntu 20.04&lt;/A&gt; runner image.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The test run with 2 MPI processes is still failing as reported before, see &lt;A href="https://github.com/mpi4py/mpi4py-testing/actions/runs/3838379478/jobs/6534766855#step:17:172" target="_self"&gt;logs&lt;/A&gt;. I hope that the output above from I_MPI_DEBUG can shed some light. If this is not a fabric issue, then I can only think of some sort of race condition that only triggers when running in a constrained/slower virtual machine environment.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2023 13:55:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Issues-running-mpi4py-testsuite-on-GitHub-Actions/m-p/1443826#M10218</guid>
      <dc:creator>dalcinl</dc:creator>
      <dc:date>2023-01-04T13:55:22Z</dc:date>
    </item>
  </channel>
</rss>

