Skip to content

Conversation

@rhc54
Copy link
Contributor

@rhc54 rhc54 commented Jul 21, 2015

The RML posted recvs are controlled by the async progress thread when in an application process. The call to finalize and close the RML is done from the main thread, and so we need to shift the actual destruct of the posted recv list to the async thread for handling or else we encounter a race condition when accessing the posted recvs.

Thanks to Gilles for providing the required debug info

@ggouaillardet Please see if this solves the problem

… in an application process. The call to finalize and close the RML is done from the main thread, and so we need to shift the actual destruct of the posted recv list to the async thread for handling or else we encounter a race condition when accessing the posted recvs.

Thanks to Gilles for providing the required debug info
@rhc54 rhc54 added the bug label Jul 21, 2015
@rhc54 rhc54 added this to the Future milestone Jul 21, 2015
@ggouaillardet
Copy link
Contributor

👍

rhc54 pushed a commit that referenced this pull request Jul 22, 2015
Fix application finalize race condition in RML
@rhc54 rhc54 merged commit d6b7655 into open-mpi:master Jul 22, 2015
hppritcha pushed a commit to hppritcha/ompi that referenced this pull request Jul 24, 2015
Fix application finalize race condition in RML
@rhc54 rhc54 deleted the topic/finalize branch November 3, 2015 15:50
jsquyres added a commit to jsquyres/ompi that referenced this pull request Aug 23, 2016
Fix hetero operations. An error in the hwloc utilities only allocated…
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.

2 participants