Skip to content

Conversation

@mkurnosov
Copy link
Contributor

@mkurnosov mkurnosov commented Jul 24, 2018

The call of MPI_Allgather with sendbuf and sendtype parameters equal to MPI_IN_PLACE and NULL correspondingly, produces the segmentation fault.

The problem is that sendtype is used even when sendbuf value is MPI_IN_PLACE. But according to the standard, sendtype and sendcount parameters should be ignored in this case.

Signed-off-by: Mikhail Kurnosov mkurnosov@gmail.com
(cherry picked from commit 540c2d1)

@mkurnosov
Copy link
Contributor Author

Build failed due to #5471

@hoopoepg
Copy link
Contributor

bot:mellanox:retest

@hoopoepg
Copy link
Contributor

bot:retest

@mkurnosov
Copy link
Contributor Author

@hoopoepg thanks

@bwbarrett
Copy link
Member

Is this is a cherry pick off master? If so, can you add hash of the parent commit to the log message?

The call of MPI_Allgather with sendbuf and sendtype parameters equal to MPI_IN_PLACE and NULL correspondingly, produces the segmentation fault.

The problem is that sendtype is used even when sendbuf value is MPI_IN_PLACE. But according to the standard, sendtype and sendcount parameters should be ignored in this case.

Signed-off-by: Mikhail Kurnosov <mkurnosov@gmail.com>
(cherry picked from commit 540c2d1)
@mkurnosov mkurnosov force-pushed the coll-base-allgather-fix-mpi-in-place branch from 6f6041d to c540dfb Compare July 25, 2018 01:13
@mkurnosov
Copy link
Contributor Author

Yes. It is a cherry pick from commit 540c2d1. I added hash to the log message.

Copy link
Member

@hjelmn hjelmn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks ok to me

@hppritcha hppritcha added this to the v4.0.0 milestone Jul 26, 2018
@hppritcha hppritcha merged commit 5704d4f into open-mpi:v4.0.x Jul 26, 2018
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.

5 participants