Skip to content

Latest commit

 

History

History
63 lines (37 loc) · 1.1 KB

MPI_Attr_put.3.rst

File metadata and controls

63 lines (37 loc) · 1.1 KB

MPI_Attr_put

MPI_Attr_put Stores attribute value associated with a key MPI_Comm_set_attr.

SYNTAX

C Syntax

#include <mpi.h>

int MPI_Attr_put(MPI_Comm comm, int keyval, void *attribute_val)

Fortran Syntax

USE MPI
! or the older form: INCLUDE 'mpif.h'

MPI_ATTR_PUT(COMM, KEYVAL, ATTRIBUTE_VAL, IERROR)
 INTEGER COMM, KEYVAL, ATTRIBUTE_VAL, IERROR

INPUT PARAMETERS

  • comm: Communicator to which attribute will be attached (handle).
  • keyval: Key value, as returned by MPI_KEYVAL_CREATE (integer).
  • attribute_val: Attribute value.

OUTPUT PARAMETER

  • ierror: Fortran only: Error status (integer).

DESCRIPTION

Note that use of this routine is deprecated as of MPI-2, and was deleted in MPI-3. Please use MPI_Comm_set_attr. This function does not have a mpi_f08 binding.

ERRORS

* MPI_Comm_set_attr