Delen via


MPI_Cartdim_get functie

Hiermee haalt u cartesische topologiegegevens op die zijn gekoppeld aan een communicator.

Syntaxis

int MPIAPI MPI_Cartdim_get(
        MPI_Comm comm,
  _Out_ int      *ndims
);

Parameters

  • Comm
    Communicator met cartesische structuur.

  • ndims [uit]
    Aantal dimensies van de cartesische structuur.

Retourwaarde

Retourneert MPI_SUCCESS bij succes. Anders is de retourwaarde een foutcode.

In Fortran wordt de retourwaarde opgeslagen in de parameter IERROR .

Fortran

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

Vereisten

Product

HPC Pack 2012 MS-MPI Redistributable Package, HPC Pack 2008 R2 MS-MPI Redistributable Package, HPC Pack 2008 MS-MPI Redistributable Package of HPC Pack 2008 Client Utilities

Header

Mpi.h; Mpif.h

Bibliotheek

Msmpi.lib

DLL

Msmpi.dll

Zie ook

MpI-procestopologiefuncties