I have my problem solved. Thank you for your help.
Since the "192.168.160.1", which is looked for by ssh, is not in my
ifconfig, I add this address to my network setting, by
$ ifconfig eth0:1 192.168.160.1
$ route add -host 192.168.160.1 dev eth0:1
And finally it works.
From: users-bounces_at_[hidden] [mailto:users-bounces_at_[hidden]] On
Behalf Of Jeff Squyres
Sent: Montag, 17. November 2008 13:18
To: Open MPI Users
Subject: Re: [OMPI users] avoid usage of ssh on local machine
On Nov 17, 2008, at 7:04 AM, Sun, Yongqi (E F ES EN 72) wrote:
> The OMPI is trying to launch 192.168.160.1, which is not in my
> The contents of ifconfig and /etc/hosts are attached.
> What should I do now?
OMPI got that IP address from somewhere; probably by a name resolution
of the name "W71c-140644"...?
It does seem odd that your hostname is listed twice in /etc/hosts for
two different IP addresses. One looks like it's supposed to be a
localhost kind of address and the other doesn't seem to resolve to an
IP address that is configured on that host (i.e., both eth0 and eth1
don't have that IP address). This is at least likely to be part of
It seems like there's some wonkyness in your IP addressing setup on
that host; you might want to double check that all your networking
setup is correct. Check things like:
- what IP addresses you want the machine to be
- what the hostname is
- what /etc/nsswitch.conf contains
- what DNS and gethostbyname() returns for the name that is returned
by the "hostname" command
users mailing list