<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><div class="gmail_quote"><div dir="ltr">Hello everybody,<div>I need to determine the target hosts of an MPI_Comm_spawn by using a file.</div><div>My solution has been to follow the same procedure of giving a host list, but changing the key:</div><div><br></div><div><b>MPI_Info_set(info, "hostfile", filename)</b> instead of<b> MPI_Info_set(info, "hosts", hostlist)</b><br><div><div><br></div><div>However, MPI_Comm_spawn seems to ignore "hostfile" key and the processes are spawned in the wrong hosts (the hosts set during the first mpiexec).</div><div><br></div><div>Which key should I use?</div><div><br></div><div>I'm working over MPICH 3.2</div><div><br></div><div>Best regards,</div><span class="HOEnZb"><font color="#888888">-- <br><div class="m_3328203884655859448gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><span style="color:rgb(102,102,102);font-family:helvetica,arial,verdana,sans-serif;font-size:13.3333px;line-height:16.6667px">Sergio Iserte - <a href="http://me.sergioiserte.info" target="_blank">http://me.sergioiserte.info</a><br></span></div><div><span style="color:rgb(102,102,102);font-family:helvetica,arial,verdana,sans-serif;font-size:13.3333px;line-height:16.6667px">Research Assistant @ HPC&A Research Group<br></span><span style="color:rgb(102,102,102);font-family:helvetica,arial,verdana,sans-serif;font-size:10pt;line-height:16.6667px;background-color:transparent">Universitat Jaume I (UJI)</span><br><i><span><span style="color:rgb(102,102,102);font-family:helvetica,arial,verdana,sans-serif;font-size:13.3333px;line-height:16.6667px">Castellón de la Plana (Spain)</span></span></i></div></div></div></div></div></div></div></div></div></font></span></div></div></div></div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><br></div></div></div></div></div></div></div></div></div>
</div>