MPI_Group_range_excl
int MPI_Group_range_excl(MPI_Group, int, int [][3], MPI_Group *);
Creates a new group by excluding selected tasks of an existing group.