Re: [OMPI users] Is there a MPI routine that returns the value of "npernode" being used?

2022-04-02 Thread Gilles Gouaillardet via users
Ernesto,

Not directly.

But you can use MPI_Comm_split_type(..., MPI_COMM_TYPE_SHARED, ...) and then
MPI_Comm_size(...) on the "returned" communicator.

Cheers,

Gilles

On Sun, Apr 3, 2022 at 5:52 AM Ernesto Prudencio via users <
users@lists.open-mpi.org> wrote:

> Thanks,
>
>
>
> Ernesto.
>
> Schlumberger-Private
>


[OMPI users] Is there a MPI routine that returns the value of "npernode" being used?

2022-04-02 Thread Ernesto Prudencio via users
Thanks,

Ernesto.


Schlumberger-Private