Manual Pages for UNIX Darwin command on man MPI_File_get_view
MyWebUniversity

Manual Pages for UNIX Darwin command on man MPI_File_get_view

MPIFilegetview(3OpenMPI) MPIFilegetview(3OpenMPI)

NAME

MMPPIIFFiilleeggeettvviieeww - Returns the process's view of data in the file.

SSYYNNTTAAXX C Syntax

#include

int MPIFilegetview(MPIFile fh, MPIOffset *disp, MPIDatatype *etype, MPIDatatype *filetype, char *datarep)

Fortran Syntax (see FORTRAN 77 NOTES)

INCLUDE 'mpif.h' MPIFILEGETVIEW(FH, DISP, ETYPE,

FILETYPE, DATAREP, IERROR)

INTEGER FH, ETYPE, FILETYPE, IERROR

CHARACTER*(*) DATAREP INTEGER(KIND=MPIOFFSETKIND) DISP CC++++ SSyynnttaaxx

#include

void MPI::File::Getview(MPI::Offset& disp, MPI::Datatype& etype, MPI::Datatype& filetype, char* datarep) const IINNPPUUTT PPAARRAAMMEETTEERR fh File handle (handle). OOUUTTPPUUTT PPAARRAAMMEETTEERRSS disp Displacement (integer). etype Elementary data type (handle). filetype File type (handle). See Restrictions, below. datarep Data representation (string).

IERROR Fortran only: Error status (integer).

DESCRIPTION

The MPIFilegetview routine returns the process's view of the data in the file. The current values of the displacement, etype, and filetype are returned in disp, etype, and filetype, respectively.

The MPIFilegetview interface allows the user to pass a data-repre-

sentation string via the datarep argument. FFOORRTTRRAANN 7777 NNOOTTEESS

The MPI standard prescribes portable Fortran syntax for the DISP argu-

ment only for Fortran 90. FORTRAN 77 users may use the non-portable

syntax. INTEGER*MPIOFFSETKIND DISP where MPIOFFSETKIND is a constant defined in mpif.h and gives the length of the declared integer in bytes. EERRRROORRSS Almost all MPI routines return an error value; C routines as the value

of the function and Fortran routines in the last argument. C++ func-

tions do not return errors. If the default error handler is set to

MPI::ERRORSTHROWEXCEPTIONS, then on error the C++ exception mechanism

will be used to throw an MPI:Exception object. Before the error value is returned, the current MPI error handler is called. For MPI I/O function errors, the default error handler is set

to MPIERRORSRETURN. The error handler may be changed with

MPIFileseterrhandler; the predefined error handler

MPIERRORSAREFATAL may be used to make I/O errors fatal. Note that

MPI does not guarantee that an MPI program can continue past an error. Open MPI 1.2 September 2006 MPIFilegetview(3OpenMPI)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™