LAM/MPI logo

MPI binding for MPI_GRAPH_GET

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

Neutral Binding

MPI_GRAPH_GET(comm, maxindex, maxedges, index, edges)
[ IN comm] communicator with graph structure (handle)
[ IN maxindex] length of vector index in the calling program
(integer)
[ IN maxedges] length of vector edges in the calling program
(integer)
[ OUT index] array of integers containing the graph structure (for details see the definition of MPI_GRAPH_CREATE)
[ OUT edges] array of integers containing the graph structure


C Binding

int MPI_Graph_get(MPI_Comm comm, int maxindex, int maxedges, int *index, int *edges)

FORTRAN Binding

MPI_GRAPH_GET(COMM, MAXINDEX, MAXEDGES, INDEX, EDGES, IERROR)
INTEGER COMM, MAXINDEX, MAXEDGES, INDEX(*), EDGES(*), IERROR

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

void Graphcomm::Get_topo(int maxindex, int maxedges, int index[], int edges[]) const