MPI_File_write(3)

MPI_File_write - Write using individual file pointer

Showing IRIX 6.5.30 (default release). Added in IRIX 6.5.19.

NAME
     MPI_File_write -  Write using individual file pointer

SYNOPSIS
     C:

          #include "mpi.h"

          int MPI_File_write(MPI_File fh, void *buf, int count,
          MPI_Datatype datatype, MPI_Status *status)


     Fortran:

          INCLUDE "mpif.h" (or USE MPI)

          <type> BUF(*)
          INTEGER fh, count, datatype, status(MPI_STATUS_SIZE),
          ierror

          CALL MPI_FILE_WRITE(fh, buf, count, datatype,
          status, ierror)


DESCRIPTION
     MPI_File_write writes a file using the individual file pointer.

     MPI_File_write accepts the following arguments:

     fh        Specifies the file handle (handle)

     buf       Specifies the initial address of the buffer (choice)

     count     Specifies the number of elements in the buffer (nonnegative
               integer)

     datatype  Specifies the data type of each buffer element (handle)

     status    Returns the status object (status)

     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)