Local Aware IBM#1378
Conversation
… are only locally aware
|
Claude Code Review Head SHA: 9879df3 Files changed:
Findings: Critical: Stack overflow in
|
9fe7e7b to
6faf896
Compare
…on and cleanliness
…nvalid. Also additional allocation protection
38b786d to
0c56440
Compare
Add matching @:DEALLOCATE calls in: - m_derived_variables - m_global_parameters - m_hyperelastic - m_rhs - m_riemann_solvers - m_time_steppers Remaining files not yet addressed: - src/common/m_boundary_common.fpp, m_helper.fpp, m_model.fpp, m_mpi_common.fpp, m_variables_conversion.fpp - src/post_process/m_start_up.fpp - src/simulation/m_acoustic_src.fpp, m_bubbles_EE.fpp, m_ibm.fpp (pending PR MFlowCode#1378), m_qbmm.fpp Part of MFlowCode#1459
|
@sbryngelson review? |
Add matching @:DEALLOCATE calls in: - m_derived_variables - m_global_parameters - m_hyperelastic - m_rhs - m_riemann_solvers - m_time_steppers Remaining files not yet addressed: - src/common/m_boundary_common.fpp, m_helper.fpp, m_model.fpp, m_mpi_common.fpp, m_variables_conversion.fpp - src/post_process/m_start_up.fpp - src/simulation/m_acoustic_src.fpp, m_bubbles_EE.fpp, m_ibm.fpp (pending PR MFlowCode#1378), m_qbmm.fpp Part of MFlowCode#1459
Co-authored-by: Spencer Bryngelson <sbryngelson@gmail.com> Co-authored-by: Daniel Vickers <danieljvickers@login05.frontier.olcf.ornl.gov> Co-authored-by: Daniel Vickers <danieljvickers@login07.frontier.olcf.ornl.gov> Co-authored-by: Daniel Vickers <danieljvickers@login09.frontier.olcf.ornl.gov> Co-authored-by: Daniel Vickers <danieljvickers@login08.frontier.olcf.ornl.gov> Co-authored-by: Daniel Vickers <danieljvickers@frontier10305.frontier.olcf.ornl.gov>
Description
The current code has an issue scaling much past 10k particles due to limitations in the MPIAllReduceSum in the IB force computation. This PR attempts to alleviate this by limiting the number of IBs any given rank can be aware of to its neighbors. This turns the AllReduce compute to a MPI neighbor computation, removing the communication bottlneck. To support this, a massive overhaul of IB ownership between ranks was required.
Type of change
Testing
TBD
Checklist
AI code reviews
Reviews are not triggered automatically. To request a review, comment on the PR:
@coderabbitai review— incremental review (new changes only)@coderabbitai full review— full review from scratch/review— Qodo review/improve— Qodo code suggestions@claude full review— Claude full review (also triggers on PR open/reopen/ready)claude-full-review— Claude full review via label