Skip to content

Support MethodOfLines 1 - #75

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:compat-methodoflines-v1
Aug 21, 2026
Merged

ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:compat-methodoflines-v1

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member

Ignore this draft until it has been reviewed by @ChrisRackauckas.

What changed and why

This widens PDESystemLibrary's MethodOfLines compatibility to include 1.x and keeps the
time-dependent example tests on an explicit ODEProblem path. MethodOfLines 1.0 makes
discretize return a DAEProblem by default, while this test suite intentionally selects
ODE algorithms such as FBDF, TRBDF2, and Rodas5P; constructing the ODE problem from
symbolic_discretize preserves that solver coverage on both MethodOfLines 0.12 and 1.0.

Verification

Failing before, with only the compat widened and MethodOfLines 1.0.0 plus the required
DiffEqBase 7.18.1 checkout developed locally:

GROUP=Core julia +release --project=. -e 'using Pkg; Pkg.test()'
Problem type: SciMLBase.DAEProblem
Solver type: OrdinaryDiffEqBDF.FBDF
Problem types compatible with the chosen solver: SciMLBase.ODEProblem
Core/mol_test.jl | 0 passed, 427 errored

Passing after, against MethodOfLines 0.12.0:

GROUP=Core julia +release --project=. -e 'using Pkg; Pkg.test()'
Core/mol_test.jl | 427 / 427 passed | 19m14.2s
Testing PDESystemLibrary tests passed

Passing after, against MethodOfLines 1.0.0 at the linked draft head and the DiffEqBase
7.18.1 checkout:

GROUP=Core julia +release --project=. -e 'using Pkg; Pkg.test()'
Core/mol_test.jl | 427 / 427 passed | 12m19.1s
Testing PDESystemLibrary tests passed

QA and static checks passed:

GROUP=QA julia +release --project=. -e 'using Pkg; Pkg.test()'
QA/qa.jl | 20 / 20 passed | 1m45.8s
Testing PDESystemLibrary tests passed

julia +release -m Runic --check .   # exit 0
typos over the changed files         # exit 0
git diff --check                     # exit 0

Not run locally: Julia prerelease and GPU jobs.

Reviewer decision

This deliberately retains the existing explicit ODE algorithms rather than changing the
downstream numerical coverage to MethodOfLines' default DAE solver.

Links

Construct time-dependent example problems through the documented symbolic-to-ODE route so the existing ODE solver coverage works with MethodOfLines 1.

Co-Authored-By: Chris Rackauckas <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants