[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
Sun Mar 20 23:49:22 CDT 2016


Thanks. But my problems is still not sloved. I always use ssh to manage my server. But the problem is still unsloved whether I executed the command "mpiexec -launcher ssh -f machinefile -n 3 hostname"  by ssh or by terminal.
ps:My system is centos 6.5.




At 2016-03-20 13:30:18, "sanjesh pant" <spant3474 at gmail.com> wrote:


Yes i had got that problem during execution
What you are using rsh or ssh?
As i was using rsh and using it i execute as
mpiexec -launcher rsh -f machinefile -n 3 ./a.out
a.out is executable file or object file after compilation

On 20 Mar 2016 09:36, "ll" <baibai1983 at 126.com> wrote:

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?
 








 


_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20160321/6d941228/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