On Mon, Sep 26, 2011 at 5:32 PM, Pavan Balaji <span dir="ltr">&lt;<a href="mailto:balaji@mcs.anl.gov">balaji@mcs.anl.gov</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div class="im"><br>
On 09/26/2011 03:43 PM, Limin Gu wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi All,<br>
<br>
mpich2-1.3.2 is configured and built with default options.<br>
<br>
I have a machine file like this:<br>
<br>
n0 ifhn=172.20.20.100<br>
n1 ifhn=172.20.20.101<br>
</blockquote>
<br></div>
You can just create the machinefile as:<br>
<br>
172.20.20.100<br>
172.20.20.101<br></blockquote><div><br>I tried to have just the ip address, it didn&#39;t work. <br><br>[root@flatline examples]# mpiexec -f machinefile -n 2 ./cpi<br>Invalid node specification &quot;172.20.20.100&quot;<br>

Invalid node specification &quot;172.20.20.101&quot;<br>Ctrl-C caught... cleaning up processes<br>[root@flatline examples]#<br><br>It works when machinefile is simply as:<br>n0<br>n1<br><br>[root@flatline examples]# mpiexec -f machinefile -n 2 ./cpi<br>

Process 0 of 2 is on n0<br>Process 1 of 2 is on n1<br>pi is approximately 3.1415926544231318, Error is 0.0000000008333387<br>wall clock time = 0.002628<br>[root@flatline examples]#<br><br>Any idea what&#39;s wrong? Thank you!<br>

<br>Limin<br><br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
No rebuild is necessary.<br>
<br>
 -- Pavan<br><font color="#888888">
<br>
-- <br>
Pavan Balaji<br>
<a href="http://www.mcs.anl.gov/%7Ebalaji" target="_blank">http://www.mcs.anl.gov/~balaji</a><br>
</font></blockquote></div><br>