<?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:hydra hangs on defunct processes in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/hydra-hangs-on-defunct-processes/m-p/1224133#M7289</link>
    <description>&lt;P&gt;I have discussed this with the team here.&lt;/P&gt;&lt;P&gt;This seems like standard linux process behavior... unclear if there is a workaround&lt;/P&gt;&lt;P&gt;Is there any way you could launch the exec instead of the script?&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 30 Oct 2020 13:45:25 GMT</pubDate>
    <dc:creator>Kevin_O_Intel1</dc:creator>
    <dc:date>2020-10-30T13:45:25Z</dc:date>
    <item>
      <title>hydra hangs on defunct processes</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/hydra-hangs-on-defunct-processes/m-p/1219488#M7253</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I use mpiexec to run program A, which in turn runs program B in the background, when program A returns, mpiexec hangs until program B completes.&amp;nbsp; For example, if program A is the following shell script:&lt;/P&gt;
&lt;P&gt;programA&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; programB &amp;amp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and program B is the following shell script:&lt;/P&gt;
&lt;P&gt;programB&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sleep 10&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then even though programA returns, mpiexec does not, until sleep completes or is killed.&amp;nbsp; programA shows up as defunct.&lt;/P&gt;
&lt;P&gt;On the other hand, directly running programA from the shell it does not show up as defunct.&lt;/P&gt;
&lt;P&gt;What is mpiexec doing or waiting on that causes this, and is there any way around it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 18:22:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/hydra-hangs-on-defunct-processes/m-p/1219488#M7253</guid>
      <dc:creator>Scarmozzino__Robert</dc:creator>
      <dc:date>2020-10-20T18:22:41Z</dc:date>
    </item>
    <item>
      <title>Re:hydra hangs on defunct processes</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/hydra-hangs-on-defunct-processes/m-p/1219773#M7257</link>
      <description>&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you please specify how were you launching MPI programB from ProgramA; Were you using MPI_COMM_SPAWN or you were launching through a shell script (shell script starts a program that calls MPI_INIT)?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If possible, please provide a sample reproducer with your command line, that would help us answer better.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prasanth&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Oct 2020 12:21:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/hydra-hangs-on-defunct-processes/m-p/1219773#M7257</guid>
      <dc:creator>PrasanthD_intel</dc:creator>
      <dc:date>2020-10-21T12:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Re:hydra hangs on defunct processes</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/hydra-hangs-on-defunct-processes/m-p/1219797#M7258</link>
      <description>&lt;P&gt;The launch command is simply:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mpiexec -np 1 programA&lt;/P&gt;
&lt;P&gt;In this test case, there is in fact no MPI program.&amp;nbsp; I am just using the launcher to spawn programA, which is just a shell script.&amp;nbsp; In the real application, programA is an actual MPI program, which spawns programB in the background, intending to leave it when it completes.&amp;nbsp; In the real application, all of the MPI stuff completes, but it is waiting and shows as defunct because of programB.&amp;nbsp; The simple example I sent demonstrates the essence of the issue I think.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 13:42:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/hydra-hangs-on-defunct-processes/m-p/1219797#M7258</guid>
      <dc:creator>Scarmozzino__Robert</dc:creator>
      <dc:date>2020-10-21T13:42:21Z</dc:date>
    </item>
    <item>
      <title>Re:hydra hangs on defunct processes</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/hydra-hangs-on-defunct-processes/m-p/1223179#M7273</link>
      <description>&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Sorry for the delay, &lt;/P&gt;&lt;P&gt;We are not sure whether this is expected behaviour or not. &lt;/P&gt;&lt;P&gt;We are discussing with the internal team and get back to you after cross-checking with MPI 3.1 standard.&lt;/P&gt;&lt;P&gt;Thanks for being patient.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prasanth&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Oct 2020 07:58:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/hydra-hangs-on-defunct-processes/m-p/1223179#M7273</guid>
      <dc:creator>PrasanthD_intel</dc:creator>
      <dc:date>2020-10-27T07:58:48Z</dc:date>
    </item>
    <item>
      <title>Re:hydra hangs on defunct processes</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/hydra-hangs-on-defunct-processes/m-p/1223802#M7282</link>
      <description>&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The behaviour for launching inside a shell script is undefined but since you are asking for a way around it.&lt;/P&gt;&lt;P&gt;We are transferring this query to Subject Matters experts for better support.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prasanth&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Oct 2020 12:25:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/hydra-hangs-on-defunct-processes/m-p/1223802#M7282</guid>
      <dc:creator>PrasanthD_intel</dc:creator>
      <dc:date>2020-10-29T12:25:50Z</dc:date>
    </item>
    <item>
      <title>Re:hydra hangs on defunct processes</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/hydra-hangs-on-defunct-processes/m-p/1223816#M7284</link>
      <description>&lt;P&gt;investigating if there is a workaround&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Oct 2020 13:04:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/hydra-hangs-on-defunct-processes/m-p/1223816#M7284</guid>
      <dc:creator>Kevin_O_Intel1</dc:creator>
      <dc:date>2020-10-29T13:04:43Z</dc:date>
    </item>
    <item>
      <title>Re:hydra hangs on defunct processes</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/hydra-hangs-on-defunct-processes/m-p/1224133#M7289</link>
      <description>&lt;P&gt;I have discussed this with the team here.&lt;/P&gt;&lt;P&gt;This seems like standard linux process behavior... unclear if there is a workaround&lt;/P&gt;&lt;P&gt;Is there any way you could launch the exec instead of the script?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Oct 2020 13:45:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/hydra-hangs-on-defunct-processes/m-p/1224133#M7289</guid>
      <dc:creator>Kevin_O_Intel1</dc:creator>
      <dc:date>2020-10-30T13:45:25Z</dc:date>
    </item>
  </channel>
</rss>

