Skip to content
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

klu support with suitesparse 5.8.1 (latest) #54

Closed
doronbehar opened this issue Dec 19, 2020 · 2 comments
Closed

klu support with suitesparse 5.8.1 (latest) #54

doronbehar opened this issue Dec 19, 2020 · 2 comments
Assignees

Comments

@doronbehar
Copy link

Hi,

I'm the maintainer in NixOS of a few packages that use sundials and suitesparse as dependencies. While attempting to update our sundials from 5.3.0 to 5.6.1 I got this error when I try to build sundials 5.6.1 with suitesparse 5.8.1:

https://gist.github.com/doronbehar/e24f9fb894171c209bc436c3962ed5ee

I noticed you write in your docs that suitesparse 5.7.1 is the version that is tested for klu support, but it'd be nice if the latest version of suitesparse - available in the distributions will be supported and hence sundials will not require a custom version of suitesparse.

Regards.

@gardner48
Copy link
Member

gardner48 commented Dec 19, 2020

@doronbehar try changing -DSUNDIALS_INDEX_SIZE=int32_t to -DSUNDIALS_INDEX_SIZE=32 in your configuration and that should resolve the build issue.

@gardner48 gardner48 self-assigned this Dec 19, 2020
@doronbehar
Copy link
Author

That worked. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants