MPI_File_write_all - Performs a collective write using
individual file pointer
SYNOPSIS
C:
#include "mpi.h"
int MPI_File_write_all(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_ALL(fh, buf, count, datatype,
status, ierror)
DESCRIPTION
MPI_File_write_all is a collective version of the blocking
MPI_File_write interface.
This routine 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_File_write(3), MPI_IO(3)
Man(1) output converted with
man2html