Open MPI logo

Open MPI User's Mailing List Archives

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

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

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.

   aim-plankton slots=3
  aim-fanta4 slots

Is this a bug or a feature? ;)