mpi4py.MPI.Intercomm

class mpi4py.MPI.Intercomm(comm=None)

Bases: mpi4py.MPI.Comm

Intercommunicator

Parameters

comm (Optional[Intercomm]) –

Return type

Intercomm

static __new__(cls, comm=None)
Parameters

comm (Optional[Intercomm]) –

Return type

Intercomm

Methods Summary

Get_remote_group()

Access the remote group associated with the inter-communicator

Get_remote_size()

Intercommunicator remote size

Merge([high])

Merge intercommunicator

Attributes Summary

remote_group

remote group

remote_size

number of remote processes

Methods Documentation

Get_remote_group()

Access the remote group associated with the inter-communicator

Return type

Group

Get_remote_size()

Intercommunicator remote size

Return type

int

Merge(high=False)

Merge intercommunicator

Parameters

high (bool) –

Return type

Intracomm

Attributes Documentation

remote_group

remote group

remote_size

number of remote processes