Skip to content

Conversation

@devreal
Copy link
Contributor

@devreal devreal commented Jul 11, 2022

This PR fixes two two glitches in MPI_Start:

  • Check for the request state to be OMPI_REQUEST_INACTIVE in MPI_Start to mirror the check in MPI_Startall.
  • Check return value of request start function to prevent error codes from leaking.

Partial backport of #10543 to v4.1.x (partitioned communication was never backported to v4.1.x)

@jsquyres
Copy link
Member

@devreal Per #10574 (comment), should we hold off merging this PR?

@jsquyres jsquyres added this to the v4.1.5 milestone Jul 17, 2022
@devreal
Copy link
Contributor Author

devreal commented Jul 17, 2022

Let's hold off on it and see where we go with it.

@bwbarrett bwbarrett marked this pull request as draft July 18, 2022 20:03
@bwbarrett
Copy link
Member

Marking a draft until we resolve #10574, so that we don't accidently merge. Other than that issue, I'm ok with this from a RM point of view.

@awlauria awlauria marked this pull request as ready for review July 25, 2022 16:21
@awlauria
Copy link
Contributor

I pushed the fix to this branch, should be good to go.

@awlauria
Copy link
Contributor

Ah..So it looks like this won't work on the v4.x series @devreal .... another fix is required on these release branches as b37202c was not brought over.

Is there another solution more fitting for the v4.x.x series?

@awlauria awlauria marked this pull request as draft July 25, 2022 17:41
@awlauria
Copy link
Contributor

Converting this back to a draft until the above is resolved.

Signed-off-by: Joseph Schuchart <[email protected]>
(cherry picked from commit 94f9806)
@devreal devreal force-pushed the mpi-start-part-inactive-v4.1.x branch from 4379b31 to 31f7f77 Compare July 26, 2022 22:38
@devreal
Copy link
Contributor Author

devreal commented Jul 26, 2022

I removed the return value check so it's only the check for inactive requests left in here.

@jsquyres jsquyres marked this pull request as ready for review July 26, 2022 23:35
@jsquyres jsquyres merged commit 88bb627 into open-mpi:v4.1.x Jul 27, 2022
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