<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><p dir="ltr">Yes i had got that problem during execution<br>
What you are using rsh or ssh?<br>
As i was using rsh and using it i execute as<br>
mpiexec -launcher rsh -f machinefile -n 3 ./a.out<br>
a.out is executable file or object file after compilation</p>
<div class="gmail_quote">On 20 Mar 2016 09:36, "ll" <<a href="mailto:baibai1983@126.com">baibai1983@126.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi everyone:</div><div>I am a beginner in using mpich. There was an error in installing mpich 3.2.  when I ran command “ mpiexec -f machinefile -n 3 hostname", there was a error which said that:<br></div><div><div>[mpiexec@mpi1] HYDU_sock_is_local (/home/mpi/mpich-3.2/src/pm/hydra/utils/sock/sock.c:532): gethostbyname error on mpi1: Host name lookup failure</div><div>[mpiexec@mpi1] main (/home/mpi/mpich-3.2/src/pm/hydra/ui/mpich/mpiexec.c:291): unable to check if <a href="http://www.plaust.edu.cn" target="_blank">www.plaust.edu.cn</a> is local</div></div><div><br></div><div>There was only one line in my <span style="line-height:1.7">machinefile:</span></div><div><span style="line-height:1.7">mpi2</span></div><div><span style="line-height:1.7"><br></span></div><div><span style="line-height:1.7"><br></span></div><div><span style="line-height:1.7">And when I tried to ping mpi2, there was an respond:</span></div><div>[mpi@mpi1 ~]$ ping mpi2</div><div>PING mpi2 (172.18.0.217) 56(84) bytes of data.</div><div>64 bytes from mpi2 (172.18.0.217): icmp_seq=1 ttl=64 time=1.38 ms</div><div>64 bytes from mpi2 (172.18.0.217): icmp_seq=2 ttl=64 time=0.263 ms</div><div><br></div><div>Is there anyone who have encountered this problem?</div><div><span style="line-height:1.7"> </span></div><div><span style="line-height:1.7"><br></span></div><div><span style="line-height:1.7"><br></span></div></div><br><br><span title="neteasefooter"><p> </p></span><br>_______________________________________________<br>
discuss mailing list     <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" rel="noreferrer" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br></blockquote></div>