MPI_Group_translate_ranks

--- Translates the ranks of processes in one group to those in another group

Input Parameters

group1
group1 (handle)
n
number of ranks in ranks1 and ranks2 arrays (integer)
ranks1
array of zero or more valid ranks in group1
group2
group2 (handle)

Output Parameter

ranks2
array of corresponding ranks in group2, MPI_UNDEFINED when no correspondence exists.

Synopsis


#include "mpi.h"
int MPI_Group_translate_ranks ( group_a, n, ranks_a, group_b, ranks_b )
MPI_Group group_a;
int n;
int       *ranks_a;
MPI_Group  group_b;
int       *ranks_b;

Location: group_tranks.c