DeinoMPI

The Great and Terrible implementation of MPI-2

function index

MPI_File_get_atomicity

Returns the atomicity mode
int MPI_File_get_atomicity(
  MPI_File mpi_fh,
  int *flag
);

Parameters

mpi_fh
[in] file handle (handle)
flag
[out] true if atomic mode, false if nonatomic mode (logical)

Remarks

MPI_FILE_GET_ATOMICITY returns the current consistency semantics for data access operations on the set of file handles created by one collective open. If flag is true, atomic mode is enabled; if flag is false, nonatomic mode is enabled.

Example Code

The following sample code illustrates MPI_File_get_atomicity.

Insert code here.