Skip to content

op: allow user operations in ompi_3buff_op_reduce #967

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
Oct 3, 2015

Conversation

hjelmn
Copy link
Member

@hjelmn hjelmn commented Oct 2, 2015

This commit allows user operations to be used in the
ompi_3buff_op_reduce function. This fixes an issue identified in:

http://www.open-mpi.org/community/lists/devel/2014/04/14586.php

and

http://www.open-mpi.org/community/lists/users/2015/10/27769.php

The fix is to copy source1 into the target then call the user op
function with source2 and target.

Fixes #966

Signed-off-by: Nathan Hjelm [email protected]

This commit allows user operations to be used in the
ompi_3buff_op_reduce function. This fixes an issue identified in:

http://www.open-mpi.org/community/lists/devel/2014/04/14586.php

and

http://www.open-mpi.org/community/lists/users/2015/10/27769.php

The fix is to copy source1 into the target then call the user op
function with source2 and target.

Fixes open-mpi#966

Signed-off-by: Nathan Hjelm <[email protected]>
@hjelmn
Copy link
Member Author

hjelmn commented Oct 2, 2015

@bosilca Please take a look.

@hjelmn hjelmn added the bug label Oct 2, 2015
@hjelmn hjelmn added this to the Open MPI v1.10.1 milestone Oct 2, 2015
@hjelmn hjelmn self-assigned this Oct 2, 2015
@hjelmn
Copy link
Member Author

hjelmn commented Oct 3, 2015

@bosilca I am going to go ahead and commit this to master. I will assign you to the 1.10.1 PR. I ran the user reproducer and it runs fine with this commit.

hjelmn added a commit that referenced this pull request Oct 3, 2015
op: allow user operations in ompi_3buff_op_reduce
@hjelmn hjelmn merged commit c99a8a5 into open-mpi:master Oct 3, 2015
jsquyres pushed a commit to jsquyres/ompi that referenced this pull request Aug 23, 2016
opal/memory: Move Memory Allocation Hooks usage from openib
@hjelmn hjelmn deleted the libnbc_fix branch July 12, 2018 16:05
hppritcha added a commit to hppritcha/ompi that referenced this pull request Jan 9, 2025
related to open-mpi#12226 and open-mpi#9194

remove incorrect and misleading comment about ompi_3buff_op_reduce.
See open-mpi#967

Signed-off-by: Howard Pritchard <[email protected]>
hppritcha added a commit to hppritcha/ompi that referenced this pull request Jan 10, 2025
related to open-mpi#12226 and open-mpi#9194

remove incorrect and misleading comment about ompi_3buff_op_reduce.
See open-mpi#967

Signed-off-by: Howard Pritchard <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Segv on NBC reduce with user-defined op
1 participant