-
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
Allow to substitute p4est library with system-installed library with MPI support #10
Comments
Actually, I am wondering if we should start with this issue before moving on to #4. I did succeed in finding a solution for #4 a few days ago, however, it does not make much sense before it is not possible to substitute the underlying library with a system-installed library first (i.e., the present issue). Otherwise, we effectively prevent anyone using P4est.jl from switching the underlying MPI implementation in MPI.jl from the default MPICH_jll.jl, as P4est_jll.jl links against that library. However, trying to use But where do we get this include directory from? It would make most sense to somehow get it from MPI.jl, which seems to be impossible though (no include paths stored). Alternatively, one could just use env vars such as I don't know if my ramblings make much sense to you, but the gist is that I think we need to figure out this issue first before we should think about #4. |
That sounds like a reasonable suggestion. Can we get the include paths etc. from |
Unfortunately not. The only portable "export" of the underlying library in MPI.jl so far is the Right now, I don't really have a solution for this issue, but I created an issue at MPI.jl (JuliaParallel/MPI.jl#425) and I hope that they might have an idea about this... |
Hmm, you're right (of course!). It would be really great if we could get everything from MPI.jl. I hope they have an idea. |
Once #4 and #5 are resolved, we should also allow build P4est.jl with a custom MPI-build of libp4est.
The text was updated successfully, but these errors were encountered: