next up previous contents
Next: Communicator Management Up: Groups, Contexts and Communicators Previous: Basic Concepts   Contents

Group Management

int Group.Size()
Java binding of the MPI operation MPI_GROUP_SIZE. The return value is size.

int Group.Rank()
Java binding of the MPI operation MPI_GROUP_RANK. The return value is Rank.

static int [] Group.Translate_ranks(Group group1, int [] ranks1,
                                    Group group2)
Java binding of the MPI operation MPI_GROUP_TRANSLATE_RANKS. The value of n is taken to be size of the ranks1 argument. The return value is ranks2.

static int Group.Compare(Group group1, Group group2)
Java binding of the MPI operation MPI_GROUP_COMPARE. The return value is result.

Group Comm.Group()
Java binding of the MPI operation MPI_COMM_GROUP. The return value is group.

static Group Group.Union(Group group1, Group group2)
Java binding of the MPI operation MPI_GROUP_UNION. The return value is newgroup.

static Group Group.Intersection(Group group1, Group group2)
Java binding of the MPI operation MPI_GROUP_INTERSECTION. The return value is newgroup.

static Group Group.Difference(Group group1, Group group2)
Java binding of the MPI operation MPI_GROUP_DIFFERENCE. The return value is newgroup.

Group Group.Incl(int [] ranks)
Java binding of the MPI operation MPI_GROUP_INCL. The value of n is taken to be size of the ranks argument. The return value is newgroup.

Group Group.Excl(int [] ranks)
Java binding of the MPI operation MPI_GROUP_EXCL. The value of n is taken to be size of the ranks argument. The return value is newgroup.

Group Group.Range_incl(int [] [] ranges)
Java binding of the MPI operation MPI_GROUP_RANGE_INCL. The value of n is taken to be size of the ranges argument. The return value is newgroup.

Group Group.Range_excl(int [] [] ranges)
Java binding of the MPI operation MPI_GROUP_RANGE_EXCL. The value of n is taken to be size of the ranges argument. The return value is newgroup.

void Group.finalize()
The Group destructor will invoke the MPI operation MPI_GROUP_FREE.


next up previous contents
Next: Communicator Management Up: Groups, Contexts and Communicators Previous: Basic Concepts   Contents
Bryan Carpenter 2002-07-12