Open MPI logo

Open MPI User's Mailing List Archives

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

From: Peter Beerli (beerli_at_[hidden])
Date: 2006-02-13 09:07:54


Dear Andy,

you wrote that with openmpi:
> avierstr_at_muscorum:~> mpiexec --hostfile hostfile -np 1 migrate-n

it does not work, but with lam-mpi
> avierstr_at_muscorum:~/thomas> mpiexec -np 2 migrate-n

you started openmpi on only _one_ node, migrate needs at least _two_
nodes to run
(as you did in lam-mpi)
migrate actually aborts when running on only one node, it should show
an error message so, like this

zork>which mpirun
/usr/local/openmpi/bin/mpirun
zork>mpirun -machinefile ~/onehost -np 1 migrate-n
migrate-n
   =============================================
   MIGRATION RATE AND POPULATION SIZE ESTIMATION
   using Markov Chain Monte Carlo simulation
   =============================================
   compiled for a PARALLEL COMPUTER ARCHITECTURE
   Version debug 2.1.3 [x]
   Program started at Mon Feb 13 09:03:45 2006

Reading N ...
Reading S ...

In file main.c on line 697
This program was compiled to use a parallel computer
and you tried to run it on only a single node.
This will not work because it uses a
"single_master-many_worker" architecture
and needs at least TWO nodes

Peter