Repository navigation
Give each threaded complex stage its own JVP operator - #4430
Merged
ChrisRackauckas merged 1 commit intoAug 30, 2026
Merged
Conversation
singhharsh1708
force-pushed
the
fix-firk-threaded-jvp
branch
from
August 29, 2026 18:50
1d852fe to
bf954b2
Compare
singhharsh1708
marked this pull request as ready for review
August 29, 2026 20:47
singhharsh1708
force-pushed
the
fix-firk-threaded-jvp
branch
from
August 30, 2026 10:20
bf954b2 to
a68a72c
Compare
Member
|
needs a rebase |
singhharsh1708
force-pushed
the
fix-firk-threaded-jvp
branch
from
August 30, 2026 13:14
a68a72c to
98a61fe
Compare
Member
Author
|
done |
ChrisRackauckas
referenced
this pull request
Aug 31, 2026
Apply Runic v1.10 formatting to the tests added by #4445. Agent-Harness: Codex (version unknown) Agent-Model: GPT-5 Agent-Session: unknown Co-authored-by: ChrisRackauckas-Claude <[email protected]> Co-authored-by: OpenAI Codex <[email protected]>
ChrisRackauckas
added a commit
that referenced
this pull request
Sep 7, 2026
- Add serial SDC solver family (OrdinaryDiffEqSDC) (#4208) - Give each threaded complex stage its own JVP operator (#4430) - Fix the adaptive error estimates of MRIGARKERK22a and MIS (#4232) - Skip sparsity prep for matrix-free jac_prototype operators (#4445) - Format differentiation tests (#4446) - Fix SciMLBase reexport QA on Julia LTS (#4450) Agent-Harness: Claude Code Agent-Model: claude-opus-5[1m] Claude-Session: https://claude.ai/code/session_014FEzNTLFutCmTEAZ3zBg5R Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
ChrisRackauckas
added a commit
that referenced
this pull request
Sep 7, 2026
- Add serial SDC solver family (OrdinaryDiffEqSDC) (#4208) - Give each threaded complex stage its own JVP operator (#4430) - Fix the adaptive error estimates of MRIGARKERK22a and MIS (#4232) - Skip sparsity prep for matrix-free jac_prototype operators (#4445) - Format differentiation tests (#4446) - Fix SciMLBase reexport QA on Julia LTS (#4450) Agent-Harness: Claude Code Agent-Model: claude-opus-5[1m] Claude-Session: https://claude.ai/code/session_014FEzNTLFutCmTEAZ3zBg5R Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
ChrisRackauckas
added a commit
that referenced
this pull request
Sep 11, 2026
- Add serial SDC solver family (OrdinaryDiffEqSDC) (#4208) - Give each threaded complex stage its own JVP operator (#4430) - Fix the adaptive error estimates of MRIGARKERK22a and MIS (#4232) - Skip sparsity prep for matrix-free jac_prototype operators (#4445) - Format differentiation tests (#4446) - Fix SciMLBase reexport QA on Julia LTS (#4450) - Preserve conditioning in OOP no-init solves (#4438) - Read the test group from GROUP like the CI passes it (#4447) - Raise root GPU test timeout (#4449) - Fix default SDE dt vector lengths (#4454) Agent-Harness: Claude Code Agent-Model: claude-opus-5[1m] Claude-Session: https://claude.ai/code/session_014FEzNTLFutCmTEAZ3zBg5R Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
AdaptiveRadau(threading = true)with a matrix-free Jacobian is nondeterministic once the method has two complex stage pairs: ten solves of a 200-point heat equation atmin_order = max_order = 9withKrylovJL_GMRES()gave ten different answers, spread 1.4e-3 apart at tolerance 1e-7, with one Julia thread they agree exactly.Every
ComplexWOperatoris built from the sameW1.jacvec, so the stage solves that@threadedruns in parallel all push through oneJVPCacheand race on its pushforward buffers and its product tally; the threadednfcame out 566 where the serial solve counts 163.When threading is on and the Jacobian is a
JVPCache,build_complex_Wnow gives each complex stage its own operator,firk_new_J!moves those operators with the real one, and the existing per-stage drain picks up their tallies, so ten threaded solves now agree to the bit and report the serialnf.The new test checks the operators are distinct, that repeated threaded solves agree, and that the threaded and serial
nfmatch; the FIRK Krylov file passes on four threads.AI Disclosure: Claude assisted with this change.