/*D
   MPI_Group_range_incl - Creates a new group from ranges of ranks in an existing group

Synopsis:
.vb
int MPI_Group_range_incl(MPI_Group group, int n, int ranges[][3],
                         MPI_Group *newgroup)
.ve

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 of processes to be included in newgroup (integer)

Output Parameters:
. newgroup - new group derived from above, in the order defined by ranges (handle)

.N ThreadSafe

.N Fortran

.N Errors
.N MPI_SUCCESS
.N MPI_ERR_ARG
.N MPI_ERR_GROUP
.N MPI_ERR_OTHER

.seealso: MPI_Group_free
D*/

