-
Notifications
You must be signed in to change notification settings - Fork 936
Open
Description
Following the issue initially reported on Stack Overflow i opened this issue on MPICH.
It turns out the MPI standard 3.1 chapter 13.3 requires
An etype (elementary datatype) is the unit of data access and positioning. It can be any MPI predefined or derived datatype. Derived etypes can be constructed by using any of the MPI datatype constructor routines, provided all resulting typemap displacements are non-negative and monotonically nondecreasing.
And we do not check such a thing in Open MPI.
What would be the best way to achieve that ?
- one option would be to write an adhoc check in
MPI_File_set_view() - an other option would be to add yet an other flag (
OPAL_DATATYPE_FLAG_MONOTONIC?) and update it when modifying datatypes.
@bosilca i can take a crack at it, but i would like you to give me a direction first.
FWIW
ROM-IOhangs in and endless loop or crash in some cases.ompioseems fine with that (well, fromv3.1.x) , but portable code should not rely on this (current) behavior.
@edgargabriel FYI