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

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

Adding compiled files

File size: 2.2 KB
Line 
1.\"Copyright 2007-2008 Sun Microsystems, Inc.
2.\" Copyright (c) 1996 Thinking Machines Corporation
3.TH MPI_Win_unlock 3 "Dec 08, 2009" "1.4" "Open MPI"
4.SH NAME
5\fBMPI_Win_unlock\fP \- Completes an RMA access epoch started by a call to MPI_Win_lock.
6
7.SH SYNTAX
8.ft R
9.SH C Syntax
10.nf
11#include <mpi.h>
12int MPI_Win_unlock(int \fIrank\fP, MPI_Win \fIwin\fP)
13
14.SH Fortran Syntax
15.nf
16INCLUDE 'mpif.h'
17MPI_WIN_UNLOCK(\fIRANK, WIN, IERROR\fP)
18        INTEGER \fIRANK, WIN, IERROR\fP
19
20.SH C++ Syntax
21.nf
22#include <mpi.h>
23void MPI::Win::Unlock(int \fIrank\fP) const
24
25.SH INPUT PARAMETERS
26.ft R
27.TP 1i
28rank
29Rank of window (nonnegative integer).
30.TP 1i
31win
32Window object (handle).
33
34.SH OUTPUT PARAMETER
35.ft R
36.TP 1i
37IERROR
38Fortran only: Error status (integer).
39
40.SH DESCRIPTION
41.ft R
42MPI_Win_unlock completes an RMA access epoch started by a call to MPI_Win_lock. RMA operations issued during this period will have completed both at the origin and at the target when the call returns.
43.sp
44Locks are used to protect accesses to the locked target window effected by RMA calls issued between the lock and unlock call, and to protect local load/store accesses to a locked local window executed between the lock and unlock call. Accesses that are protected by an exclusive lock will not be concurrent at the window site with other accesses to the same window that are lock protected. Accesses that are protected by a shared lock will not be concurrent at the window site with accesses protected by an exclusive lock to the same window.
45
46.SH ERRORS
47Almost 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.
48.sp
49Before the error value is returned, the current MPI error handler is
50called. By default, this error handler aborts the MPI job, except for I/O function errors. The error handler may be changed with MPI_Comm_set_errhandler; the predefined error handler MPI_ERRORS_RETURN may be used to cause error values to be returned. Note that MPI does not guarantee that an MPI program can continue past an error. 
51
52.SH SEE ALSO
53MPI_Win_lock
54.br
55
56
Note: See TracBrowser for help on using the repository browser.