Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] limiting tasks/ranks
From: Ralph Castain (rhc_at_[hidden])
Date: 2012-11-01 19:45:57


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 <dpturner_at_[hidden]> 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: dpturner_at_[hidden]
> NERSC Division phone: (510) 486-4027
> Lawrence Berkeley Lab fax: (510) 486-4316
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users