Skip to content

support scimlbase 3#1171

Open
svchb wants to merge 9 commits into
trixi-framework:mainfrom
svchb:scimlbase3
Open

support scimlbase 3#1171
svchb wants to merge 9 commits into
trixi-framework:mainfrom
svchb:scimlbase3

Conversation

@svchb
Copy link
Copy Markdown
Collaborator

@svchb svchb commented Apr 30, 2026

No description provided.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 30, 2026

Codecov Report

❌ Patch coverage is 85.00000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.04%. Comparing base (b3f0e7d) to head (5c5b3c6).

Files with missing lines Patch % Lines
test/callbacks/info.jl 0.00% 2 Missing ⚠️
test/callbacks/sorting.jl 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1171   +/-   ##
=======================================
  Coverage   90.04%   90.04%           
=======================================
  Files         136      136           
  Lines       10595    10595           
=======================================
  Hits         9540     9540           
  Misses       1055     1055           
Flag Coverage Δ
total 90.05% <85.00%> (ø)
unit 70.77% <15.78%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@svchb
Copy link
Copy Markdown
Collaborator Author

svchb commented Apr 30, 2026

/run-gpu-tests

@svchb svchb requested a review from efaulhaber April 30, 2026 12:22
@svchb svchb self-assigned this Apr 30, 2026
@svchb svchb added the dependencies Pull requests that update a dependency file label Apr 30, 2026
@svchb
Copy link
Copy Markdown
Collaborator Author

svchb commented May 4, 2026

/run-gpu-tests

@efaulhaber
Copy link
Copy Markdown
Member

This PR breaks compatibility with all old versions. Do we want that? Trixi.jl keeps backwards compatibility:
https://github.com/trixi-framework/Trixi.jl/pull/2996/changes

@svchb
Copy link
Copy Markdown
Collaborator Author

svchb commented May 7, 2026

This PR breaks compatibility with all old versions. Do we want that? Trixi.jl keeps backwards compatibility: https://github.com/trixi-framework/Trixi.jl/pull/2996/changes

yes but they don't actually test the old stack. I tried with an older version before and than it just broke because of the dependencies that are too wide in the sciml world.

@svchb
Copy link
Copy Markdown
Collaborator Author

svchb commented May 7, 2026

So if we want to have compatability with the older sciml stack we would also need to add a test in my opinion for that.

@efaulhaber
Copy link
Copy Markdown
Member

That is a good point. I guess since we're not as big as Trixi, we can simply drop support for the old versions. @sloede what do you say is the best approach here?

svchb added 4 commits May 12, 2026 11:12
# Conflicts:
#	Project.toml
#	src/callbacks/sorting.jl
#	src/callbacks/split_integration.jl
#	test/Project.toml
#	test/examples/examples_fluid.jl
@sloede
Copy link
Copy Markdown
Member

sloede commented May 28, 2026

That is a good point. I guess since we're not as big as Trixi, we can simply drop support for the old versions. @sloede what do you say is the best approach here?

I don't think backwards compatibility is strictly needed. If you find that for some reason SciMLBase v3 is not working out, you can always re-add backwards compatibility later.

Comment thread src/callbacks/info.jl

# Tell OrdinaryDiffEq that u has not been modified
u_modified!(integrator, false)
# This callback only reports progress and does not introduce a derivative discontinuity.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is not very self-explanatory. How about something like this?

Suggested change
# This callback only reports progress and does not introduce a derivative discontinuity.
# This callback only reports progress and does not change the result of the right-hand side.

This comment is for all occurrences of derivative_discontinuity!.

Comment on lines 211 to -216
# Usually, `u` is modified in the split integration above, but if the split
# integrator has already been advanced to the new step time in the last stage of the
# previous step, the split integration above is skipped and `u` is not modified.
# (Technically, the split integration `u` is copied to the large `u` to account for
# potential caching errors, but the RHS of the last stage of the previous step
# can be reused for FSAL methods, which is what `u_modified!` is for.)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment was essential. How about rephrasing it?

        # Usually, `u` is modified in the split integration above, but if the split
        # integrator has already been advanced to the new step time in the last stage of the
        # previous step, the split integration above is skipped and only the split integration `u`
        # is copied to the large `u` to account for potential caching errors.
        # This does not affect the RHS of the large integrator, so no discontinuity is introduced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants