Skip to content

Keep written flag consistent across MPI ranks for rankTable#1869

Merged
franzpoeschel merged 1 commit intoopenPMD:devfrom
franzpoeschel:fix-consistently-set-written-flag
Mar 30, 2026
Merged

Keep written flag consistent across MPI ranks for rankTable#1869
franzpoeschel merged 1 commit intoopenPMD:devfrom
franzpoeschel:fix-consistently-set-written-flag

Conversation

@franzpoeschel
Copy link
Copy Markdown
Contributor

The rank table is only written on rank 0, meaning that its written flag will be true only on rank 0. This can cause trouble when processing in parallel and later relying on this flag.
Surfaced while working on #1862, fix factored out of there.
This does not really cause any errors on dev right now, but is still very error prone, and I would have this merged soon rather than once more debugging this for 3 days.

@franzpoeschel franzpoeschel added this to the 0.17.1 milestone Mar 30, 2026
@franzpoeschel franzpoeschel requested a review from ax3l March 30, 2026 17:10
@franzpoeschel franzpoeschel changed the title Consistently set written / not written Keep written flag consistent across MPI ranks for rankTable Mar 30, 2026
@franzpoeschel franzpoeschel enabled auto-merge (squash) March 30, 2026 17:11
@franzpoeschel franzpoeschel merged commit dd72086 into openPMD:dev Mar 30, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant