27. File Offsets

PreviousUpNext
Up: Data Types 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: Data Types Next: Counts Previous: Absolute Addresses and Relative Address Displacements


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

(Unofficial) MPI-3.1 of June 4, 2015
HTML Generated on June 4, 2015