Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] problems with hostfile when doing MPMD
From: jody (jody.xha_at_[hidden])
Date: 2008-04-10 07:05:10


Hi
Using a more realistic application than a simple "Hello, world"
even the --host version doesn't work correctly
Called this way

mpirun -np 3 --host aim-plankton ./QHGLauncher
--read-config=pureveg_new.cfg -o output.txt : -np 3 --host aim-fanta4
./QHGLauncher_64 --read-config=pureveg_new.cfg -o output.txt

the application starts but seems to hang after a while.

Running the application in gdb:

mpirun -np 3 --host aim-plankton -x DISPLAY ./run_gdb.sh ./QHGLauncher
--read-config=pureveg_new.cfg -o output.txt : -np 3 --host aim-fanta4
-x DISPLAY ./run_gdb.sh ./QHGLauncher_64 --read-config=pureveg_new.cfg
-o bruzlopf -n 12
--seasonality=3,data/cai_temp2.clim,data/cai_precip2.clim

i can see that the processes on aim-fanta4 have indeed gotten stuck
after a few initial outputs,
and the processes on aim-plankton all have a messsage:

[aim-plankton][0,1,1][btl_tcp_endpoint.c:572:mca_btl_tcp_endpoint_complete_connect]
connect() failed with errno=113

If i opnly use aim-plankton alone or aim-fanta4 alone everythiung runs
as expected.

BTW: i'm, using open MPI 1.2.2

Thanks
  Jody
On Thu, Apr 10, 2008 at 12:40 PM, jody <jody.xha_at_[hidden]> wrote:
> HI
> In my network i have some 32 bit machines and some 64 bit machines.
> With --host i successfully call my application:
> mpirun -np 3 --host aim-plankton -x DISPLAY ./run_gdb.sh ./MPITest :
> -np 3 --host aim-fanta4 -x DISPLAY ./run_gdb.sh ./MPITest64
> (MPITest64 has the same code as MPITest, but was compiled on the 64 bit machine)
>
> But when i use hostfiles:
> mpirun -np 3 --hostfile hosts32 -x DISPLAY ./run_gdb.sh ./MPITest :
> -np 3 --hostfile hosts64 -x DISPLAY ./run_gdb.sh ./MPITest64
> all 6 processes are started on the 64 bit machine aim-fanta4.
>
> hosts32:
> aim-plankton slots=3
> hosts64
> aim-fanta4 slots
>
> Is this a bug or a feature? ;)
>
> Jody
>