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 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

Reply via email to