This feature is now available on the trunk - syntax is "-pernode".
In the absence of the number of procs:
"bynode" will launch on all *slots*, with the processes mapped on a bynode
basis
"byslot" will launch on all *slots*, with procs mapped on a byslot basis.
"pernode" will launch one proc/nod
Open MPI does not currently have an option to effect this kind of behavior.
It basically assumes that you are going to ask for the right number of slots
for your job.
I'll file a ticket for a future enhancement to add this behavior.
On 10/6/06 11:25 AM, "Maestas, Christopher Daniel"
wrote:
> H
Hello,
I was wondering if openmpi had a -pernode like behavior similar to osc
mpiexec
mpiexec -pernode mpi_hello
Would launch N mpi processes on N nodes ... No more no less.
Openmpi already will try and run N*2 nodes if you don't specify -np
mpirun -np mpi_hello
Launches N*2