<?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 Dynamically start MPI processes  in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/Dynamically-start-MPI-processes/m-p/919029#M2349</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a master/slave type MPI program, and I'd like the master to dynamically spawn the slave processes.&amp;nbsp;I tried MPI_Comm_spawn, but it seems that I could only start slave processes on nodes where mpd.py has already been started, ie., nodes specified in mpd.hosts.&amp;nbsp;However, in my case, I'd like to assume that I don't know which nodes I will use when I start the program using mpirun. The nodes where the slave processes will run are determined at run-time.&lt;/P&gt;
&lt;P&gt;I tried to use the hydra process manager in Intel 4.1, and MPI_Comm_spawn failed. Does hydra support spawning at all?&lt;/P&gt;
&lt;P&gt;Could anyone give me some insight or advice on&amp;nbsp;how to solve my problem? Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Sep 2013 19:28:04 GMT</pubDate>
    <dc:creator>jackyjngwn</dc:creator>
    <dc:date>2013-09-04T19:28:04Z</dc:date>
    <item>
      <title>Dynamically start MPI processes</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Dynamically-start-MPI-processes/m-p/919029#M2349</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a master/slave type MPI program, and I'd like the master to dynamically spawn the slave processes.&amp;nbsp;I tried MPI_Comm_spawn, but it seems that I could only start slave processes on nodes where mpd.py has already been started, ie., nodes specified in mpd.hosts.&amp;nbsp;However, in my case, I'd like to assume that I don't know which nodes I will use when I start the program using mpirun. The nodes where the slave processes will run are determined at run-time.&lt;/P&gt;
&lt;P&gt;I tried to use the hydra process manager in Intel 4.1, and MPI_Comm_spawn failed. Does hydra support spawning at all?&lt;/P&gt;
&lt;P&gt;Could anyone give me some insight or advice on&amp;nbsp;how to solve my problem? Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2013 19:28:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Dynamically-start-MPI-processes/m-p/919029#M2349</guid>
      <dc:creator>jackyjngwn</dc:creator>
      <dc:date>2013-09-04T19:28:04Z</dc:date>
    </item>
    <item>
      <title>Do you have a reproducer?  I</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Dynamically-start-MPI-processes/m-p/919030#M2350</link>
      <description>&lt;P&gt;Do you have a reproducer?&amp;nbsp; I have been able to use MPI_Comm_spawn with Hydra.&amp;nbsp; Let me check on the exact method for specifying a host outside of the provided host list for launching.&lt;/P&gt;
&lt;P&gt;Sincerely,&lt;BR /&gt; James Tullos&lt;BR /&gt; Technical Consulting Engineer&lt;BR /&gt; Intel® Consulting Engineer&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2013 20:22:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Dynamically-start-MPI-processes/m-p/919030#M2350</guid>
      <dc:creator>James_T_Intel</dc:creator>
      <dc:date>2013-09-04T20:22:25Z</dc:date>
    </item>
    <item>
      <title>Thanks for replying.</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Dynamically-start-MPI-processes/m-p/919031#M2351</link>
      <description>&lt;P&gt;Thanks for replying.&lt;/P&gt;
&lt;P&gt;I am attaching the test program I've been using. I compiled them using:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mpiicpc -o master master.cpp&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mpiicpc -o worker worker.cpp&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and ran it using:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mpirun -n 1 -env MPI_UNIVERSE_SIZE 3 ./master.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The program completed successfully with impi 4.0.2.003, but when run with impi 4.1.1.036 on the same nodes, I got the following output:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; universe_size = 8&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; node1:2d9d:&amp;nbsp; dapl_cma_connect: rdma_connect ERR -1 Function not implemented&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [0:node1] unexpected DAPL connection event 0x4006 from 7&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Assertion failed in file ../../dapl_poll_rc.c at line 1679: 0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; internal ABORT - process 0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; APPLICATION TERMINATED WITH THE EXIT STRING: Interrupt (signal 2)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried with mpdboot &amp;amp; mpiexec, and got the same error. So it's not the hydra manager's fault. Do you know what is wrong? Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2013 14:09:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Dynamically-start-MPI-processes/m-p/919031#M2351</guid>
      <dc:creator>jackyjngwn</dc:creator>
      <dc:date>2013-09-05T14:09:50Z</dc:date>
    </item>
  </channel>
</rss>

