Not per se, but you could set the #slots to 12, and then add

rmaps_base_no_oversubscribe = 1

to your default MCA param file. That would do what you describe.


On Nov 1, 2012, at 4:21 PM, David Turner <dptur...@lbl.gov> wrote:

> Hi,
> 
> 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.
> 
> Thanks!
> 
> -- 
> Best regards,
> 
> David Turner
> User Services Group        email: dptur...@lbl.gov
> NERSC Division             phone: (510) 486-4027
> Lawrence Berkeley Lab        fax: (510) 486-4316
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users

Reply via email to