[mpich-discuss] an error in install mpich( 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)

ll baibai1983 at 126.com
Sat Mar 19 23:05:38 CDT 2016


Hi everyone:
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:

[mpiexec at 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
[mpiexec at mpi1] main (/home/mpi/mpich-3.2/src/pm/hydra/ui/mpich/mpiexec.c:291): unable to check if www.plaust.edu.cn is local


There was only one line in my machinefile:
mpi2




And when I tried to ping mpi2, there was an respond:
[mpi at mpi1 ~]$ ping mpi2
PING mpi2 (172.18.0.217) 56(84) bytes of data.
64 bytes from mpi2 (172.18.0.217): icmp_seq=1 ttl=64 time=1.38 ms
64 bytes from mpi2 (172.18.0.217): icmp_seq=2 ttl=64 time=0.263 ms


Is there anyone who have encountered this problem?
 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20160320/9ec96bdf/attachment.html>
-------------- next part --------------
_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list