source: proiecte/hpl/openmpi_compiled/share/man/man3/MPI_File_set_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.1 KB
Line 
1.\"Copyright 2006-2008 Sun Microsystems, Inc.
2.\" Copyright (c) 1996 Thinking Machines Corporation
3.TH MPI_File_set_info 3 "Dec 08, 2009" "1.4" "Open MPI"
4.SH NAME
5\fBMPI_File_set_info\fP \- Sets new values for hints (collective).
6
7.SH SYNTAX
8.ft R
9.nf
10C Syntax
11    #include <mpi.h>
12    int MPI_File_set_info(MPI_File \fIfh\fP, MPI_Info \fIinfo\fP)
13
14Fortran Syntax
15    INCLUDE 'mpif.h'
16    MPI_FILE_SET_INFO(\fIFH\fP, \fIINFO\fP, \fIIERROR\fP)
17                 INTEGER          FH, INFO, IERROR
18
19.SH C++ Syntax
20.nf
21#include <mpi.h>
22void MPI::File::Set_info(const MPI::Info& \fIinfo\fP)
23
24.SH INPUT/OUTPUT PARAMETER
25.ft R
26.TP 1i
27fh   
28File handle (handle).
29
30.SH INPUT PARAMETER
31.ft R
32.TP 1i
33info
34Info object (handle).
35
36.SH OUTPUT PARAMETER
37.ft R
38.TP 1i
39IERROR
40Fortran only: Error status (integer).
41
42.SH DESCRIPTION
43.ft R
44MPI_File_set_info is a collective routine that sets new values for the hints of the file associated with \fIfh\fP. These hints are set for each file, using the MPI_File_open, MPI_File_delete, MPI_File_set_view, and MPI_File_set_info routines. The opaque \fIinfo\fP object, which allows you to provide hints for optimization of your code, may be different on each process, but some \fIinfo\fP entries are required to be the same on all processes: In these cases, they must appear with the same value in each process's info object. 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\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.