DeinoMPI

The Great and Terrible implementation of MPI-2

function index

MPI_File_get_byte_offset

Returns the absolute byte position in the file corresponding to "offset" etypes relative to the current view
int MPI_File_get_byte_offset(
  MPI_File mpi_fh,
  MPI_Offset offset,
  MPI_Offset *disp
);

Parameters

fh
[in] file handle (handle)
offset
[in] offset (nonnegative integer)
disp
[out] absolute byte position of offset (nonnegative integer)

Remarks

MPI_FILE_GET_BYTE_OFFSET converts a view-relative offset into an absolute byte position. The absolute byte position (from the beginning of the file) of offset relative to the current view of fh is returned in disp.

Example Code

The following sample code illustrates MPI_File_get_byte_offset.

Insert code here.