Deallocation



next up previous contents
Next: Relation to count Up: Use of Derived Previous: Commit

Deallocation

A datatype object is deallocated by a call to MPI_TYPE_FREE.

MPI_TYPE_FREE(datatype)
  INOUT     datatype               datatype to be freed
MPI_Type_free(MPI_Datatype *datatype)

MPI_TYPE_FREE(DATATYPE, IERROR)INTEGER DATATYPE, IERROR

MPI_TYPE_FREE marks the datatype object associated with datatype for deallocation and sets datatype to MPI_DATATYPE_NULL. MPI_DATATYPE_NULL Any communication that is currently using this datatype will complete normally. Derived datatypes that were defined from the freed datatype are not affected. derived datatype, destructor



Jack Dongarra
Fri Sep 1 06:16:55 EDT 1995