DeinoMPI

The Great and Terrible implementation of MPI-2

function index

MPI_File_write_at

Write using explict offset
int MPI_File_write_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
[in] 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_WRITE_AT writes a file beginning at the position specified by offset.

Example Code

The following sample code illustrates MPI_File_write_at.

Insert code here.