# \#sundials

**URL:** https://discourse.julialang.org/tag/sundials/1000.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Facing problems with Sundials.jl (ARKODE) with discrete callback](https://discourse.julialang.org/t/facing-problems-with-sundials-jl-arkode-with-discrete-callback/119278)

<div class="topic-metadata">

**Author:** [@humhongekamyaab](https://discourse.julialang.org/u/humhongekamyaab)\
**Replies:** 5\
**Last updated:** [September 14, 2024, 6:24am UTC](https://discourse.julialang.org/t/facing-problems-with-sundials-jl-arkode-with-discrete-callback/119278 "2024-09-14T06:24:39Z")

</div>

Hello everyone, I want to use CashKarp RK explicit algorithm (Numerical Recipe 2nd Edition RK) from Sundials.jl for my particular ODE system and need a discrete callback to do some manipulations after each time step. h…

---

## [Looking to parallelize (not parametrize) the solution to a large and highly stiff ODE system](https://discourse.julialang.org/t/looking-to-parallelize-not-parametrize-the-solution-to-a-large-and-highly-stiff-ode-system/116727)

<div class="topic-metadata">

**Author:** [@balaji\_sriram](https://discourse.julialang.org/u/balaji_sriram)\
**Replies:** 7\
**Last updated:** [July 13, 2024, 12:41pm UTC](https://discourse.julialang.org/t/looking-to-parallelize-not-parametrize-the-solution-to-a-large-and-highly-stiff-ode-system/116727 "2024-07-13T12:41:42Z")

</div>

I am solving a system of linear differential equations (of type \[dx/dt\]= \[Jacobian\]\*\[ x \] ) with about 1 million simultaneous differential equations. The system is highly stiff and the jacobian is sparse and banded. I us…

---

## [Solving DAEs with known sparsity pattern and IDA](https://discourse.julialang.org/t/solving-daes-with-known-sparsity-pattern-and-ida/114318)

<div class="topic-metadata">

**Author:** [@ataideneto](https://discourse.julialang.org/u/ataideneto)\
**Replies:** 4\
**Last updated:** [May 16, 2024, 10:51pm UTC](https://discourse.julialang.org/t/solving-daes-with-known-sparsity-pattern-and-ida/114318 "2024-05-16T22:51:55Z")

</div>

Hi everyone! Can someone provide a minimal example of how to use sparsity patterns (jac\_prototype) when solving DAEs with IDA solver? I manage to use sparsity patterns with ODEs and the julia solvers… Here are some exa…

---

## [Sundials KLU Linear solver](https://discourse.julialang.org/t/sundials-klu-linear-solver/112954)

<div class="topic-metadata">

**Author:** [@jespfra](https://discourse.julialang.org/u/jespfra)\
**Replies:** 1\
**Last updated:** [April 15, 2024, 10:55am UTC](https://discourse.julialang.org/t/sundials-klu-linear-solver/112954 "2024-04-15T10:55:33Z")

</div>

Hi everyone, I am trying to use the KLU method as linear solver for solving an ODE problem using Sundials. I have tried to apply it to the CVODE\_BDF solver for a simple problem, the rober equation. However, when I prov…

---

## [IDA is allocating a lot](https://discourse.julialang.org/t/ida-is-allocating-a-lot/112383)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 28\
**Last updated:** [April 4, 2024, 10:06am UTC](https://discourse.julialang.org/t/ida-is-allocating-a-lot/112383 "2024-04-04T10:06:24Z")

</div>

I am using the IDA solver from Sundials.jl to solve a system of DAEs. It works fine, but each time step needs a lot of allocations, even though my callback function does not allocate at all. MWE: using KiteModels kps4…

---

## [DAE - Sundials parallel capabilities access through sundials.jl or DifferentialEquation.jl](https://discourse.julialang.org/t/dae-sundials-parallel-capabilities-access-through-sundials-jl-or-differentialequation-jl/99924)

<div class="topic-metadata">

**Author:** [@Relojuca](https://discourse.julialang.org/u/Relojuca)\
**Replies:** 5\
**Last updated:** [June 25, 2023, 11:29am UTC](https://discourse.julialang.org/t/dae-sundials-parallel-capabilities-access-through-sundials-jl-or-differentialequation-jl/99924 "2023-06-25T11:29:28Z")

</div>

Hi People. I am implementing a code for solving a DAE system using sundials and IDA (through the DifferentialEquation.jl interface). However, as my simulation requires the solution of several equations \> 500. It is taki…

---

## [Large DAE problem in Julia using DifferentialEquations](https://discourse.julialang.org/t/large-dae-problem-in-julia-using-differentialequations/97555)

<div class="topic-metadata">

**Author:** [@hannemgr](https://discourse.julialang.org/u/hannemgr)\
**Replies:** 2\
**Last updated:** [April 16, 2023, 9:07pm UTC](https://discourse.julialang.org/t/large-dae-problem-in-julia-using-differentialequations/97555 "2023-04-16T21:07:39Z")

</div>

Hi, I am currently working on a project which requires the solution of a large-scale DAE problem (differential algebraic equations). I have tried some example test codes such as Robertson equation which has worked fine …

---

## [Problems installing Sundials](https://discourse.julialang.org/t/problems-installing-sundials/88415)

<div class="topic-metadata">

**Author:** [@guilhermebodin](https://discourse.julialang.org/u/guilhermebodin)\
**Replies:** 15\
**Last updated:** [October 19, 2022, 12:31pm UTC](https://discourse.julialang.org/t/problems-installing-sundials/88415 "2022-10-19T12:31:10Z")

</div>

Hi, I am trying to install the latest version of Sundials on windows but I keep getting this permission denied message. I am running with cmd as an administrator (@v1.8) pkg\> activate --temp Activating new project at …

---

## [Sundials: High memory usage](https://discourse.julialang.org/t/sundials-high-memory-usage/79270)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 1\
**Last updated:** [April 9, 2022, 9:57pm UTC](https://discourse.julialang.org/t/sundials-high-memory-usage/79270 "2022-04-09T21:57:52Z")

</div>

I am using the package Sundials, which belongs to DifferentialEquations. I have a residual function with zero memory allocations, but the IDA solver of Sundials has a quite high memory usage. I have the following code fo…
