📄 mpi_win_test.3
字号:
.\"Copyright 2007, Sun Microsystems, Inc..\" Copyright (c) 1996 Thinking Machines Corporation.TH MPI_Win_test 3OpenMPI "March 2007" "Open MPI 1.2" " ".SH NAME\fBMPI_Win_test\fP \- Attempts to complete an RMA exposure epoch; a nonblocking version of MPI_Win_wait.SH SYNTAX.ft R.SH C Syntax.nf#include <mpi.h>int MPI_Win_test(MPI_Win \fIwin\fP, int *\fIflag\fP).SH Fortran Syntax.nfINCLUDE 'mpif.h'MPI_WIN_TEST(\fI WIN, FLAG, IERROR\fP) INTEGER \fI WIN, IERROR\fP.SH C++ Syntax.nf#include <mpi.h>bool MPI::Win::Test() const .SH INPUT PARAMETERS.ft R.TP 1iwinWindow object (handle).SH OUTPUT PARAMETERS.ft R.TP 1iIERRORFortran only: Error status (integer). .TP 1iflagThe returning state of the test for epoch closure..SH DESCRIPTION.ft RMPI_Win_test is a one-sided MPI communication synchronization call, a nonblocking version of MPI_Win_wait. It returns \fIag = true\fP ifMPI_Win_wait would return, \fIag = false\fP otherwise. The effect of return of MPI_Win_test with \fIflag = true\fP is the same as the effect of a return of MPI_Win_wait. If \fIag = false\fP is returned, then the call has no visible effect..spInvoke MPI_Win_test only where MPI_Win_wait can be invoked. Oncethe call has returned \fIag = true\fP, it must not be invoked anew, until the window is posted anew..SH ERRORSAlmost 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..spBefore the error value is returned, the current MPI error handler iscalled. By default, this error handler aborts the MPI job, except for I/O function errors. The error handler may be changed with MPI_Win_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. .SH SEE ALSOMPI_Win_postMPI_Win_wait.br' @(#)MPI_Win_test.3 1.7 06/03/09
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -