-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Offset calculation in suitesparse_wrapper #10347
Comments
@staticfloat I tend to think that this is mainly a packaging issue. The suitesparse_wrapper shim is correct when build together with the linked SuiteSparse, but not when the library is substituted. Do you know how we can handle this? |
If the |
We should check this when Julia is launched, and, as mentioned in the other issue, not (only) when the system image is build, but I don't how to do that. |
See Line 54 in 32aee08
error is misleading, as it won't terminate the program, but just print a warning.
|
@ivarne Thanks. That was exactly what I was looking for. |
I think the best we can do here is #10362, so I'll close. |
I think that the way we are calculating the offsets in suitesparse_wrapper.c is broken because the offsets are calculated for the machine where
suitesparse_wrapper.c
is compiled. These offsets need not be the same when Julia is from a repository because the version of SuiteSparse can be different from the machine where the package was build.This can be seen on Julia release on Ubuntu where CHOLMOD objects are printed wrongly because the print level is set in specific location in a vector and this location has changed over time because the cholmod_common_struct has changed over time.
The text was updated successfully, but these errors were encountered: