-
Notifications
You must be signed in to change notification settings - Fork 932
osc/base: Detect unsupported data types and abort #2927
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
osc/base: Detect unsupported data types and abort #2927
Conversation
Using MPI_MINLOC or MPI_MAXLOC with the following data types leads to data corruption: * MPI_DOUBLE_INT * MPI_LONG_INT * MPI_SHORT_INT * MPI_LONG_DOUBLE_INT Detect this print a error message and abort. This workaround should be removed once the following issue is resolved: * open-mpi#1666 Signed-off-by: Joshua Hursey <jhursey@us.ibm.com> (cherry picked from commit 94f92f6) Signed-off-by: Joshua Hursey <jhursey@us.ibm.com>
|
Refs PR #2832 |
|
These datatypes and ops need to die :-/. |
jsquyres
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please consolidate the opal_output and opal_show_help into a single, descriptive/useful show_help message.
|
@jjhursey I think this patch will only work for osc/pt2pt. osc/rdma will probably need a similar check in ompi_osc_rdma_rget_accumulate_internal() |
gpaulsen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you put this in now, and create a new PR for ompi_osc_rdma_rget_accumulate_internal().
|
osc/pt2pt should be trivial to update to support for minloc/maxloc. It is a slight modification to I have no interest in making either MPI_MINLOC or MPI_MAXLOC work with osc/rdma (outside just treating MPI_SHORT_INT as contiguous) so I welcome a check that makes it error. |
Signed-off-by: Joshua Hursey <jhursey@us.ibm.com>
fe1a6a3 to
e2f0e43
Compare
Using MPI_MINLOC or MPI_MAXLOC with the following data types leads to data corruption: * MPI_DOUBLE_INT * MPI_LONG_INT * MPI_SHORT_INT * MPI_LONG_DOUBLE_INT Detect this print a error message and abort. This workaround should be removed once the following issue is resolved: * open-mpi#1666 Signed-off-by: Joshua Hursey <jhursey@us.ibm.com>
e2f0e43 to
2ab65cb
Compare
|
@hppritcha Good to go |
Using MPI_MINLOC or MPI_MAXLOC with the following data types
leads to data corruption:
Detect this print a error message and abort.
This workaround should be removed once the following issue is resolved:
Signed-off-by: Joshua Hursey jhursey@us.ibm.com
(cherry picked from commit 94f92f6)
Signed-off-by: Joshua Hursey jhursey@us.ibm.com