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

Function MyRankInNode

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

Return the rank in a node defined by MPI_COMM_TYPE_SHARED. This might be the same or different from MyRankInProcessor based on MPI_Get_processor_name.

Source from the content-addressed store, hash-verified

231 //! might be the same or different from MyRankInProcessor based on
232 //! MPI_Get_processor_name.
233 inline int MyRankInNode () noexcept { return m_rank_in_node; }
234
235 //! Return the number of MPI ranks per node as defined by
236 //! MPI_Get_processor_name. This might be the same or different from

Callers 1

InitializeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected