Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: [OMPI users] limiting tasks/ranks
From: David Turner (dpturner_at_[hidden])
Date: 2012-11-01 19:21:52


Is there a way to limit the number of tasks started by mpirun?
For example, on our 48-core SMP, I'd like to limit MPI jobs to
a maximum of 12 tasks. That is, "mpirun -np 16 ..." would
return an error. Note that this is a strictly interactive
system; no batch environment available.

I've just quickly scanned the MCA parameters:

ompi_info --param all all

and couldn't find the answer to my question.


Best regards,
David Turner
User Services Group        email: dpturner_at_[hidden]
NERSC Division             phone: (510) 486-4027
Lawrence Berkeley Lab        fax: (510) 486-4316