1MPI_Win_Lock(3) LAM/MPI MPI_Win_Lock(3)
2
3
4
6 MPI_Win_Lock - Starts an RMA access epoch
7
9 #include <mpi.h>
10 int MPI_Win_lock(int lock_type, int rank, int assert, MPI_Win win)
11
13 lock_type
14 - either MPI_LOCK_EXCLUSIVE or MPI_LOCK_SHARED (state)
15 rank - rank of locked window (nonnegative integer)
16 assert - program assertion (integer)
17 win - window object (handle)
18
19
21 This function is currently not implemented in LAM/MPI. It will return
22 an MPI_ERR_OTHER run time error.
23
24
26 All MPI routines in Fortran (except for MPI_WTIME and MPI_WTICK ) have
27 an additional argument ierr at the end of the argument list. ierr is
28 an integer and has the same meaning as the return value of the routine
29 in C. In Fortran, MPI routines are subroutines, and are invoked with
30 the call statement.
31
32 All MPI objects (e.g., MPI_Datatype , MPI_Comm ) are of type INTEGER in
33 Fortran.
34
36 wlock.c
37
38
39
40LAM/MPI 7.1.2 2/23/2006 MPI_Win_Lock(3)