Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] avoid usage of ssh on local machine
From: Sun, Yongqi (E F ES EN 72) (yongqi.sun_at_[hidden])
Date: 2008-11-17 11:39:59


I have my problem solved. Thank you for your help.

Since the "", which is looked for by ssh, is not in my
ifconfig, I add this address to my network setting, by

 $ ifconfig eth0:1
 $ route add -host dev eth0:1

And finally it works.

Best regards


-----Original Message-----
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, which is not in my
> ifconfig.
> 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
the problem.

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:

- /etc/hosts
- 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

Jeff Squyres
Cisco Systems
users mailing list