I have a simple hello program where each child prints out the hostname
of the node it is running on.  When I run this (on a bproc machine)
with -np 4 and no host file it launches one process per node on each
of the first 4 avaliable nodes.   ie:

$ mpirun -np 4 ./mpi_hello
n1 hello
n3 hello
n2 hello
n4 hello

What I am trying to get is to launch 2 processes per node, or this output:

$ mpirun -np 4 $magic_arg ./mpi_hello
n1 hello
n1 hello
n2 hello
n2 hello


ita,
Josh

Reply via email to