Never mind, I think I found the problem, the error comes from somewhere else.<br><br>Thank you again!<br>Limin<br><br><div class="gmail_quote">On Mon, Sep 26, 2011 at 5:42 PM, Limin Gu <span dir="ltr"><<a href="mailto:lgu@penguincomputing.com">lgu@penguincomputing.com</a>></span> wrote:<br>
<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">On Mon, Sep 26, 2011 at 5:32 PM, Pavan Balaji <span dir="ltr"><<a href="mailto:balaji@mcs.anl.gov" target="_blank">balaji@mcs.anl.gov</a>></span> wrote:<br>
</div><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><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><div><br>I tried to have just the ip address, it didn't work. <br><div class="im"><br>[root@flatline examples]# mpiexec -f machinefile -n 2 ./cpi<br></div>Invalid node specification "172.20.20.100"<br>
Invalid node specification "172.20.20.101"<br>Ctrl-C caught... cleaning up processes<br>[root@flatline examples]#<br><br>It works when machinefile is simply as:<br>n0<br>n1<div class="im"><br><br>[root@flatline examples]# mpiexec -f machinefile -n 2 ./cpi<br>
</div>
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's wrong? Thank you!<br>
<font color="#888888">
<br>Limin<br><br><br></font></div><div class="im"><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></div><br>
</blockquote></div><br>