Skip to content

Exchange ib_markers halo cells in post_process before writing - #2126

Open
sbryngelson wants to merge 1 commit into
MFlowCode:masterfrom
sbryngelson:wave1/ib-markers-halo
Open

sbryngelson wants to merge 1 commit into
MFlowCode:masterfrom
sbryngelson:wave1/ib-markers-halo

Conversation

@sbryngelson

Copy link
Copy Markdown
Member

What

The silo ib_markers field includes the ghost layers, but post_process
reads only the interior, so the ghosts were 0 and overwrote the
neighbor rank's real cells when the files were assembled. Fill them
with the existing MPI buffer exchange.

Verification

Testing. Built with GPU offload (OpenMP, AMD) and ran the full test suite with this fix and seven other independent fixes applied together: 729 tests in 4 shards, 0 failures (two shards on MI300A, two on MI250X).

Prepared with Claude Code (AI-assisted); I reviewed the change and ran the tests.

The silo ib_markers field includes the ghost layers, but post_process
reads only the interior, so the ghosts were 0 and overwrote the
neighbor rank's real cells when the files were assembled. Fill them
with the existing MPI buffer exchange.
@github-actions

github-actions Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Claude Code Review

Head SHA: 83ae1dd

Files changed:

  • 1
  • src/post_process/m_start_up.fpp

Findings:
No issues found. Checked src/post_process/m_start_up.fpp (new s_exchange_ib_markers_halo against s_mpi_sendrecv_variables_buffers in src/common/m_mpi_common.fpp, idwbuff/offset/buff_size setup in post_process m_global_parameters, and buffer allocation via s_initialize_mpi_common_module).

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

Lines of Code

File Lines Diff
src/post_process/m_start_up.fpp 808 +16
Directory Lines Diff
post_process 3500 +16
total 47646 +16

@sbryngelson
sbryngelson marked this pull request as ready for review November 3, 2026 13:53
@sbryngelson
sbryngelson requested a review from a team as a code owner November 3, 2026 13:53
@sbryngelson
sbryngelson requested review from wilfonba and removed request for a team November 3, 2026 13:53

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant