MPI_Group_range_incl

--- Creates a new group from ranges of ranks in an existing group

Input Parameters

group
group (handle)
n
number of triplets in array ranges (integer)
ranges
a one-dimensional array of integer triplets, of the form (first rank, last rank, stride) indicating ranks in group or processes to be included in newgroup

Output Parameter

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

Note

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

Synopsis


#include "mpi.h"
int MPI_Group_range_incl ( group, n, ranges, newgroup )
MPI_Group group, *newgroup;
int       n, ranges[][3];

Location: group_rincl.c