mpi_array.distribution.ClonedDistribution.get_peer_rank¶
-
ClonedDistribution.get_peer_rank(inter_locale_rank)¶ Returns the
peer_rankrank (ofpeer_comm) which is is the equivalent process of theinter_locale_rankrank of theinter_locale_commcommunicator.Parameters: inter_locale_rank ( int) – A rank ofinter_locale_comm.Return type: intReturns: The equivalent rank from peer_comm.