Skip to content

Conversation

@jsquyres
Copy link
Member

romio assumes that all predefined datatypes are contiguous. Because of
the (terribly named) composed datatypes MPI_SHORT_INT, MPI_DOUBLE_INT,
MPI_LONG_INT, etc this is an incorrect assumption. The simplest way to
fix this is to override the MPI_Type_get_envelope and
MPI_Type_get_contents calls with calls that will work on these
datatypes. Note that not all calls to these MPI functions are
replaced, only the ones used when flattening a non-contiguous
datatype.

References #5009

Signed-off-by: Nathan Hjelm [email protected]
(cherry picked from commit 4d876ec)

romio assumes that all predefined datatypes are contiguous. Because of
the (terribly named) composed datatypes MPI_SHORT_INT, MPI_DOUBLE_INT,
MPI_LONG_INT, etc this is an incorrect assumption. The simplest way to
fix this is to override the MPI_Type_get_envelope and
MPI_Type_get_contents calls with calls that will work on these
datatypes. Note that not all calls to these MPI functions are
replaced, only the ones used when flattening a non-contiguous
datatype.

References open-mpi#5009

Signed-off-by: Nathan Hjelm <[email protected]>
(cherry picked from commit 4d876ec)
@bwbarrett
Copy link
Member

bot:ompi:retest

yeah, I don't know why this one failed. Jenkins looks confused.

@bwbarrett bwbarrett merged commit 0672f31 into open-mpi:v3.1.x Sep 18, 2018
@jsquyres jsquyres deleted the pr/v3.1.x/romio314-minmax-fixes branch September 28, 2018 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants