# Groups

An MPI group is a set of process identifiers identified by their rank (see MPI.Comm_rank and MPI.Group_rank). They are used within a communicator to describe the participants in a communication universe.

## Types and enums

MPI.ComparisonType
Comparison

An enum denoting the result of Comm_compare:

• MPI.IDENT: the objects are handles for the same object (identical groups and same contexts).

• MPI.CONGRUENT: the underlying groups are identical in constituents and rank order; these communicators differ only by context.

• MPI.SIMILAR: members of both objects are the same but the rank order differs.

• MPI.UNEQUAL: otherwise

source

## Functions

### Operations

MPI.Group_rankFunction
Group_rank(group::Group)

The rank of the process in the particular group.

Returns an integer in the range 0:MPI.Group_size()-1.

External links

source