MPI_Datarep_extent_function callback function
This function is a placeholder for user-defined extent callback functions.
Syntax
int MPI_Datarep_extent_function(
MPI_Datatype datatype,
_Out_ MPI_Aint *file_extent,
_In_ void *extra_state
);
Parameters
datatype
Datatype.file_extent [out]
The number of bytes required to store datatype in the file representation.extra_state [in]
The same argument that was passed to the MPI_Register_datarep call.
Return value
The extent callback functions return an error code.
Fortran
SUBROUTINE DATAREP_EXTENT_FUNCTION(DATATYPE, EXTENT, EXTRA_STATE, IERROR)
INTEGER DATATYPE, IERROR
INTEGER(KIND=MPI_ADDRESS_KIND) EXTENT, EXTRA_STATE
Remarks
MPI will only call this routine with predefined datatypes employed by the user.
Requirements
Product |
HPC Pack 2012 MS-MPI Redistributable Package, HPC Pack 2008 R2 MS-MPI Redistributable Package, HPC Pack 2008 MS-MPI Redistributable Package or HPC Pack 2008 Client Utilities |
Header |
Mpi.h; Mpif.h |