mpi_array.distribution.ClonedDistribution.get_peer_rank

ClonedDistribution.get_peer_rank(inter_locale_rank)

Returns the peer_rank rank (of peer_comm) which is is the equivalent process of the inter_locale_rank rank of the inter_locale_comm communicator.

Parameters:inter_locale_rank (int) – A rank of inter_locale_comm.
Return type:int
Returns:The equivalent rank from peer_comm.