mpi4py.MPI.Graphcomm
- class mpi4py.MPI.Graphcomm
Bases:
Topocomm
General graph topology intracommunicator.
Methods Summary
Get_dims
()Return the number of nodes and edges.
Get_neighbors
(rank)Return list of neighbors of a process.
Get_neighbors_count
(rank)Return number of neighbors of a process.
Get_topo
()Return index and edges.
Attributes Summary
Number of nodes and edges.
Edges.
Index.
Number of edges.
Neighbors.
Number of neighbors.
Number of nodes.
Topology information.
Methods Documentation
- Get_neighbors(rank)
Return list of neighbors of a process.
- Get_neighbors_count(rank)
Return number of neighbors of a process.
Attributes Documentation
- dims
Number of nodes and edges.
- edges
Edges.
- index
Index.
- nedges
Number of edges.
- neighbors
Neighbors.
- nneighbors
Number of neighbors.
- nnodes
Number of nodes.
- topo
Topology information.