MPI_Graph_create

--- Makes a new communicator to which topology information has been attached

Input Parameters

comm_old
input communicator without topology (handle)
nnodes
number of nodes in graph (integer)
index
array of integers describing node degrees (see below)
edges
array of integers describing graph edges (see below)
reorder
ranking may be reordered (true ) or not (false ) (logical)

Output Parameter

comm_graph
communicator with graph topology added (handle)

Algorithm

We ignore the periods and reorder info currently.

Synopsis


#include "mpi.h"
int MPI_Graph_create ( comm_old, nnodes, index, edges, reorder, comm_graph )
MPI_Comm  comm_old;
int       nnodes;
int      *index;
int      *edges;
int       reorder;
MPI_Comm *comm_graph;

Location: graph_create.c