MPI_Graphdims_get

int MPI_Graphdims_get(MPI_Comm, int *, int *);
Retrieves graph topology information from a communicator.