MPI_Graph_neighbors_count

--- Returns the number of neighbors of a node associated with a graph topology

Input Parameters

comm
communicator with graph topology (handle)
rank
rank of process in group of comm (integer)

Output Parameter

nneighbors
number of neighbors of specified process (integer)

Synopsis


#include "mpi.h"
int MPI_Graph_neighbors_count ( comm, rank, nneighbors )
MPI_Comm  comm;
int       rank;
int      *nneighbors;

Location: graph_nbr_cnt.c