source: proiecte/hpl/openmpi_compiled/share/man/man3/MPI_File_get_info.3 @ 97

Last change on this file since 97 was 97, checked in by (none), 14 years ago

Adding compiled files

File size: 4.2 KB
Line 
1.\"Copyright 2006-2008 Sun Microsystems, Inc.
2.\" Copyright (c) 1996 Thinking Machines Corporation
3.TH MPI_File_get_info 3 "Dec 08, 2009" "1.4" "Open MPI"
4.SH NAME
5\fBMPI_File_get_info\fP \- Returns a new info object containing values for current hints associated with a file.
6
7
8.SH SYNTAX
9.ft R
10.nf
11C Syntax
12    #include <mpi.h>
13    int MPI_File_get_info(MPI_File \fIfh\fP, MPI_Info \fI*info_used\fP)
14
15Fortran Syntax
16    INCLUDE 'mpif.h'
17    MPI_FILE_GET_INFO(\fIFH\fP, \fIINFO_USED\fP, \fIIERROR\fP)
18                 INTEGER          FH, INFO_USED, IERROR
19
20.SH C++ Syntax
21.nf
22#include <mpi.h>
23MPI::Info MPI::File::Get_info() const
24
25.SH INPUT PARAMETER
26.ft R
27.TP 1i
28fh   
29File handle (handle).
30
31.SH OUTPUT PARAMETERS
32.ft R
33.TP 1i
34info_used
35New info object (handle).
36.TP 1i
37IERROR
38Fortran only: Error status (integer).
39
40.SH DESCRIPTION
41.ft R
42MPI_File_get_info returns a new info object containing all the hints that the system currently associates with the file \fIfh\fP. The current setting of all hints actually used by the system related to this open file is returned in \fIinfo_used\fP. The user is responsible for freeing \fIinfo_used\fP via MPI_Info_free.
43
44Note that the set of hints returned in \fIinfo_used\fP may be greater or smaller than the set of hints passed in to MPI_File_open, MPI_File_set_view, and MPI_File_set_info, as the system may not recognize 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.
45
46.SH HINTS
47.ft R
48The following hints can be used as values for the \fIinfo_used\fP argument.
49.sp
50SETTABLE HINTS:
51.sp
52- shared_file_timeout: Amount of time (in seconds) to wait for access to the
53shared file pointer before exiting with MPI_ERR_TIMEDOUT.
54.sp
55- rwlock_timeout: Amount of time (in seconds) to wait for obtaining a read or
56write lock on a contiguous chunk of a UNIX file before exiting with MPI_ERR_TIMEDOUT.
57.sp
58- noncoll_read_bufsize:  Maximum size of the buffer used by
59MPI I/O to satisfy  read requests in
60the noncollective data-access routines. (See NOTE, below.)
61.sp
62- noncoll_write_bufsize: Maximum size of the buffer used by
63MPI I/O to satisfy write requests in
64the noncollective data-access routines. (See NOTE, below.)
65.sp
66- coll_read_bufsize:  Maximum size of the buffer used by MPI
67I/O to satisfy read requests in the
68collective data-access routines. (See NOTE, below.)
69.sp
70- coll_write_bufsize:  Maximum size of the buffer used by MPI
71I/O to satisfy write requests in the
72collective data-access routines. (See NOTE, below.)
73.sp
74NOTE: 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.
75.sp
76- mpiio_concurrency: (boolean) controls whether nonblocking
77I/O routines can bind an extra thread to an LWP.
78.sp
79- mpiio_coll_contiguous: (boolean) controls whether subsequent collective data accesses will request collectively contiguous regions of the file.
80.sp
81NON-SETTABLE HINTS:
82.sp
83- filename: Access this hint to get the name of the file.
84
85.SH ERRORS
86Almost all MPI routines return an error value; C routines as the value of the function and Fortran routines in the last argument. C++ functions do not return errors. If the default error handler is set to MPI::ERRORS_THROW_EXCEPTIONS, then on error the C++ exception mechanism will be used to throw an MPI:Exception object.
87.sp
88Before the error value is returned, the current MPI error handler is
89called. For MPI I/O function errors, the default error handler is set to MPI_ERRORS_RETURN. The error handler may be changed with MPI_File_set_errhandler; the predefined error handler MPI_ERRORS_ARE_FATAL may be used to make I/O errors fatal. Note that MPI does not guarantee that an MPI program can continue past an error. 
90
Note: See TracBrowser for help on using the repository browser.