MCPcopy Create free account
hub / github.com/AMReX-Codes/amrex / NProcsPerProcessor

Function NProcsPerProcessor

Src/Base/AMReX_ParallelDescriptor.H:238–238  ·  view source on GitHub ↗

Return the number of MPI ranks per node as defined by MPI_Get_processor_name. This might be the same or different from NProcsPerNode based on MPI_COMM_TYPE_SHARED.

Source from the content-addressed store, hash-verified

236 //! MPI_Get_processor_name. This might be the same or different from
237 //! NProcsPerNode based on MPI_COMM_TYPE_SHARED.
238 inline int NProcsPerProcessor () noexcept { return m_nprocs_per_processor; }
239
240 //! Return the rank in a node defined by MPI_Get_processor_name. This
241 //! might be the same or different from MyRankInNode based on

Callers 1

InitializeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected