<?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 That's not a supported model. in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-Init-thread-or-MPI-Init-failed-in-child-process/m-p/1049274#M4391</link>
    <description>&lt;P&gt;That's not a supported model.&amp;nbsp; Most likely what's happening here is: prog A gets initialized correctly and has the global communicator (MPI_COMM_WORLD) properly defined.&amp;nbsp; Then prog B starts from within A but it's unable to get initialized.&lt;/P&gt;

&lt;P&gt;Can you run B as a stand-alone?&amp;nbsp; I looked back in the thread but didn't see that scenario.&amp;nbsp; You only say that A starts outside of mpiexec.&lt;/P&gt;

&lt;P&gt;Alternatively, have you tried doing system("mpiexec -localonly B arg").&amp;nbsp; I don't know if that'll work but might be worth a try.&lt;/P&gt;

&lt;P&gt;I'll ask around and see if anyone has worked on a similar application before.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
	~Gergana&lt;/P&gt;</description>
    <pubDate>Thu, 19 Mar 2015 01:55:15 GMT</pubDate>
    <dc:creator>Gergana_S_Intel</dc:creator>
    <dc:date>2015-03-19T01:55:15Z</dc:date>
    <item>
      <title>MPI_Init_thread or MPI_Init failed in child process</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-Init-thread-or-MPI-Init-failed-in-child-process/m-p/1049268#M4385</link>
      <description>&lt;P&gt;I have two programs, A and B. They all are developed with MPI. A will call B.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;If I directly start A and call B, every thing is OK.&lt;/P&gt;

&lt;P&gt;If I start A with mpiexec, like mpiexec -localonly 2 A.exe, and call B. MPI_Init_thread or MPI_Init will fail in B.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Below is the error message I got.&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;[01:2668]..ERROR:Error while connecting to host, No connection could be made because the target machine actively refused it. (10061)&lt;BR /&gt;
		[01:2668]..ERROR:Connect on sock (host=localhost, port=53649) failed, exhaused all end points&lt;BR /&gt;
		SMPDU_Sock_post_connect failed.&lt;BR /&gt;
		[1] PMI_ConnectToHost failed: unable to post a connect to localhost:53649, error: Undefined dynamic error code&lt;BR /&gt;
		uPMI_ConnectToHost returning PMI_FAIL&lt;BR /&gt;
		[1] PMI_Init failed.&lt;BR /&gt;
		Fatal error in PMPI_Init_thread: Other MPI error, error stack:&lt;BR /&gt;
		MPIR_Init_thread(659):&lt;BR /&gt;
		MPID_Init(154).......: channel initialization failed&lt;BR /&gt;
		MPID_Init(448).......: PMI_Init returned -1&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Can anyone tell me what is the problem? How to solve it?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Yongjun&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2015 20:47:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-Init-thread-or-MPI-Init-failed-in-child-process/m-p/1049268#M4385</guid>
      <dc:creator>Yongjun_L_</dc:creator>
      <dc:date>2015-03-12T20:47:10Z</dc:date>
    </item>
    <item>
      <title>Hi Yongjun,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-Init-thread-or-MPI-Init-failed-in-child-process/m-p/1049269#M4386</link>
      <description>&lt;P&gt;Hi Yongjun,&lt;/P&gt;

&lt;P&gt;You'll have to give us more details on how exactly you call B from A.&amp;nbsp; Is program A a script that simply calls B?&amp;nbsp; Or do you mean you're &lt;A href="http://www.mpi-forum.org/docs/mpi-2.0/mpi-20-html/node98.htm"&gt;spawning a process&lt;/A&gt; from A that then executes B?&lt;/P&gt;

&lt;P&gt;If you have 2 executables, you can use argument sets to run both of them simultaneously:&lt;/P&gt;

&lt;P&gt;mpiexec -localonly -n 1 A.exe : -n 1 B.exe&lt;/P&gt;

&lt;P&gt;Looking forward to hearing back.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
	~Gergana&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2015 21:14:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-Init-thread-or-MPI-Init-failed-in-child-process/m-p/1049269#M4386</guid>
      <dc:creator>Gergana_S_Intel</dc:creator>
      <dc:date>2015-03-13T21:14:34Z</dc:date>
    </item>
    <item>
      <title>Hi Gergana,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-Init-thread-or-MPI-Init-failed-in-child-process/m-p/1049270#M4387</link>
      <description>&lt;P&gt;&lt;SPAN style="color: rgb(96, 96, 96); font-size: 13.0080003738403px; line-height: 13.0080003738403px;"&gt;Hi Gergana,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(96, 96, 96); font-size: 13.0080003738403px; line-height: 13.0080003738403px;"&gt;Than you for your reply.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT color="#606060"&gt;&lt;SPAN style="font-size: 13.0080003738403px; line-height: 13.0080003738403px;"&gt;A and B are two&amp;nbsp;&lt;/SPAN&gt;separate executable files.&amp;nbsp;&lt;SPAN style="font-size: 13.0080003738403px; line-height: 13.0080003738403px;"&gt;&amp;nbsp;B must be called from A. &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;FONT color="#606060"&gt;&lt;SPAN style="font-size: 13.0080003738403px; line-height: 13.0080003738403px;"&gt;A use API to start B and pass argument to B. There is no communication between A and B.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(96, 96, 96); font-size: 13.0080003738403px; line-height: 13.0080003738403px;"&gt;Yongjun&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2015 21:56:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-Init-thread-or-MPI-Init-failed-in-child-process/m-p/1049270#M4387</guid>
      <dc:creator>Yongjun_L_</dc:creator>
      <dc:date>2015-03-13T21:56:00Z</dc:date>
    </item>
    <item>
      <title>Hi Gergana,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-Init-thread-or-MPI-Init-failed-in-child-process/m-p/1049271#M4388</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 12px;"&gt;Hi Gergana,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;I want to start multiple As on different computers and each A will start B with different argument. A doesn't need use mpiexec to start B.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Yongjun&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2015 23:44:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-Init-thread-or-MPI-Init-failed-in-child-process/m-p/1049271#M4388</guid>
      <dc:creator>Yongjun_L_</dc:creator>
      <dc:date>2015-03-13T23:44:21Z</dc:date>
    </item>
    <item>
      <title>Thanks for clarifying,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-Init-thread-or-MPI-Init-failed-in-child-process/m-p/1049272#M4389</link>
      <description>&lt;P&gt;Thanks for clarifying, Yongjun.&amp;nbsp; Are A and B both MPI applications?&amp;nbsp; Or is A non-MPI but B is an MPI application?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2015 22:49:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-Init-thread-or-MPI-Init-failed-in-child-process/m-p/1049272#M4389</guid>
      <dc:creator>Gergana_S_Intel</dc:creator>
      <dc:date>2015-03-18T22:49:20Z</dc:date>
    </item>
    <item>
      <title>A and B are both MPI</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-Init-thread-or-MPI-Init-failed-in-child-process/m-p/1049273#M4390</link>
      <description>&lt;P&gt;A and B are both MPI applications.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I start two A on two computers. The command is&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; mpiexec -np 2 -machinefile host.txt &amp;nbsp;A.exe&lt;/P&gt;

&lt;P&gt;Each A will start B with different argument&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; system( "B arg1" );&lt;/P&gt;

&lt;P&gt;MPI_Init_thread will fail in B and cause B crash.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2015 23:12:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-Init-thread-or-MPI-Init-failed-in-child-process/m-p/1049273#M4390</guid>
      <dc:creator>Yongjun_L_</dc:creator>
      <dc:date>2015-03-18T23:12:00Z</dc:date>
    </item>
    <item>
      <title>That's not a supported model.</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-Init-thread-or-MPI-Init-failed-in-child-process/m-p/1049274#M4391</link>
      <description>&lt;P&gt;That's not a supported model.&amp;nbsp; Most likely what's happening here is: prog A gets initialized correctly and has the global communicator (MPI_COMM_WORLD) properly defined.&amp;nbsp; Then prog B starts from within A but it's unable to get initialized.&lt;/P&gt;

&lt;P&gt;Can you run B as a stand-alone?&amp;nbsp; I looked back in the thread but didn't see that scenario.&amp;nbsp; You only say that A starts outside of mpiexec.&lt;/P&gt;

&lt;P&gt;Alternatively, have you tried doing system("mpiexec -localonly B arg").&amp;nbsp; I don't know if that'll work but might be worth a try.&lt;/P&gt;

&lt;P&gt;I'll ask around and see if anyone has worked on a similar application before.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
	~Gergana&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2015 01:55:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-Init-thread-or-MPI-Init-failed-in-child-process/m-p/1049274#M4391</guid>
      <dc:creator>Gergana_S_Intel</dc:creator>
      <dc:date>2015-03-19T01:55:15Z</dc:date>
    </item>
    <item>
      <title>Hi Gergana,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-Init-thread-or-MPI-Init-failed-in-child-process/m-p/1049275#M4392</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="color: rgb(96, 96, 96); font-size: 13.0080003738403px; line-height: 13.0080003738403px;"&gt;Gergana,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(96, 96, 96); font-size: 13.0080003738403px; line-height: 13.0080003738403px;"&gt;Of course I can run B as standalone.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;I tried to use mpiexec -localonly 1 B arg to start B before. It doesn't work for me.&lt;/P&gt;

&lt;P&gt;The only problem is that if I use mpiexec to start A, B will fail.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Yongjun&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2015 23:23:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-Init-thread-or-MPI-Init-failed-in-child-process/m-p/1049275#M4392</guid>
      <dc:creator>Yongjun_L_</dc:creator>
      <dc:date>2015-03-19T23:23:22Z</dc:date>
    </item>
  </channel>
</rss>

