MPI_Attr_put
Stores attribute value associated with a key MPI_Comm_set_attr
.
#include <mpi.h>
int MPI_Attr_put(MPI_Comm comm, int keyval, void *attribute_val)
USE MPI
! or the older form: INCLUDE 'mpif.h'
MPI_ATTR_PUT(COMM, KEYVAL, ATTRIBUTE_VAL, IERROR)
INTEGER COMM, KEYVAL, ATTRIBUTE_VAL, IERROR
comm
: Communicator to which attribute will be attached (handle).keyval
: Key value, as returned by MPI_KEYVAL_CREATE (integer).attribute_val
: Attribute value.
ierror
: Fortran only: Error status (integer).
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.
* MPI_Comm_set_attr