mpi_array.distribution.ClonedDistribution.get_peer_rank¶
-
ClonedDistribution.
get_peer_rank
(inter_locale_rank)¶ Returns the
peer_rank
rank (ofpeer_comm
) which is is the equivalent process of theinter_locale_rank
rank of theinter_locale_comm
communicator.Parameters: inter_locale_rank ( int
) – A rank ofinter_locale_comm
.Return type: int
Returns: The equivalent rank from peer_comm
.