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

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 ./ ./QHGLauncher
--read-config=pureveg_new.cfg -o output.txt : -np 3 --host aim-fanta4
-x DISPLAY ./ ./QHGLauncher_64 --read-config=pureveg_new.cfg
-o bruzlopf -n 12

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:

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

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 ./ ./MPITest :
> -np 3 --host aim-fanta4 -x DISPLAY ./ ./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 ./ ./MPITest :
> -np 3 --hostfile hosts64 -x DISPLAY ./ ./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