MPI_Win_post function

Starts an RMA exposure epoch.

Syntax

int MPIAPI MPI_Win_post(
   MPI_Group group,
   int       assert,
   MPI_Win   win
);

Parameters

  • group
    Group of origin processes.

  • assert
    Used to optimize this call; zero may be used as a default.

  • win
    Window object.

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_POST(GROUP, ASSERT, WIN, IERROR)
        INTEGER GROUP, ASSERT, WIN, IERROR

Remarks

The assert argument is used to indicate special conditions for the post that an implementation may use to optimize the MPI_Win_post operation. The value zero is always correct. Other assertion values may be ORed together. Assertions that are valid for MPI_Win_post are:

  • MPI_MODE_NOCHECK - the matching calls to MPI_Win_start have not yet occurred on any origin processes when the call to MPI_Win_post is made. The nocheck option can be specified by a post call if and only if it is specified by each matching start call.
  • MPI_MODE_NOSTORE - the local window was not updated by local stores (or local get or receive calls) since last synchronization. This may avoid the need for cache synchronization at the post call.
  • MPI_MODE_NOPUT - the local window will not be updated by put or accumulate calls after the post call, until the ensuing (wait) synchronization. This may avoid the need for cache synchronization at the wait call.

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