mpi4py.MPI.Group
- class mpi4py.MPI.Group(group=None)
Bases:
object
Group of processes
Methods Summary
Compare
(group1, group2)Compare two groups
Difference
(group1, group2)Produce a group from the difference of two existing groups
Dup
()Duplicate a group
Excl
(ranks)Produce a group by reordering an existing group and taking only unlisted members
Free
()Free a group
Get_rank
()Return the rank of this process in a group
Get_size
()Return the size of a group
Incl
(ranks)Produce a group by reordering an existing group and taking only listed members
Intersection
(group1, group2)Produce a group as the intersection of two existing groups
Range_excl
(ranks)Create a new group by excluding ranges of processes from an existing group
Range_incl
(ranks)Create a new group from ranges of of ranks in an existing group
Translate_ranks
(group1, ranks1[, group2])Translate the ranks of processes in one group to those in another group
Union
(group1, group2)Produce a group by combining two existing groups
f2py
(arg)py2f
()Attributes Summary
rank of this process in group
number of processes in group
Methods Documentation
- classmethod Compare(group1, group2)
Compare two groups
- classmethod Difference(group1, group2)
Produce a group from the difference of two existing groups
- Excl(ranks)
Produce a group by reordering an existing group and taking only unlisted members
- Incl(ranks)
Produce a group by reordering an existing group and taking only listed members
- classmethod Intersection(group1, group2)
Produce a group as the intersection of two existing groups
- Range_excl(ranks)
Create a new group by excluding ranges of processes from an existing group
- Range_incl(ranks)
Create a new group from ranges of of ranks in an existing group
- classmethod Translate_ranks(group1, ranks1, group2=None)
Translate the ranks of processes in one group to those in another group
- classmethod Union(group1, group2)
Produce a group by combining two existing groups
Attributes Documentation
- rank
rank of this process in group
- size
number of processes in group