MPI_Graph_map
--- Maps process to graph topology information
Input Parameters
- comm
- input communicator (handle)
- nnodes
- number of graph nodes (integer)
- index
- integer array specifying the graph structure, see MPI_GRAPH_CREATE
- edges
- integer array specifying the graph structure
Output Parameter
- newrank
- reordered rank of the calling process; MPI_UNDEFINED if the
calling process does not belong to graph (integer)
Synopsis
#include "mpi.h"
int MPI_Graph_map ( comm_old, nnodes, index, edges, newrank )
MPI_Comm comm_old;
int nnodes;
int *index;
int *edges;
int *newrank;
Location: graph_map.c