MPI_File_get_atomicity - Returns the atomicity mode
SYNOPSIS
C:
#include "mpi.h"
int MPI_File_get_atomicity (MPI_File fh, int *flag)
Fortran:
INCLUDE "mpif.h" (or USE MPI)
INTEGER fh, ierror
LOGICAL flag
CALL MPI_FILE_GET_ATOMICITY(fh, flag, ierror)
DESCRIPTION
MPI_FILE_get_atomicity returns the current consistency
semantics for data access operations on the set of file
handles created by one collective open process.
This routine accepts the following arguments:
fh Specifies the file handle (handle)
flag Specifies which mode to enable. If flag is true,
atomic mode is enabled; if flag is false,
nonatomic mode is enabled.
ierror Specifies the return code value for successful
completion, which is in MPI_SUCCESS.
MPI_SUCCESS is defined in the mpif.h file.
Notes for Fortran
All MPI objects (for example, MPI_Datatype, MPI_Comm,
MPI_File) are of type INTEGER.
SEE ALSO
MPI_File_open(3), MPI_IO(3)
Man(1) output converted with
man2html