MPI_Group_incl

--- Produces a group by reordering an existing group and taking only listed members

Input Parameters

group
group (handle)
n
number of elements in array ranks (and size of newgroup ) (integer)
ranks
ranks of processes in group to appear in newgroup (array of integers)

Output Parameter

newgroup
new group derived from above, in the order defined by ranks (handle)

Note

This implementation does not currently check to see that the list of ranks to include are valid ranks in the group.

Synopsis


#include "mpi.h"
int MPI_Group_incl ( group, n, ranks, group_out )
MPI_Group group, *group_out;
int       n, *ranks;

Location: group_incl.c