forked from openpmix/prrte
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup race condition in daemon reports
In the case where prterun is operating on a node with a different topology than the other nodes AND daemon rank=1 is delayed in sending its callback message such that one or more other daemons report first, then we segfault as: * the first daemon to report records its signature and immediately is requested to return its topo * subsequent daemons with the SAME signature attempt to use the NULL topo from the topologies array to define their available CPUs Resolve this by caching any daemons that report prior to rank=1 so that we can compare their topo to that one. Signed-off-by: Ralph Castain <rhc@pmix.org>
- Loading branch information
Showing
3 changed files
with
78 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters