3.5.7. File Offsets

PreviousUpNext
Up: Datatypes Next: Counts Previous: Absolute Addresses and Relative Address Displacements

For I/O there is a need to give the size, displacement, and offset into a file. These quantities can easily be larger than 32 bits, which can be the default size of a Fortran integer. To overcome this, these quantities are declared to be INTEGER(KIND=MPI_OFFSET_KIND) in Fortran. In C one uses MPI_Offset. These types must have the same width and encode address values in the same manner such that offset values in one language may be passed directly to another language without conversion.


PreviousUpNext
Up: Datatypes Next: Counts Previous: Absolute Addresses and Relative Address Displacements


Return to MPI-4.1 Standard Index
Return to MPI Forum Home Page

(Unofficial) MPI-4.1 of November 2, 2023
HTML Generated on November 19, 2023