-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
v4.19.4 CVODE recoverable warnings now cause failures #420
Comments
A failure is visible in CI log from https://github.com/PALEOtoolkit/PALEOcopse.jl/actions/runs/6207071757/job/16851946212 :
|
@oscardssmith can you look into that? |
this was an intentional change to match the rest of the ode ecosystem. also, how is the integration not getting stuck in an infinite loop if this happens? is sundials storing a double double time internally? |
Or perhaps sundials has some additional internal state (numerical Jacobian? ??) which is modified/reset? Would it be reasonable just to keep calling sundials CVode until it either returns an error code or the maximum number of timesteps is reached? |
Workaround for SciML/Sundials.jl#420,
Remove restrction to Sundials <= 4.19.3 as this causes CI failure due to some other incompatibility This means we will now see SciML/Sundials.jl#420
The same problem. After
Setting |
Looks like with the Sundials.jl v4.19.4 release what was previously a CVODE warning followed by recovery has now become an error and then failure
The CVODE warning is
which prior to v4.19.4 did just what it says (continued), but now errors.
Plausibly the change is PR #416, https://github.com/oscardssmith/Sundials.jl/blob/35abe0140c6b70ff962e2971e024a75b0af04552/src/common_interface/solve.jl#L1403C12-L1405C16
The text was updated successfully, but these errors were encountered: