Manual Pages for UNIX Darwin command on man MPI_File_get_info
MyWebUniversity

Manual Pages for UNIX Darwin command on man MPI_File_get_info

MPIFilegetinfo(3OpenMPI) MPIFilegetinfo(3OpenMPI)

NAME

MMPPIIFFiilleeggeettiinnffoo - Returns a new info object containing values for

current hints associated with a file. SSYYNNTTAAXX C Syntax

#include

int MPIFilegetinfo(MPIFile fh, MPIInfo *infoused) Fortran Syntax INCLUDE 'mpif.h'

MPIFILEGETINFO(FH, INFOUSED, IERROR)

INTEGER FH, INFOUSED, IERROR

CC++++ SSyynnttaaxx

#include

MPI::Info MPI::File::Getinfo() const IINNPPUUTT PPAARRAAMMEETTEERR fh File handle (handle). OOUUTTPPUUTT PPAARRAAMMEETTEERRSS infoused New info object (handle).

IERROR Fortran only: Error status (integer).

DESCRIPTION

MPIFilegetinfo returns a new info object containing all the hints

that the system currently associates with the file fh. The current set-

ting of all hints actually used by the system related to this open file is returned in infoused. The user is responsible for freeing infoused via MPIInfofree. Note that the set of hints returned in infoused may be greater or smaller than the set of hints passed in to MPIFileopen,

MPIFilesetview, and MPIFilesetinfo, as the system may not recog-

nize some hints set by the user, and may automatically set other hints that the user has not requested to be set. See the HINTS section for a list of hints that can be set. HHIINNTTSS The following hints can be used as values for the infoused argument. SETTABLE HINTS:

- sharedfiletimeout: Amount of time (in seconds) to wait for access

to the shared file pointer before exiting with MPIERRTIMEDOUT.

- rwlocktimeout: Amount of time (in seconds) to wait for obtaining a

read or write lock on a contiguous chunk of a UNIX file before exiting with MPIERRTIMEDOUT.

- noncollreadbufsize: Maximum size of the buffer used by MPI I/O to

satisfy read requests in the noncollective data-access routines. (See

NOTE, below.)

- noncollwritebufsize: Maximum size of the buffer used by MPI I/O to

satisfy write requests in the noncollective data-access routines. (See

NOTE, below.)

- collreadbufsize: Maximum size of the buffer used by MPI I/O to

satisfy read requests in the collective data-access routines. (See

NOTE, below.)

- collwritebufsize: Maximum size of the buffer used by MPI I/O to

satisfy write requests in the collective data-access routines. (See

NOTE, below.)

NOTE: A buffer size smaller than the distance (in bytes) in a UNIX file

between the first byte and the last byte of the access request causes MPI I/O to iterate and perform multiple UNIX read() or write() calls. If the request includes multiple noncontiguous chunks of data, and the buffer size is greater than the size of those chunks, then the UNIX read() or write() (made at the MPI I/O level) will access data not requested by this process in order to reduce the total number of write() calls made. If this is not desirable behavior, you should reduce this buffer size to equal the size of the contiguous chunks within the aggregate request.

- mpiioconcurrency: (boolean) controls whether nonblocking I/O rou-

tines can bind an extra thread to an LWP.

- mpiiocollcontiguous: (boolean) controls whether subsequent collec-

tive data accesses will request collectively contiguous regions of the file.

NON-SETTABLE HINTS:

- filename: Access this hint to get the name of the file.

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 MPIFilegetinfo(3OpenMPI)




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