[mvapich-discuss] Needs firewall setting for MPI
Jonathan Perkins
perkinjo at cse.ohio-state.edu
Wed Jul 22 13:01:38 EDT 2009
On Sun, Jul 12, 2009 at 11:37:41PM -0500, Satoshi Isono wrote:
> Hello everyone,
>
> Does anyone know FireWall configuration which allows MVAPICH code to
> run. Which port do I have to open? I am using mpirun_rsh based on SSH.
> Certainly, ssh command without password works.
>
> [craysp at t2k-0004 ~]$ ssh t2k-ps1 hostname
> t2k-ps1
>
> [craysp at t2k-0004 ~]$ ssh t2k-ps2 hostname
> t2k-ps2
>
> t2k-0004 is login node, on where everyone launches mpirun_rsh command.
> For two nodes, t2k-ps1 and t2k-ps2 are actually compute nodes. When
> launching mpirun_rsh, but it fails with the following messages.
>
> gethostbyname: Host name lookup failure
>
> Child exited abnormally!
> cleanupKilling remote processes...gethostbyname: Host name lookup
> failure
> DONE
>
> It seems resolving hostname is fail. Can you please advise me or point
> me checking files?
This seems to be more of an issue network configuration in resolving
names and seemingly not a firewall issue.
Snippet from manpage...
The function gethostname(2) is used to get the hostname. Only when the
hostname -s is called will gethostbyname(3) be called. The difference
in gethostname(2) and gethostbyname(3) is that gethostbyname(3) is net-
work aware, so it consults /etc/nsswitch.conf and /etc/host.conf to
decide whether to read information in /etc/sysconfig/network or
/etc/hosts the hostname is also set when the network interface is
brought up.
--
Jonathan Perkins
http://www.cse.ohio-state.edu/~perkinjo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://mail.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20090722/af86a74b/attachment.bin
More information about the mvapich-discuss
mailing list