I'm a basic MPI user and I've built a set of code that uses MPI_COMM_SPAWN.&nbsp; The way that the code runs the master process runs on only 1 process while the slave processes use n processes.<br><br>I have a mpd.hosts file that includes three machines: node_1, node_2, and node_3.&nbsp; mpdtrace confirms that the loop has been established and runs over all three machines.&nbsp; To run the code I execute the following on node_1:
<br><br>mpiexec -n 1 Prog_Master <a href="http://test.in">test.in</a> &gt;&amp; test.mpilog &amp;<br><br>Prog_Master spawns 4 processes using MPI_COMM_SPAWN.&nbsp; Rather than spreading the 4 spawned processes across the three machines listed in 
mpd.hosts (where the loop is running), all 4 spawned processes run on node_1.<br><br>Am I doing something wrong here?<br><br>Thanks in advance.<br>HPH<br clear="all"><br>-- <br>Hrant P. Hratchian, Ph.D.<br>E. R. Davidson Fellow
<br>Department of Chemistry<br>Indiana University<br>Bloomington, Indiana 47405-7102<br>812.856.0829<br><a href="mailto:hhratchi@indiana.edu">hhratchi@indiana.edu</a>