MPI_Topo_test

int MPI_Topo_test(MPI_Comm, int *);
Returns the type of virtual topology associated with a communicator.