mpi4py.MPI.Topocomm

class mpi4py.MPI.Topocomm

Bases: Intracomm

Topology intracommunicator

static __new__(cls, comm=None)
Parameters:

comm (Topocomm | None) –

Return type:

Topocomm

Methods Summary

Ineighbor_allgather(sendbuf, recvbuf)

Nonblocking Neighbor Gather to All

Ineighbor_allgatherv(sendbuf, recvbuf)

Nonblocking Neighbor Gather to All Vector

Ineighbor_alltoall(sendbuf, recvbuf)

Nonblocking Neighbor All-to-All

Ineighbor_alltoallv(sendbuf, recvbuf)

Nonblocking Neighbor All-to-All Vector

Ineighbor_alltoallw(sendbuf, recvbuf)

Nonblocking Neighbor All-to-All Generalized

Neighbor_allgather(sendbuf, recvbuf)

Neighbor Gather to All

Neighbor_allgather_init(sendbuf, recvbuf[, info])

Persistent Neighbor Gather to All

Neighbor_allgatherv(sendbuf, recvbuf)

Neighbor Gather to All Vector

Neighbor_allgatherv_init(sendbuf, recvbuf[, ...])

Persistent Neighbor Gather to All Vector

Neighbor_alltoall(sendbuf, recvbuf)

Neighbor All-to-All

Neighbor_alltoall_init(sendbuf, recvbuf[, info])

Persistent Neighbor All-to-All

Neighbor_alltoallv(sendbuf, recvbuf)

Neighbor All-to-All Vector

Neighbor_alltoallv_init(sendbuf, recvbuf[, info])

Persistent Neighbor All-to-All Vector

Neighbor_alltoallw(sendbuf, recvbuf)

Neighbor All-to-All Generalized

Neighbor_alltoallw_init(sendbuf, recvbuf[, info])

Persistent Neighbor All-to-All Generalized

neighbor_allgather(sendobj)

Neighbor Gather to All

neighbor_alltoall(sendobj)

Neighbor All to All Scatter/Gather

Attributes Summary

degrees

number of incoming and outgoing neighbors

indegree

number of incoming neighbors

inedges

incoming neighbors

inoutedges

incoming and outgoing neighbors

outdegree

number of outgoing neighbors

outedges

outgoing neighbors

Methods Documentation

Ineighbor_allgather(sendbuf, recvbuf)

Nonblocking Neighbor Gather to All

Parameters:
Return type:

Request

Ineighbor_allgatherv(sendbuf, recvbuf)

Nonblocking Neighbor Gather to All Vector

Parameters:
Return type:

Request

Ineighbor_alltoall(sendbuf, recvbuf)

Nonblocking Neighbor All-to-All

Parameters:
Return type:

Request

Ineighbor_alltoallv(sendbuf, recvbuf)

Nonblocking Neighbor All-to-All Vector

Parameters:
Return type:

Request

Ineighbor_alltoallw(sendbuf, recvbuf)

Nonblocking Neighbor All-to-All Generalized

Parameters:
Return type:

Request

Neighbor_allgather(sendbuf, recvbuf)

Neighbor Gather to All

Parameters:
Return type:

None

Neighbor_allgather_init(sendbuf, recvbuf, info=INFO_NULL)

Persistent Neighbor Gather to All

Parameters:
Return type:

Prequest

Neighbor_allgatherv(sendbuf, recvbuf)

Neighbor Gather to All Vector

Parameters:
Return type:

None

Neighbor_allgatherv_init(sendbuf, recvbuf, info=INFO_NULL)

Persistent Neighbor Gather to All Vector

Parameters:
Return type:

Prequest

Neighbor_alltoall(sendbuf, recvbuf)

Neighbor All-to-All

Parameters:
Return type:

None

Neighbor_alltoall_init(sendbuf, recvbuf, info=INFO_NULL)

Persistent Neighbor All-to-All

Parameters:
Return type:

Prequest

Neighbor_alltoallv(sendbuf, recvbuf)

Neighbor All-to-All Vector

Parameters:
Return type:

None

Neighbor_alltoallv_init(sendbuf, recvbuf, info=INFO_NULL)

Persistent Neighbor All-to-All Vector

Parameters:
Return type:

Prequest

Neighbor_alltoallw(sendbuf, recvbuf)

Neighbor All-to-All Generalized

Parameters:
Return type:

None

Neighbor_alltoallw_init(sendbuf, recvbuf, info=INFO_NULL)

Persistent Neighbor All-to-All Generalized

Parameters:
Return type:

Prequest

neighbor_allgather(sendobj)

Neighbor Gather to All

Parameters:

sendobj (Any) –

Return type:

list[Any]

neighbor_alltoall(sendobj)

Neighbor All to All Scatter/Gather

Parameters:

sendobj (list[Any]) –

Return type:

list[Any]

Attributes Documentation

degrees

number of incoming and outgoing neighbors

indegree

number of incoming neighbors

inedges

incoming neighbors

inoutedges

incoming and outgoing neighbors

outdegree

number of outgoing neighbors

outedges

outgoing neighbors