mpi4py.MPI.Distgraphcomm

class mpi4py.MPI.Distgraphcomm(comm=None)

Bases: Topocomm

Distributed graph topology intracommunicator

Parameters

comm (Optional[Distgraphcomm]) –

Return type

Distgraphcomm

static __new__(cls, comm=None)
Parameters

comm (Optional[Distgraphcomm]) –

Return type

Distgraphcomm

Methods Summary

Get_dist_neighbors()

Return adjacency information for a distributed graph topology

Get_dist_neighbors_count()

Return adjacency information for a distributed graph topology

Methods Documentation

Get_dist_neighbors()

Return adjacency information for a distributed graph topology

Return type

Tuple[List[int], List[int], Optional[Tuple[List[int], List[int]]]]

Get_dist_neighbors_count()

Return adjacency information for a distributed graph topology

Return type

int