-
Notifications
You must be signed in to change notification settings - Fork 114
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
Remove race condition in mpi testing #1821
Conversation
Review checklistThis checklist is meant to assist creators of PRs (to let them know what reviewers will typically look for) and reviewers (to guide them in a structured review process). Items do not need to be checked explicitly for a PR to be eligible for merging. Purpose and scope
Code quality
Documentation
Testing
Performance
Verification
Created with ❤️ by the Trixi.jl community. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Did you check whether this may also occur in other test files? Maybe https://github.com/andrewwinters5000/Trixi.jl/blob/arw-patch-1/test/test_mpi.jl as well?
Whoops, I did not. But I can add Barriers in appropriate places |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for finding & fixing this bug!
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #1821 +/- ##
==========================================
+ Coverage 74.59% 80.30% +5.71%
==========================================
Files 452 454 +2
Lines 35959 36226 +267
==========================================
+ Hits 26823 29089 +2266
+ Misses 9136 7137 -1999
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
This adds a check for MPI root and a barrier to remove a race condition in the MPI testing on the
TreeMesh
.