-
Notifications
You must be signed in to change notification settings - Fork 111
Fix #914 #916
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
Fix #914 #916
Conversation
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.
Pull Request Overview
This PR adds support for the new bc_io
boundary-condition flag in the MPI proxy broadcast routine.
- Included
bc_io
in the list of flags to be broadcast - Ensures that post-process modules receive the updated boundary-condition setting
Comments suppressed due to low confidence (1)
src/post_process/m_mpi_proxy.fpp:110
- Consider adding a focused test (unit or integration) to verify that the
bc_io
flag is correctly broadcast and applied across all ranks in the MPI proxy.
& 'output_partial_domain', 'relativity', 'cont_damage', 'bc_io']
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨No code suggestions found for the PR. |
The test suite doesn't test multiple rank cases very thoroughly. It only has 3 MPI cases in the no RDMA case. |
Was that the actual problem? This problem occurred for a single rank CPU case on my laptop... |
I just ran it with one rank on the master branch on my laptop, and it ran fine. It only got stuck in post process when I added a second rank. I'm not sure what you did differently on your end. The issue is that when |
I'm not sure what I did either, I guess we will just proceed. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #916 +/- ##
=======================================
Coverage 44.03% 44.03%
=======================================
Files 68 68
Lines 18395 18395
Branches 2227 2227
=======================================
Hits 8101 8101
Misses 8991 8991
Partials 1303 1303 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
User description
Description
This fixes the bug with boundary condition patches in post process.
Fixes #914
Type of change
Please delete options that are not relevant.
Scope
If you cannot check the above box, please split your PR into multiple PRs that each have a common goal.
How Has This Been Tested?
Run
examples/2D_jet/case.py
with 4 ranks. Output and video is attached.out.txt
test.mp4
PR Type
Bug fix
Description
Fix boundary condition patches in post process
Add missing
bc_io
variable to MPI broadcast listChanges diagram
Changes walkthrough 📝
m_mpi_proxy.fpp
Add missing bc_io to MPI broadcast
src/post_process/m_mpi_proxy.fpp
bc_io
variable to the MPI broadcast variable list