<?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 MPI Dynamic Process Management in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-Dynamic-Process-Management/m-p/796778#M698</link>
    <description>Hi, I have several questions about dynamic process managemnt in MPI.&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;1. For example I have application a.out. If I execute mpirun twice (mpirun -n 1 a.out) Can I make the a.out to communicate each other?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I clearly understand that mpirun -n 2 a.out creates two process that can communicate each other over MPI_COMM_WORLD, but I want to know if I run mpirun -n 1 a.out twice they have two different MPI_COMM_WORLD, is there a way to unite two MPI_COMM_WORLDs?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;2. If I create process using MPI_Comm_spawn, but after some time the parent process has died, what will happen to the child process?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;3. If some process A, create process B, that process B create process C, and C create D, (all processes use using MPI_Comm_spawn)etc... can I make these A, B, C, D process to communicate each other using one common communicator?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;</description>
    <pubDate>Mon, 25 Jun 2012 13:16:48 GMT</pubDate>
    <dc:creator>Tomoya_Shinoda</dc:creator>
    <dc:date>2012-06-25T13:16:48Z</dc:date>
    <item>
      <title>MPI Dynamic Process Management</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-Dynamic-Process-Management/m-p/796778#M698</link>
      <description>Hi, I have several questions about dynamic process managemnt in MPI.&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;1. For example I have application a.out. If I execute mpirun twice (mpirun -n 1 a.out) Can I make the a.out to communicate each other?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I clearly understand that mpirun -n 2 a.out creates two process that can communicate each other over MPI_COMM_WORLD, but I want to know if I run mpirun -n 1 a.out twice they have two different MPI_COMM_WORLD, is there a way to unite two MPI_COMM_WORLDs?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;2. If I create process using MPI_Comm_spawn, but after some time the parent process has died, what will happen to the child process?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;3. If some process A, create process B, that process B create process C, and C create D, (all processes use using MPI_Comm_spawn)etc... can I make these A, B, C, D process to communicate each other using one common communicator?&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;</description>
      <pubDate>Mon, 25 Jun 2012 13:16:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-Dynamic-Process-Management/m-p/796778#M698</guid>
      <dc:creator>Tomoya_Shinoda</dc:creator>
      <dc:date>2012-06-25T13:16:48Z</dc:date>
    </item>
    <item>
      <title>MPI Dynamic Process Management</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-Dynamic-Process-Management/m-p/796779#M699</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If you run two separate instances of mpirun, by default the two will not communicate with each other. You can use MPI_Open_port and MPI_Comm_accept in one application to allow it to receive connections (server) and MPI_Comm_connect to connect to that port (client). In this case, you would run each application separately:&lt;BR /&gt;&lt;BR /&gt;[plain]mpirun -n 1 ./server
mpirun -n 1 ./client[/plain]&lt;BR /&gt;This will not change MPI_COMM_WORLD in either application, but will create new communicators that can be used to send messages between the two.&lt;BR /&gt;&lt;BR /&gt;If the parent process ends early, all of the processes in that MPI_COMM_WORLD will end. However, the spawned processes do not share the same MPI_COMM_WORLD and will continue. There will be an error at MPI_Finalize(), since it will attempt to communicate with the parent.&lt;BR /&gt;&lt;BR /&gt;You can chain process spawning and merging, using MPI_Intercomm_merge. This will allow a single communicator to be created that will contain all of the processes.&lt;BR /&gt;&lt;BR /&gt;Sincerely,&lt;BR /&gt;James Tullos&lt;BR /&gt;Technical Consulting Engineer&lt;BR /&gt;Intel Cluster Tools</description>
      <pubDate>Mon, 25 Jun 2012 16:40:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-Dynamic-Process-Management/m-p/796779#M699</guid>
      <dc:creator>James_T_Intel</dc:creator>
      <dc:date>2012-06-25T16:40:51Z</dc:date>
    </item>
    <item>
      <title>MPI Dynamic Process Management</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-Dynamic-Process-Management/m-p/796780#M700</link>
      <description>Thanks for your reply,&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;So, If I say that I am going to implement services that manages cluster nodes (than could be dynamicaly added or removed), mpi jobs, it won't be a good idea? MPI is best using just in general computation, but in client/server, or management software.&lt;/DIV&gt;</description>
      <pubDate>Mon, 25 Jun 2012 17:37:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-Dynamic-Process-Management/m-p/796780#M700</guid>
      <dc:creator>Tomoya_Shinoda</dc:creator>
      <dc:date>2012-06-25T17:37:38Z</dc:date>
    </item>
    <item>
      <title>MPI Dynamic Process Management</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/MPI-Dynamic-Process-Management/m-p/796781#M701</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Correct. MPI is generally intended for dividing a large computation into manageable pieces. You can use it for server/client capabilities, or in management software, but that is not its primary purpose.&lt;BR /&gt;&lt;BR /&gt;Sincerely,&lt;BR /&gt;James Tullos&lt;BR /&gt;Technical Consulting Engineer&lt;BR /&gt;Intel Cluster Tools</description>
      <pubDate>Mon, 25 Jun 2012 18:36:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/MPI-Dynamic-Process-Management/m-p/796781#M701</guid>
      <dc:creator>James_T_Intel</dc:creator>
      <dc:date>2012-06-25T18:36:46Z</dc:date>
    </item>
  </channel>
</rss>

