MPI_File_read_at - Uses explicit offset to perform a read
operation
SYNOPSIS
C:
#include "mpi.h"
int MPI_File_read_at(MPI_File fh, MPI_Offset offset, 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
INTEGER(KIND=MPI_OFFSET_KIND) offset
CALL MPI_FILE_READ_AT(fh, offset, buf, count,
datatype, status, ierror)
DESCRIPTION
MPI_File_read_at reads a file beginning at the position
specified by offset. This routine accepts the following
arguments:
fh Specifies the file handle (handle)
offset Specifies the file offset (nonnegative integer)
buf Returns 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.
MPI_File_open(3), MPI_IO(3)
Man(1) output converted with
man2html