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

OSC-RDMA: PSCW fix #9556

Merged
merged 1 commit into from
Oct 25, 2021
Merged

Conversation

hppritcha
Copy link
Member

related to #9540

Signed-off-by: Howard Pritchard howardp@lanl.gov

@@ -456,6 +456,11 @@ int ompi_osc_rdma_complete_atomic (ompi_win_t *win)
OSC_RDMA_VERBOSE(MCA_BASE_VERBOSE_TRACE, "complete: %s", win->w_name);

OPAL_THREAD_LOCK(&module->lock);
if (0 == ompi_group_size (sync->sync.pscw.group)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Wait! The group is not retained if it is empty. Use the sync->num_peers instead, it's properly set in ompi_osc_rdma_start_atomic

Copy link
Member Author

Choose a reason for hiding this comment

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

nice catch!

related to open-mpi#9540

Signed-off-by: Howard Pritchard <howardp@lanl.gov>
@hppritcha hppritcha force-pushed the topic/fix_9540_master branch from f248e09 to e20108c Compare October 19, 2021 18:44
@hppritcha
Copy link
Member Author

bot:ompi:retest

@hppritcha
Copy link
Member Author

@hjelmn this is a customer reported problem. please review.

@hppritcha hppritcha removed the request for review from hjelmn October 25, 2021 18:52
@bwbarrett bwbarrett merged commit 32c19b5 into open-mpi:master Oct 25, 2021
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.

4 participants