Delen via


MPI_File_get_type_extent functie

Retourneert de omvang van het gegevenstype in het bestand.

Syntaxis

int MPIAPI MPI_File_get_type_extent(
        MPI_File     file,
        MPI_Datatype datatype,
  _Out_ MPI_Aint     *extent
);

Parameters

  • Bestand
    Bestandsingang.

  • Datatype
    Datatype.

  • extent [out]
    Omvang van het gegevenstype.

Retourwaarde

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

In Fortran wordt de retourwaarde opgeslagen in de parameter IERROR .

Fortran

    MPI_FILE_GET_TYPE_EXTENT(FH, DATATYPE, EXTENT, IERROR)
        INTEGER FH, DATATYPE, IERROR
        INTEGER(KIND=MPI_ADDRESS_KIND) EXTENT

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-bestandsfuncties