-
Notifications
You must be signed in to change notification settings - Fork 6
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
Adapt to P4est_jll v2.8 with MPI support #45
Conversation
- New p4est library requires new bindings, thus the artifacts were adjusted - The build.jl script automatically includes the MPI library provided by MPI.jl when re-generating bindings for P4est_jll - The README was updated accordingly - The tutorial in the README uses a proper MPI communicator now because the previously used function `sc_MPI_Comm` is only defined if p4est is compiled without MPI support - The point above also implies that this is a breaking change, hence the version number was changed as well
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.
Overall LGTM, thanks! A few minor edits/suggestions only. Please also ping Hendrik once you re-request my review.
Co-authored-by: Michael Schlottke-Lakemper <[email protected]>
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.
LGTM - once the remaining comment is resolved & @ranocha approves, this can be merged imho.
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.
Nice 👍 I just have a few minor comments. Please ping @sloede and feel free to merge after resolving them.
Codecov Report
@@ Coverage Diff @@
## main #45 +/- ##
===========================================
+ Coverage 0 100.00% +100.00%
===========================================
Files 0 1 +1
Lines 0 1 +1
===========================================
+ Hits 0 1 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@sloede I added a function to check if the underlying p4est library uses MPI (b1021cf) as we discussed in trixi-framework/Trixi.jl#977 (comment). |
This reverts commit 1434813.
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.
LGTM, thanks!
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.
LGTM! Thanks a lot for the hard work on this!
MPI.jl when re-generating bindings for P4est_jll
the previously used function
sc_MPI_Comm
is only defined ifp4est is compiled without MPI support
the version number was changed as well
Depends on JuliaPackaging/Yggdrasil#4324 and trixi-framework/P4est_jll_bindings#4.
The pre-generated bindings artifact should be attached to a new release of the P4est_jll_bindings repository after the PR there has been merged, please make sure that the links in the Artifacts.toml files in this PR here match that release after it's been made.