<?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 Cluster programming in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/Cluster-programming/m-p/939482#M2717</link>
    <description>&lt;P&gt;Hello everyone&amp;nbsp;&amp;nbsp;&amp;nbsp; I am new to cluster programming in MPI. I have a master-slave program structure. Can anyone tell me, how to execute my MPI program on thi type of setup?&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Sep 2013 06:52:35 GMT</pubDate>
    <dc:creator>minal_c_</dc:creator>
    <dc:date>2013-09-26T06:52:35Z</dc:date>
    <item>
      <title>Cluster programming</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Cluster-programming/m-p/939482#M2717</link>
      <description>&lt;P&gt;Hello everyone&amp;nbsp;&amp;nbsp;&amp;nbsp; I am new to cluster programming in MPI. I have a master-slave program structure. Can anyone tell me, how to execute my MPI program on thi type of setup?&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2013 06:52:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Cluster-programming/m-p/939482#M2717</guid>
      <dc:creator>minal_c_</dc:creator>
      <dc:date>2013-09-26T06:52:35Z</dc:date>
    </item>
    <item>
      <title>The answer depends on how you</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/Cluster-programming/m-p/939483#M2718</link>
      <description>&lt;P&gt;The answer&amp;nbsp;depends on how you have your program set up.&amp;nbsp; If you are using a single program that recognizes based on rank number whether it is a master or slave, then you simply run as normal.&amp;nbsp; For example, if you are running 64 total ranks, using the hostfile ./hosts, you would run:&lt;/P&gt;
&lt;P&gt;[plain]mpirun -f ./hosts&amp;nbsp;-n&amp;nbsp;64&amp;nbsp;./a.out &amp;lt;args&amp;gt;[/plain]&lt;/P&gt;
&lt;P&gt;If you have one binary for the master and a different binary for the slave, you can use an argument set to run.&amp;nbsp; So if you have 1 master rank and 63 slave ranks, you'd use:&lt;/P&gt;
&lt;P&gt;[plain]mpirun -f ./hosts -n 1 ./master &amp;lt;master args&amp;gt; : -n 63 ./slave &amp;lt;slave args&amp;gt;[/plain]&lt;/P&gt;
&lt;P&gt;Sincerely,&lt;BR /&gt; James Tullos&lt;BR /&gt; Technical Consulting Engineer&lt;BR /&gt; Intel® Cluster Tools&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2013 14:46:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/Cluster-programming/m-p/939483#M2718</guid>
      <dc:creator>James_T_Intel</dc:creator>
      <dc:date>2013-10-02T14:46:45Z</dc:date>
    </item>
  </channel>
</rss>

