<?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: MPI rank hangs on single node in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-rank-hangs-on-single-node/m-p/1364353#M9222</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;We are able to reproduce your issue at our end by using the below command.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;mpiexec -n 2 -genv OMP_NUM_THREADS=8 -genv I_MPI_PIN_DOMAIN=omp hybrid-hello.exe&lt;/LI-CODE&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;Hemanth.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Feb 2022 10:32:21 GMT</pubDate>
    <dc:creator>HemanthCH_Intel</dc:creator>
    <dc:date>2022-02-28T10:32:21Z</dc:date>
    <item>
      <title>MPI rank hangs on single node</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-rank-hangs-on-single-node/m-p/1364033#M9219</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I have noticed that every few runs my program hangs on the second MPI rank.&lt;/P&gt;
&lt;P&gt;This Fortran program comes from Intel Community web site as an example of hybrid Open MP and MPI programming style.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Details:&lt;/P&gt;
&lt;P&gt;env: Windows 10 Pro x64 21H1, Processor Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz, 4 cores HT:ON,&amp;nbsp; ifort 2021.5.0, Intel MPI 2021.5&lt;/P&gt;
&lt;P&gt;compilation command:&amp;nbsp; mpif90 -Qopenmp hybrid-hello.f90&lt;/P&gt;
&lt;P&gt;run command: mpiexec -np 2 hybrid-hello.exe&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please share your thoughts how to get rid of these hangs.&lt;/P&gt;
&lt;P&gt;Thank you in advance,&lt;/P&gt;
&lt;P&gt;Jamie&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Feb 2022 13:14:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-rank-hangs-on-single-node/m-p/1364033#M9219</guid>
      <dc:creator>Jamie9</dc:creator>
      <dc:date>2022-02-26T13:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: MPI rank hangs on single node</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-rank-hangs-on-single-node/m-p/1364353#M9222</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;We are able to reproduce your issue at our end by using the below command.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;mpiexec -n 2 -genv OMP_NUM_THREADS=8 -genv I_MPI_PIN_DOMAIN=omp hybrid-hello.exe&lt;/LI-CODE&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;Hemanth.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 10:32:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-rank-hangs-on-single-node/m-p/1364353#M9222</guid>
      <dc:creator>HemanthCH_Intel</dc:creator>
      <dc:date>2022-02-28T10:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: MPI rank hangs on single node</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-rank-hangs-on-single-node/m-p/1366347#M9259</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are still investigating 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;Hemanth.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2022 13:23:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-rank-hangs-on-single-node/m-p/1366347#M9259</guid>
      <dc:creator>HemanthCH_Intel</dc:creator>
      <dc:date>2022-03-07T13:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: MPI rank hangs on single node</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-rank-hangs-on-single-node/m-p/1368587#M9307</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We tried to check the correctness of your code using the below command:&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;
&lt;LI-CODE lang="markup"&gt;mpif90 -check_mpi hybrid-hello.f90 -Qopenmp

mpiexec -n 2 -genv OMP_NUM_THREADS=8 hybrid-hello.exe --itc-args --check-tracing ON --itc-args-end&lt;/LI-CODE&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;
&lt;P&gt;Using the above command, we encountered a deadlock as attached in the below log file(deadlock.txt).&lt;/P&gt;
&lt;P&gt;Could you please try with the attached code(hybrid_hello_latest.f90) where we added: "&lt;SPAN&gt;!$OMP BARRIER&lt;/SPAN&gt;" in line no:155 as shown in the screenshot?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="HemanthCH_Intel_0-1647269287984.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/27575iE9D24625D8174E08/image-size/medium?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="HemanthCH_Intel_0-1647269287984.png" alt="HemanthCH_Intel_0-1647269287984.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have tried at our end and it works fine. We also checked the correctness of the program which gave the expected results(output.txt)&lt;/P&gt;
&lt;P&gt;Please let us know if this resolves your issue. If not, please get back to us.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Hemanth.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 03:48:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-rank-hangs-on-single-node/m-p/1368587#M9307</guid>
      <dc:creator>HemanthCH_Intel</dc:creator>
      <dc:date>2022-03-16T03:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: MPI rank hangs on single node</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-rank-hangs-on-single-node/m-p/1369088#M9321</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;It works as expected after you added !$OMP BARRIER. Thank you very much.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Jamie9&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 21:33:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-rank-hangs-on-single-node/m-p/1369088#M9321</guid>
      <dc:creator>Jamie9</dc:creator>
      <dc:date>2022-03-15T21:33:30Z</dc:date>
    </item>
    <item>
      <title>Re:MPI rank hangs on single node</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-rank-hangs-on-single-node/m-p/1369655#M9328</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Glad to know 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>Thu, 17 Mar 2022 11:17:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-rank-hangs-on-single-node/m-p/1369655#M9328</guid>
      <dc:creator>HemanthCH_Intel</dc:creator>
      <dc:date>2022-03-17T11:17:46Z</dc:date>
    </item>
  </channel>
</rss>

