MPI_Win_get_group function

Gets the MPI Group of the window object.

Syntax

int MPIAPI MPI_Win_get_group(
        MPI_Win   win,
  _Out_ MPI_Group *group
);

Parameters

  • win
    Window object.

  • group [out]
    Group of processes that share access to the window.

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

Remarks

The group is a duplicate of the group from the communicator used to create the MPI window, and should be freed with MPI_Group_free when it is no longer needed. This group can be used to form the group of neighbors for the routines MPI_Win_post and MPI_Win_start.

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