-
-
Notifications
You must be signed in to change notification settings - Fork 79
Update Sundials version #77
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
Comments
I think it's only worthwhile if we also make it possible to use the KLU sparse direct solver in the simplified interface. I think a prerequisite for any PR making this change should show that this functionality is wrapped, otherwise it would be possible breaking without gains. |
I have a branch somewhere which wraps v2.6.2; the reason why it is not available here AFAIK is that the newest version is not available for direct download (which is how the build.jl script grabs sources to build.) |
ARKode is a motivating new feature that may make it worth it to update |
I didn't know they added a operator splitting integrator. That would definitely be useful (I am hoping to implement one, so it would be nice to have one to test against). @alyst mind if we assign this to you? |
Found the relevant branch: https://github.com/jgoldfar/Sundials.jl/tree/library-2.6.2 you'll need to provide sources though |
That branch doesn't have the #67 changes. I wonder if using the autogenerated wrappers would be easier than rebasing it again. |
No; it would require rebase and/or wrapper regeneration. Probably the latter would be best, though wrapper regeneration is not a straightforward task last I did it for this package.
|
@ChrisRackauckas I think the best would be if somebody else picks up the Sundials version update task and I will provide my assistance:
You or @jgoldfar could just try running |
That makes sense. I might look into if no one else does in the next month. |
I generated wrappers using the old script by accident (thought I had updated!) but with the new wrap_sundials.jl, I'm getting
|
If anyone is interested in a branch with a build.jl modified to pull and build v2.7.0, I can push it somewhere. Any idea on how where to start on the previous? |
@jgoldfar My initial guess is that maybe |
@jgoldfar If you intend to continue working on 2.7.0 support, it makes total sense to make a PR with what you have at the moment. |
BTW wrap_sundials.jl looks like a good place to use https://github.com/MikeInnes/MacroTools.jl (not that I've used it, but seen it being used...) |
@jgoldfar Thanks for the link. Yes, using MacroTools should potentially simplify the script. |
Conda.jl might be a good option for cross-platform installation of the Sundials libraries. Sundials 2.7.0 is available here: https://anaconda.org/conda-forge/sundials That would certainly help on the Windows side, where someone would have to update the binary that @tkelman put together. Having binary libraries for Linux and OSX could also speed up the Travis tests. |
That's a very good idea. I am much more comfortable with Conda anyways. I'll see if I can get this going. |
Conda's sundials build is most likely built using msvc, which I would avoid. |
You also don't need an entire python distribution to install a single C library. |
Yeah, now I remember this is why SymEngine went away from the Windows use of Conda. It caused a lot of problems and was eventually dropped. Scrap this then. |
Completed via #149 |
Sundials.jl
uses Sundials 2.5.0, the most version is 2.6.2.I don't know what would be the specific benefits of upgrading the Sundials version, but with #67 merged into master some of the hand-written wrappers are now generated automatically, so this upgrade should be easier.
The text was updated successfully, but these errors were encountered: