Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
[PETSc] Attempt to rebuild with good include files (and don't rename libpetsc) #3801
[PETSc] Attempt to rebuild with good include files (and don't rename libpetsc) #3801
Changes from 13 commits
345779f
b289066
ff50a5b
f9a79e0
5fe010c
139a35c
892ab65
4e2d35a
af03beb
1f98c2f
4b36955
3919ea3
4d8c7f4
f5f4434
5d04c50
224a420
9bbba08
7425907
fc8cfbf
2b4eda4
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Now that I think of this, all these libraries are called
libpetsc
, right? If so, there is no way this is going to work, we can't dlopen multiple libraries with the same name, the first one will win.Either we don't dlopen the libraries and users will have to take care of that, or I don't know what you want to do.
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.
This is where they're found. https://github.com/JuliaParallel/PETSc.jl/blob/main/src/startup.jl
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.
I didn't realize PETSC.jl will open multiple at once, that is problematic.
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.
If you want to dlopen all of them at the same time, they must not have all the same name, it can't possibly work because that's how dlopen works (this is in general, not Julia-specific).
If you want to open only one library, we can set
dont_dlopen=true
for all of them, and the consumer will need to manually dlopen the single desired lib.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.
How is PETSc.jl doing this then? Do they require that you rename
libpetsc.so
for the custom builds?