-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set TreeMesh capacity attribute also when using MPI #1862
Conversation
Review checklistThis checklist is meant to assist creators of PRs (to let them know what reviewers will typically look for) and reviewers (to guide them in a structured review process). Items do not need to be checked explicitly for a PR to be eligible for merging. Purpose and scope
Code quality
Documentation
Testing
Performance
Verification
Created with ❤️ by the Trixi.jl community. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Did you check whether loading a mesh in serial works when you save it in parallel with a small capacity?
I don't remember right now whether the capacity is a local one or needs to be big enough to store the data from all MPI ranks in parallel. That's why I'm asking.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1862 +/- ##
==========================================
- Coverage 89.45% 89.44% -0.00%
==========================================
Files 438 438
Lines 35592 35593 +1
==========================================
Hits 31836 31836
- Misses 3756 3757 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks reasonable to me
The capacity is always global. Since the TreeMesh is parallelized by keeping a full copy on each rank and just syncing it between the processes, a "local" capacity does not make much sense anyways |
Thanks for the explanation. I would not have known. I only tested running the simulation in parallel and reading the results in serial via Trixi2Vtk. |
Resolves #1861