Open MPI logo

Open MPI User's Mailing List Archives

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

From: Brian Barrett (brbarret_at_[hidden])
Date: 2006-02-24 08:32:03

On Feb 24, 2006, at 8:23 AM, Emanuel Ziegler wrote:

>> So, the question from the mpirun_debug.out-file is, what IP-
>> addresses do
>> node01 and node02 have, is the local node01, while
>> is
>> node02?
>> Maybe the route on node01 is not correct to node02?
> Ok, I figured out the problem, but didn't solve it completely.
> node01 and node02 both have multiple IP addresses.
> node01 has for TCP (eth1) and for IPoIB (ib0).
> node02 has for TCP (eth1) and for IPoIB (ib0).
> The latter addresses are useless, but don't affect the problem. I
> chose
> eth1 on both machines b/c eth0 is only 10/100 MBit and I wanted to
> have
> GBit connections to the file server in the internal network. The
> problem
> was, that I set up eth0 on node01 (golden client) using DHCP on the
> external network for setup purposes. Hence, it also had an external
> address ( which was unaccessible from node02.
> Since orterun was started with the parameters
> --nsreplica "0.0.0;tcp://;tcp://
> --gprreplica "0.0.0;tcp://;tcp://
> node02 first tried to communicate with which was
> impossible and hanged although it would have been able to access
> without any problems. But obviously it never got to this
> point.
> Although disabling eth0 with "ifdown eth0" solves the problem, this is
> not applicable to my cluster since this was just a test setup und I
> need
> the external address for my head node.
> Can I configure orterun/orted to use only eth1?

Yes, start mpirun with the arguments "-mca oob_tcp_include eth1 -mca
btl_tcp_if_include eth1" and it should work properly. The paramaters
can also be set in either the global or per-user configuration file
for Open MPI (once you have it tested, of course). See our FAQ item
on this:

The second argument is because you'll probably run into the exact
same problem when the TCP transport tries to start up (although it
sounds like you're going to be using native IB for communicate, it
never hurts to make sure TCP has a chance of working).


   Brian Barrett
   Open MPI developer