MPI_Win_set_attr - Stores the window attribute value
       associated with a key


SYNOPSIS

       C:

            #include <mpi.h>

            int MPI_Win_set_attr ( win, win_keyval, attribute_val )
            MPI_Win win;
            int      win_keyval;
            void     *attribute_val;

       Fortran:

            INCLUDE "mpif.h" (or USE MPI)

            INTEGER win, win_keyval, ierror
            INTEGER(KIND=MPI_ADDRESS_KIND)  attribute_val

            CALL MPI_WIN_SET_ATTR(win, win_keyval, attribute_val,
            ierror)


STANDARDS

       This function is defined in the MPI-2 standard.

       This release implements the MPI 1.2 standard, as
       documented by the MPI Forum in the spring 1997 release of
       MPI:  A Message Passing Interface Standard.


DESCRIPTION

       The MPI_Win_set_attr routine stores the window attribute
       value associated with a key.
        This routine accepts the following parameters:

       win            Specifies the window to which the attribute
                      will be attached (handle)

       win_keyval     Specifies the key value, as returned by
                      MPI_Win_create_keyval(3) (integer)

       attribute_val  Specifies the attribute value

       ierror         Specifies the return code value for
                      successful completion, which is in
                      MPI_SUCCESS.  MPI_SUCCESS is defined in the
                      mpif.h file.


NOTES

       The type of the attribute value depends on whether C or
       Fortran is being used.  In C, an attribute value is a

       kind MPI_ADDRESS_KIND.

       If an attribute is already present, the
       MPI_Win_delete_attr(3) function (specified when the
       corresponding keyval was created) will be called.


SEE ALSO

       MPI_Win_delete_attr(3), MPI_Win_get_attr(3),
       MPI_Win_create_keyval(3)


Man(1) output converted with man2html