Skip to content
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

v5.0.x: Backport alltoall{,v,w} in place fixes #9671

Merged

Conversation

bwbarrett
Copy link
Member

Handfull of fixes to alltoall{,v,w} in_place. Fixes #9501 and #9329 for the v5.0 series.

bwbarrett and others added 3 commits November 16, 2021 18:04
b9012a3 accidently set the message tags for the alltoall and
alltoallv in place algorithms to the alltoallw tag.  Undo that
change.

Signed-off-by: Brian Barrett <[email protected]>
(cherry picked from commit f32dc49)
b9012a3 used the alltoallw interpretation of rdisps instead of the
alltoall/alltoallv interpretation.  According to the MPI standard,
the byte displacement is recvbuf + rdispls[i] * extent(recvtype) for
alltoall and alltoallv, but is recvbuf + rdispls[i] for alltoallw.

Signed-off-by: Brian Barrett <[email protected]>
(cherry picked from commit d8c50a5)
Without waiting for the last receive before going to the next iteration we
might overwrite data if the current left neighbor become the right at the next
iteration.

Start with an MPI_REQUEST_NULL request.
If the request is not NULL and the first rcounts is 0, the ompi_request_wait
will segfault.

Signed-off-by: George Bosilca <[email protected]>
(cherry picked from commit 6802702)
Signed-off-by: Brian Barrett <[email protected]>
@bwbarrett bwbarrett added this to the v5.0.0 milestone Nov 16, 2021
@bwbarrett bwbarrett added the bug label Nov 16, 2021
@bwbarrett bwbarrett changed the title Backports/v5.0.x alltoallv in place v5.0.x: Backport alltoall{,v,w} fixes Nov 16, 2021
@bwbarrett bwbarrett changed the title v5.0.x: Backport alltoall{,v,w} fixes v5.0.x: Backport alltoall{,v,w} in place fixes Nov 16, 2021
@awlauria awlauria merged commit 01c1c2f into open-mpi:v5.0.x Nov 18, 2021
@bwbarrett bwbarrett deleted the backports/v5.0.x-alltoallv_in_place branch November 18, 2021 20:58
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