Closed
Description
With the HEAD of v1.10 and master (probably v2.x, too, but I didn't check it): if mpirun
complains about a lack of slots, mpirun
still returns an exit status of 0. Note that the test below was run on a machine with 16 cores; this test is run with the ssh launcher and not under a job scheduler (i.e., not in a SLURM job):
$ mpirun --version
mpirun (Open MPI) 1.10.3a1
Report bugs to http://www.open-mpi.org/community/help/
$ mpirun --host mpi001 -np 4 uptime
--------------------------------------------------------------------------
There are not enough slots available in the system to satisfy the 4 slots
that were requested by the application:
uptime
Either request fewer slots for your application, or make more slots available
for use.
--------------------------------------------------------------------------
$ echo $status
0
A secondary question: did we decide that this is the behavior we wanted? The mpi001 machine has 16 cores. I remember we talked about this, but I don't remember what we decided...
Thanks to @rfaucett for identifying the problem.