Repository navigation
Bound KdV KenCarp step sizes - #1685
ChrisRackauckas-Claude wants to merge 1 commit into
Conversation
Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Claude <[email protected]> Claude-Session: https://chatgpt.com/codex/tasks/01a03a17-ad6f-7131-82fc-d0fd57ea6512
|
Upstream tracking issue: SciML/OrdinaryDiffEq.jl#4378. The standalone N=32 |
|
The step-size-cap workaround should remain closed. The benchmark symptom reduces to the default linear-solver path on a I also tested SciML/SciMLBase.jl#1520 rather than inferring from its diff:
The exact KdV construction now completes on the dependency stack merged by #1678: 32.61 seconds without SciMLBase PR 1520 and 33.27 seconds with it. That comparison does not support PR 1520 as the runtime fix. |
This is a one-commit patch stacked on #1672. Merge it into
fix/simplehandwrittenpde-runtimebefore merging that PR.What changed and why
The KdV
SplitODEProblemlets the adaptive KenCarp methods enter a Newton solve whose default matrix-free GMRES path does not return. This is the reason the remainingkdv_fdm_wpd.jmdCI job has run for more than 41 hours.Cap each KenCarp method at the largest locally verified stable step size: 0.015 for KenCarp3, 0.03 for KenCarp4, and 0.00875 for KenCarp5. These caps preserve tolerance-dependent work counts. The labels no longer call the default linear solver “dense”; the observed default path is Krylov GMRES.
Verification
Failing before
A minimized solve using the benchmark's exact
SplitODEProblem,KenCarp3(),abstol=1e-7, andreltol=1e-4did not return in the deliberately short immediate-hang check:The temporary probe was removed before committing.
Passing after
The same problem with the final caps returned
Successat every benchmark tolerance:Nearby larger coarse-tolerance caps reproduced the hang: KenCarp3 at 0.02, KenCarp4 at 0.04, and the uncapped KenCarp5 path. This is why the values are method-specific.
The exact final benchmark file completed locally:
The unchanged final ARKODE comparison emitted one
Instability detectedwarning and still generated its plot. The full folder was not run; only the CI target changed here was weaved.Formatting and spelling checks completed with no output and exit status 0:
Root QA reproduced the known base-branch metadata failures and no others:
The failures are stale root dependencies and missing stdlib/Test compat entries. They reproduce on master and are fixed separately by #1683 (19/19 locally). Direct
docs/make.jlis inapplicable in this source checkout; docs are copied to and built fromSciMLBenchmarksOutput. No GPU or downstream jobs were run.🤖 Generated with Claude Code
https://chatgpt.com/codex/tasks/01a03a17-ad6f-7131-82fc-d0fd57ea6512