Skip to content

Fix unimplemented op functions for MPI_LONG. #8780

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

Merged
merged 1 commit into from
Apr 6, 2021

Conversation

awlauria
Copy link
Contributor

@awlauria awlauria commented Apr 6, 2021

When performing an op with MPI_LONG, for example,
an MPI_Allreduce() with MPI_MIN, this would segv when performing
the op, since there is no longer an op function
for this type.

I followed the blueprint for int64_t/uint64_t.

Signed-off-by: Austen Lauria [email protected]

When performing an op with MPI_LONG, for example,
an MPI_Allreduce() with MPI_MIN, this would segv when performing
the op, since there is no longer an op function
for this type.

I followed the blueprint for int64_t/uint64_t.

Signed-off-by: Austen Lauria <[email protected]>
@awlauria awlauria requested a review from bosilca April 6, 2021 18:53
@awlauria
Copy link
Contributor Author

awlauria commented Apr 6, 2021

There may be an easier/better way to do this. This comes as a result of:
4e56e83

@devreal
Copy link
Contributor

devreal commented Apr 6, 2021

I just ran into this: both the osc/rdma and osc/ucx use MPI_LONG in a reduction during window creation. This fix is critical but I cannot judge whether it is the right way to go.

@awlauria
Copy link
Contributor Author

awlauria commented Apr 6, 2021

@devreal thanks - can you confirm that this fixes the issue for you?

@devreal
Copy link
Contributor

devreal commented Apr 6, 2021

@awlauria I can confirm that both osc/ucx and osc/rdma work with this PR 👍

@bosilca bosilca merged commit 8427757 into open-mpi:master Apr 6, 2021
@awlauria awlauria deleted the fix_ops_segv branch April 6, 2021 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants