Line | |
---|
1 | .\"Copyright 2006-2008 Sun Microsystems, Inc. |
---|
2 | .\" Copyright (c) 1996 Thinking Machines Corporation |
---|
3 | .TH MPI_File_get_atomicity 3 "Dec 08, 2009" "1.4" "Open MPI" |
---|
4 | .SH NAME |
---|
5 | \fBMPI_File_get_atomicity\fP \- Returns current consistency semantics for data-access operations. |
---|
6 | |
---|
7 | .SH SYNTAX |
---|
8 | .ft R |
---|
9 | .nf |
---|
10 | C Syntax |
---|
11 | #include <mpi.h> |
---|
12 | int MPI_File_get_atomicity(MPI_File \fIfh\fP, int \fI*flag\fP) |
---|
13 | |
---|
14 | Fortran Syntax |
---|
15 | INCLUDE 'mpif.h' |
---|
16 | MPI_FILE_GET_ATOMICITY(\fIFH\fP,\fI FLAG\fP,\fI IERROR\fP) |
---|
17 | INTEGER \FIFH, IERROR\FP |
---|
18 | LOGICAL \FIFLAG\FP |
---|
19 | |
---|
20 | .SH C++ Syntax |
---|
21 | .nf |
---|
22 | #include <mpi.h> |
---|
23 | bool MPI::File::Get_atomicity() const |
---|
24 | |
---|
25 | .SH INPUT PARAMETER |
---|
26 | .ft R |
---|
27 | .TP 1i |
---|
28 | fh |
---|
29 | File handle (handle). |
---|
30 | |
---|
31 | .SH OUTPUT PARAMETER |
---|
32 | .ft R |
---|
33 | .TP 1i |
---|
34 | flag |
---|
35 | true if atomic mode is enabled, false if nonatomic mode is enabled (boolean). |
---|
36 | .TP 1i |
---|
37 | IERROR |
---|
38 | Fortran only: Error status (integer). |
---|
39 | |
---|
40 | .SH DESCRIPTION |
---|
41 | .ft R |
---|
42 | MPI_File_get_atomicity returns the current consistency semantics for |
---|
43 | data access operations on the set of file handles created by one |
---|
44 | collective MPI_File_open. If \fIflag\fP is |
---|
45 | .I true, |
---|
46 | atomic mode is currently enabled; if |
---|
47 | .I flag |
---|
48 | is |
---|
49 | .I false, |
---|
50 | nonatomic mode is currently enabled. |
---|
51 | |
---|
52 | .SH ERRORS |
---|
53 | Almost 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. |
---|
54 | .sp |
---|
55 | Before the error value is returned, the current MPI error handler is |
---|
56 | called. 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. |
---|
57 | |
---|
Note: See
TracBrowser
for help on using the repository browser.