Dear Andy,

you wrote that with openmpi:
avierstr@muscorum:~> mpiexec --hostfile hostfile -np 1  migrate-n


it does not work, but with lam-mpi
avierstr@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

Reply via email to