Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR adds support for the new bc_io boundary-condition flag in the MPI proxy broadcast routine.
- Included
bc_ioin 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_ioflag 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.pywith 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_iovariable to MPI broadcast listChanges diagram
Changes walkthrough 📝
m_mpi_proxy.fpp
Add missing bc_io to MPI broadcastsrc/post_process/m_mpi_proxy.fpp
bc_iovariable to the MPI broadcast variable list