mpi.Group

Module Contents

class mpi.Group.Group(capsule, **kwds)

Bases: mpi.Object.Object

Encapsulation of MPI communicator groups

undefined
rank = 0
size = 0
capsule
isEmpty(self)

Check whether i am an empty group

include(self, included)

Build a group out of the processes in {included}

exclude(self, excluded)

Build a group out of all processes except those in {excluded}

union(self, g)

Build a new group whose processes are the union of mine and {g}’s

intersection(self, g)

Build a new group whose processes are the intersection of mine and {g}’s

difference(self, g)

Build a new group whose processes are the difference of mine and {g}’s