-
Notifications
You must be signed in to change notification settings - Fork 0
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
Understanding the C++ bindings #18
Comments
When we create a recipe with Yggdrasil, the JLL package is generated such that the products (libraries or binaries) are exported as Julia variables. The With |
We need to update two files: It seems that Michel already implemented what we want but he got some issues with OpenMP. |
@gdalle I just updated the C routine I also the build system such that the binary |
Thanks! I can't judge the modifications to the C++ code though. To sum up, based on https://github.com/CSCsw/ColPack/tree/master/Examples, all we need from ColPack.jl is:
As long as a function like this is available, I don't care what goes on under the hood: colpack_coloring(matrix::SparseMatrixCSC, method::Symbol, order::Symbol) |
Where does this function come from? What is the
libcolpack
object?ColPack.jl/src/colpackcoloring.jl
Lines 95 to 103 in 01dd282
I don't speak C++ so the ColPack documentation is very foreign to me. And I am not familiar with the
jll
mechanism either.For Jacobian coloring, we would need to access the BipartiteGraph PartialColoringInterface instead (see the ColPack class hierarchy). Here are the three examples we want to reproduce in Julia:
The text was updated successfully, but these errors were encountered: