mpi4py.MPI.Group
- class mpi4py.MPI.Group
Bases:
object
Group of processes
Methods Summary
Compare
(group)Compare two groups
Create_from_session_pset
(session, pset_name)Create a new group from session and process set
Difference
(group1, group2)Create a new group from the difference of two existing groups
Dup
()Duplicate a group
Excl
(ranks)Create a new group by excluding listed 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)Create a new group by including listed members
Intersection
(group1, group2)Create a new group from the intersection of two existing groups
Range_excl
(ranks)Create a new group by excluding ranges of members
Range_incl
(ranks)Create a new group by including ranges of members
Translate_ranks
([ranks, group])Translate ranks of processes in one group to those in another group
Union
(group1, group2)Create a new group from the union of two existing groups
f2py
(arg)py2f
()Attributes Summary
rank of this process in group
number of processes in group
Methods Documentation
- classmethod Create_from_session_pset(session, pset_name)
Create a new group from session and process set
- classmethod Difference(group1, group2)
Create a new group from the difference of two existing groups
- Excl(ranks)
Create a new group by excluding listed members
- Incl(ranks)
Create a new group by including listed members
- classmethod Intersection(group1, group2)
Create a new group from the intersection of two existing groups
- Range_excl(ranks)
Create a new group by excluding ranges of members
- Range_incl(ranks)
Create a new group by including ranges of members
- Translate_ranks(ranks=None, group=None)
Translate ranks of processes in one group to those in another group
- classmethod Union(group1, group2)
Create a new group from the union of two existing groups
Attributes Documentation
- rank
rank of this process in group
- size
number of processes in group