Skip to content

Print/PrintToFile: Fix potential MPI_Comm issue#5079

Merged
WeiqunZhang merged 2 commits intoAMReX-Codes:developmentfrom
WeiqunZhang:fix_print_comm
Feb 25, 2026
Merged

Print/PrintToFile: Fix potential MPI_Comm issue#5079
WeiqunZhang merged 2 commits intoAMReX-Codes:developmentfrom
WeiqunZhang:fix_print_comm

Conversation

@WeiqunZhang
Copy link
Copy Markdown
Member

@WeiqunZhang WeiqunZhang commented Feb 25, 2026

This also simplifies the class. There is no need to save MPI rank and comm in the classes.

Also removed the use of ParallelContext::OFSPtrSub, which has been deprecated.

Close #5064.

This also simplifies the class. There is no need to save MPI rank and comm
in the classes.

Close AMReX-Codes#5064.
@WeiqunZhang WeiqunZhang requested a review from atmyers February 25, 2026 21:31
@WeiqunZhang WeiqunZhang merged commit 0abbb96 into AMReX-Codes:development Feb 25, 2026
74 checks passed
@WeiqunZhang WeiqunZhang deleted the fix_print_comm branch February 25, 2026 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Print / PrintToFile ignore constructor MPI_Comm when deciding emitting rank

2 participants