Edit

Share via


MPI_Win_test function

Test whether an RMA exposure epoch has completed.

Syntax

int MPIAPI MPI_Win_test(
        MPI_Win win,
  _Out_ int     *flag
);

Parameters

  • win
    Window object.

  • flag [out]
    Success flag.

Return value

Returns MPI_SUCCESS on success. Otherwise, the return value is an error code.

In Fortran, the return value is stored in the IERROR parameter.

Fortran

    MPI_WIN_TEST(WIN, FLAG, IERROR)
        INTEGER WIN, IERROR
        LOGICAL FLAG

Remarks

This is the nonblocking version of MPI_Win_wait.

Requirements

Product

HPC Pack 2012 MS-MPI Redistributable Package, HPC Pack 2008 R2 MS-MPI Redistributable Package, HPC Pack 2008 MS-MPI Redistributable Package or HPC Pack 2008 Client Utilities

Header

Mpi.h; Mpif.h

Library

Msmpi.lib

DLL

Msmpi.dll

See also

MPI One-Sided Communications Functions