LAM/MPI logo

MPI binding for MPI_CARTDIM_GET

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just the tutorials

Neutral Binding

MPI_CARTDIM_GET(comm, ndims)
[ IN comm] communicator with cartesian structure (handle)
[ OUT ndims] number of dimensions of the cartesian structure (integer)


C Binding

int MPI_Cartdim_get(MPI_Comm comm, int *ndims)

FORTRAN Binding

MPI_CARTDIM_GET(COMM, NDIMS, IERROR)
INTEGER COMM, NDIMS, IERROR

C++ Binding
(in the MPI:: namespace)

int Cartcomm::Get_dim() const