MPI_File_get_size(3)

MPI_File_get_size - Returns the file size

As shipped in IRIX 6.5.30. Added in IRIX 6.5.19.

NAME
     MPI_File_get_size - Returns the file size

SYNOPSIS
     C:

          #include "mpi.h"

          int MPI_File_get_size(MPI_File fh, MPI_Offset *size)


     Fortran:

          INCLUDE "mpif.h" (or USE MPI)

          INTEGER fh, ierror
          INTEGER(KIND=MPI_OFFSET_KIND) size

          CALL MPI_FILE_GET_SIZE(fh, size, ierror)


DESCRIPTION
     The MPI_File_get_size routine is a data access operation that returns, in
     size, the current size in bytes of the file associated with the file
     handle, fh.

     This routine accepts the following arguments:

     fh        Specifies the file handle (handle)

     size      Returns the size of the file in bytes (nonnegative integer)
               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)