DeinoMPI

The Great and Terrible implementation of MPI-2

function index

MPI_File_read_at

Read using explict offset
int MPI_File_read_at(
  MPI_File mpi_fh,
  MPI_Offset offset,
  void *buf,
  int count,
  MPI_Datatype datatype,
  MPI_Status *status
);

Parameters

mpi_fh
[in] file handle (handle)
offset
[in] file offset (nonnegative integer)
buf
[out] initial address of buffer (choice)
count
[in] number of elements in buffer (nonnegative integer)
datatype
[in] datatype of each buffer element (handle)
status
[out] status object (Status)

Remarks

MPI_FILE_READ_AT reads a file beginning at the position specified by offset.

Example Code

The following sample code illustrates MPI_File_read_at.

Insert code here.