168. Error Class for Invalid Keyval

PreviousUpNext
Up: Caching Next: Attributes Example Previous: Datatypes

Key values for attributes are system-allocated, by MPI_ {TYPE,COMM,WIN }_CREATE_KEYVAL. Only such values can be passed to the functions that use key values as input arguments. In order to signal that an erroneous key value has been passed to one of these functions, there is a new MPI error class: MPI_ERR_KEYVAL. It can be returned by MPI_ATTR_PUT, MPI_ATTR_GET, MPI_ATTR_DELETE, MPI_KEYVAL_FREE, MPI_ {TYPE,COMM,WIN }_DELETE_ATTR, MPI_ {TYPE,COMM,WIN }_SET_ATTR, MPI_ {TYPE,COMM,WIN }_GET_ATTR, MPI_ {TYPE,COMM,WIN }_FREE_KEYVAL, MPI_COMM_DUP, MPI_COMM_IDUP, MPI_COMM_DISCONNECT, and MPI_COMM_FREE. The last four are included because keyval is an argument to the copy and delete functions for attributes.


PreviousUpNext
Up: Caching Next: Attributes Example Previous: Datatypes


Return to MPI-3.1 Standard Index
Return to MPI Forum Home Page

(Unofficial) MPI-3.1 of June 4, 2015
HTML Generated on June 4, 2015