MPI_File_read_all(3)MPI_File_read_all(3)NAMEMPI_File_read_all - Uses individual file pointer to perform a collective
read
SYNOPSIS
C:
#include "mpi.h"
int MPI_File_read_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_READ_ALL(fh, buf, count, datatype,
status, ierror)
DESCRIPTIONMPI_File_read_all is a collective version of the blocking MPI_File_read
interface. MPI_File_read_all accepts the following arguments:
fh Specifies the file handle (handle)
count Specifies the number of elements in the buffer (nonnegative
integer)
datatype Specifies the data type of each buffer element (handle)
buf Returns the initial address of the buffer (choice)
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 ALSOMPI_File_open(3), MPI_File_read(3), MPI_IO(3)
Page 1