DeinoMPI

The Great and Terrible implementation of MPI-2

function index

MPI_File_get_amode

Returns the file access mode
int MPI_File_get_amode(
 MPI_File mpi_fh, 
 int *amode
);

Parameters

mpi_fh
[in] file handle (handle)
amode
[out] access mode (integer)

Remarks

MPI_FILE_GET_AMODE returns, in amode, the access mode of the file associated with mpi_fh.

Example Code

The following sample code illustrates MPI_File_get_amode.

Insert code here.