309. Type Matching

PreviousUpNext
Up: Consistency and Semantics Next: Miscellaneous Clarifications Previous: Nonblocking Collective File Operations

The type matching rules for I/O mimic the type matching rules for communication with one exception: if etype is MPI_BYTE, then this matches any datatype in a data access operation. In general, the etype of data items written must match the etype used to read the items, and for each data access operation, the current etype must also match the type declaration of the data access buffer.


Advice to users.

In most cases, use of MPI_BYTE as a wild card will defeat the file interoperability features of MPI. File interoperability can only perform automatic conversion between heterogeneous data representations when the exact datatypes accessed are explicitly specified. ( End of advice to users.)


PreviousUpNext
Up: Consistency and Semantics Next: Miscellaneous Clarifications Previous: Nonblocking Collective File Operations


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