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

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

Adding compiled files

File size: 1.8 KB
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
10C Syntax
11    #include <mpi.h>
12    int MPI_File_get_atomicity(MPI_File \fIfh\fP, int \fI*flag\fP)
13
14Fortran 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>
23bool MPI::File::Get_atomicity() const
24
25.SH INPUT PARAMETER
26.ft R
27.TP 1i
28fh
29File handle (handle).
30
31.SH OUTPUT PARAMETER
32.ft R
33.TP 1i
34flag
35true if atomic mode is enabled, false if nonatomic mode is enabled (boolean).
36.TP 1i
37IERROR
38Fortran only: Error status (integer).
39
40.SH DESCRIPTION
41.ft R
42MPI_File_get_atomicity returns the current consistency semantics for
43data access operations on the set of file handles created by one
44collective MPI_File_open. If \fIflag\fP is
45.I true,
46atomic mode is currently enabled; if
47.I flag
48is
49.I false,
50nonatomic mode is currently enabled.
51
52.SH ERRORS
53Almost 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
55Before the error value is returned, the current MPI error handler is
56called. 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.