Skip to content

Resolve "Writing initial distribution fails in multicore case" - #1767

Open
pecalvop wants to merge 1 commit into
masterfrom
999-writing-initial-distribution-fails-in-multicore-case
Open

Resolve "Writing initial distribution fails in multicore case"#1767
pecalvop wants to merge 1 commit into
masterfrom
999-writing-initial-distribution-fails-in-multicore-case

Conversation

@pecalvop

@pecalvop pecalvop commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Closes #999

outFilename_m is now computed identically on every rank, before the rank-0-only early return. Previously it stayed empty on ranks ≠ 0, so writeOutFileInjection silently failed to open the file on those ranks and only rank 0's share of particles was ever written. Now every rank has the correct filename and the round-robin write loop in writeOutFileInjection correctly appends every rank's particles.

@pecalvop pecalvop self-assigned this Sep 4, 2026
@pecalvop pecalvop added the Bug Used in issue tracker to label a bug label Sep 4, 2026
@pecalvop pecalvop linked an issue Sep 4, 2026 that may be closed by this pull request
@pecalvop
pecalvop requested review from aaadelmann and gsell September 4, 2026 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Used in issue tracker to label a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Writing initial distribution fails in multicore case

2 participants