15.6.6. 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-4.1 Standard Index
Return to MPI Forum Home Page

(Unofficial) MPI-4.1 of November 2, 2023
HTML Generated on November 19, 2023