MPI_Comm_set_attr

int MPI_Comm_set_attr(MPI_Comm, int, void *);
Attaches the communicator attribute value to the communicator and associates it with the key.