[OMPI users] Oversubscribing

2018-01-24 Thread Benjamin Brock
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?

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

Re: [OMPI users] Oversubscribing

2018-01-24 Thread Jeff Hammond
mpirun --oversubscribe $OTHER_ARGS

Jeff

On Wed, Jan 24, 2018 at 12:13 PM, Benjamin Brock 
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?
>
> 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 Hammond
jeff.scie...@gmail.com
http://jeffhammond.github.io/
___
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users

[OMPI users] Oversubscribing When Running Locally

2018-01-24 Thread Benjamin Brock
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

Re: [OMPI users] Oversubscribing When Running Locally

2018-01-24 Thread Jeff Squyres (jsquyres)
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  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


Re: [OMPI users] Oversubscribing When Running Locally

2018-01-24 Thread Gilles Gouaillardet
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)
 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  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