Skip to content

Feature/update sundials 7.1.1#467

Draft
daklauss wants to merge 11 commits intomasterfrom
feature/update-sundials-7.1.1
Draft

Feature/update sundials 7.1.1#467
daklauss wants to merge 11 commits intomasterfrom
feature/update-sundials-7.1.1

Conversation

@daklauss
Copy link
Member

@daklauss daklauss commented Aug 11, 2025

This Draft updates to sundials 7.1.1 with vcpkg
Fixes #154

TODOS/Problems to solve:

  • CMAKE/include/CICD files, sundials>=7 uses a generic sundials_core, that needs to be included for compilation
    • updatet cmake files necessary as well as different headers in code
    • ubuntu-latest only has sundials<=6.4.1 => own build within ci/cd pipeline necessary or using sundials<7
    • Update SimulatorImpl and gmres
  • ida_impl.h got removed with sundials>=4.1 => IDAMem not accessible anymore
    • IDA_mem->ida_lsolve = &linearSolveWrapper; not possible anymore, need sunlinearsolver "object" with own linear solver
    • IDASetMaxNonlinIters(_idaMemBlock, _maxNewtonIter); led to a crash
    • weights got removed from solve call of idas linsolver? setscalingvectors? couldnt find change history
  • suncontext "object" is needed to be created, handles sundials own error logs with sundials 6
  • Set sensmaxnonliniters after idasensinit point 20
  • conduct performance benchmark
  • Create follow-ups

@github-actions
Copy link

github-actions bot commented Aug 11, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@daklauss
Copy link
Member Author

  • The CADET maintainers know my real name.

At least one of the following two applies:

  • The CADET maintainers know my current employer.

  • I am not making this contribution on behalf of my current employer.

@daklauss
Copy link
Member Author

I have read the CLA Document and I hereby sign the CLA.

@daklauss daklauss force-pushed the feature/update-sundials-7.1.1 branch 4 times, most recently from ead18d0 to 953dbfc Compare August 19, 2025 11:10
@cadet cadet deleted a comment from daklauss Aug 19, 2025
@daklauss daklauss force-pushed the feature/update-sundials-7.1.1 branch 3 times, most recently from 3f973d5 to bccc591 Compare August 26, 2025 09:12
@daklauss daklauss force-pushed the feature/update-sundials-7.1.1 branch from bccc591 to 980ef48 Compare October 7, 2025 09:23
@daklauss daklauss force-pushed the feature/update-sundials-7.1.1 branch 6 times, most recently from 843f734 to bd9c003 Compare October 22, 2025 12:55
@daklauss daklauss force-pushed the feature/update-sundials-7.1.1 branch 2 times, most recently from 8586a25 to 95f8267 Compare November 4, 2025 10:28
@daklauss daklauss force-pushed the feature/update-sundials-7.1.1 branch 2 times, most recently from 6920cf0 to 57f2333 Compare November 18, 2025 12:05
@daklauss daklauss force-pushed the feature/update-sundials-7.1.1 branch 3 times, most recently from b9af5c0 to 069b4e4 Compare February 4, 2026 10:52
@daklauss daklauss force-pushed the feature/update-sundials-7.1.1 branch 4 times, most recently from dbdc676 to 708411c Compare February 10, 2026 15:16
@daklauss daklauss force-pushed the feature/update-sundials-7.1.1 branch 7 times, most recently from 3282f96 to 867cf4d Compare February 13, 2026 12:24
@daklauss daklauss requested a review from jbreue16 February 13, 2026 12:29
@daklauss daklauss force-pushed the feature/update-sundials-7.1.1 branch from 867cf4d to 1ab44d4 Compare February 18, 2026 12:10
@daklauss daklauss force-pushed the feature/update-sundials-7.1.1 branch from ba7d334 to 6c88888 Compare February 20, 2026 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

Update to latest SUNDIALS version

2 participants