Skip to content

coll/libnbc: fix MPI_I{reduce,allreduce,reduce_scatter,reduce_scatter_block} #1760

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

Closed

Conversation

ggouaillardet
Copy link
Contributor

Fixes #1754

allred_sched_diss was broken :
- use ompi_op_reduce() for Fortran/C++ support
- use ompi_op_reduce() keeping in mind op might not be commutative
- fix buffer overwrite caused by incorrect usage of ompi_3buff_op_user()

Thanks Yuki Matsumoto for the report
… commutative op

allred_sched_ring algo simply does not work with non commutative op.

Thanks Yuki Matsumoto for the report
red_sched_binomial was broken :
 - use ompi_op_reduce() for Fortran/C++ support
 - use ompi_op_reduce() keeping in mind op might not be commutative
 - fix buffer overwrite caused by incorrect usage of ompi_3buff_op_user()
 - if op is not commutative, reduce on rank 0 and then send the result to root
…n commutative op

red_sched_chain algo simply does not work with non commutative op.
reduce_scatter was broken :
 - use ompi_op_reduce() for Fortran/C++ support
 - use ompi_op_reduce() keeping in mind op might not be commutative
 - fix buffer overwrite caused by incorrect usage of ompi_3buff_op_user()
reduce_scatter_block was broken :
 - use ompi_op_reduce() for Fortran/C++ support
 - use ompi_op_reduce() keeping in mind op might not be commutative
 - fix buffer overwrite caused by incorrect usage of ompi_3buff_op_user()
@ggouaillardet ggouaillardet changed the title coll/libnbc: fix MPI_Iallreduce coll/libnbc: fix MPI_I{reduce,allreduce,reduce_scatter,reduce_scatter_block} Jun 7, 2016
@jladd-mlnx
Copy link
Member

bot:retest

1 similar comment
@jladd-mlnx
Copy link
Member

bot:retest

fix MPI_IN_PLACE and temporary buffer allocation/usage

Thanks Yuki Matsumoto for the report
@ggouaillardet ggouaillardet force-pushed the topic/libnbc_iallreduce branch from 7c9bd29 to cd8d696 Compare June 8, 2016 08:02
@lanl-ompi
Copy link
Contributor

Test FAILed.

@ggouaillardet
Copy link
Contributor Author

This PR is replaced with #1852

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