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
number of edges
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
- index
- nedges
number of edges
- neighbors
- nneighbors
number of neighbors
- nnodes
number of nodes
- topo
topology information