Benjamin,

There was no need to open a new thread with the same title and a
slightly modified question,
it just added some confusion.

If you want to allow oversubscription by default, you can insert the
following line in your
/etc/openmpi-mca-params.conf (update the path if needed)

rmaps_base_oversubscribe = true

FWIW

you can also do that on a per user basis by adding the same line in
$HOME/.openmpi/mca-params.conf

last but not least, that can also be achieved via an environment variable
export OMPI_MCA_rmaps_base_oversubscribe=true

and as already answered, via the command line
mpirun --oversubscribe ...


Cheers,

Gilles

On Thu, Jan 25, 2018 at 7:57 AM, Jeff Squyres (jsquyres)
<jsquy...@cisco.com> wrote:
> Ben --
>
> Did you not see Jeff Hammond's reply earlier today?
>
>     https://www.mail-archive.com/users@lists.open-mpi.org//msg31964.html
>
>
>> On Jan 24, 2018, at 5:40 PM, Benjamin Brock <br...@berkeley.edu> wrote:
>>
>> Recently, when I try to run something locally with OpenMPI with more than 
>> two ranks (I have a dual-core machine), I get the friendly message
>>
>> --------------------------------------------------------------------------
>> There are not enough slots available in the system to satisfy the 3 slots
>> that were requested by the application:
>>   ./kmer_generic_hash
>>
>> Either request fewer slots for your application, or make more slots available
>> for use.
>> --------------------------------------------------------------------------
>>
>> Why is oversubscription now disabled by default when running without a 
>> hostfile?  And how can I turn this off?  Is the recommended way to do this 
>> editing /etc/openmpi/openmpi-default-hostfile?
>>
>> I'm using default OpenMPI 3.0.0 on Arch Linux.
>>
>> Cheers,
>>
>> Ben
>> _______________________________________________
>> users mailing list
>> users@lists.open-mpi.org
>> https://lists.open-mpi.org/mailman/listinfo/users
>
>
> --
> Jeff Squyres
> jsquy...@cisco.com
>
>
>
> _______________________________________________
> users mailing list
> users@lists.open-mpi.org
> https://lists.open-mpi.org/mailman/listinfo/users
_______________________________________________
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users

Reply via email to