DeinoMPI

The Great and Terrible implementation of MPI-2

function index

MPI_File_get_size

Returns the file size
int MPI_File_get_size(
  MPI_File mpi_fh,
  MPI_Offset *size
);

Parameters

mpi_fh
[in] file handle (handle)
size
[out] size of the file in bytes (nonnegative integer)

Remarks

MPI_FILE_GET_SIZE returns, in size, the current size in bytes of the file associated with the file handle mpi_fh. As far as consistency semantics are concerned, MPI_FILE_GET_SIZE is a data access operation.

Example Code

The following sample code illustrates MPI_File_get_size.

Insert code here.