LAM/MPI logo

MPI binding for MPI_GRAPHDIMS_GET

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just the tutorials

Neutral Binding

MPI_GRAPHDIMS_GET(comm, nnodes, nedges)
[ IN comm] communicator for group with graph structure (handle)
[ OUT nnodes] number of nodes in graph (integer) (same as number of processes in the group)
[ OUT nedges] number of edges in graph (integer)


C Binding

int MPI_Graphdims_get(MPI_Comm comm, int *nnodes, int *nedges)

FORTRAN Binding

MPI_GRAPHDIMS_GET(COMM, NNODES, NEDGES, IERROR)
INTEGER COMM, NNODES, NEDGES, IERROR

C++ Binding
(in the MPI:: namespace)

void Graphcomm::Get_dims(int nnodes[], int nedges[]) const