-
Notifications
You must be signed in to change notification settings - Fork 114
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
Update RecursiveArrayTools.jl compatibility to version 3 #2194
base: main
Are you sure you want to change the base?
Conversation
Review checklistThis checklist is meant to assist creators of PRs (to let them know what reviewers will typically look for) and reviewers (to guide them in a structured review process). Items do not need to be checked explicitly for a PR to be eligible for merging. Purpose and scope
Code quality
Documentation
Testing
Performance
Verification
Created with ❤️ by the Trixi.jl community. |
I make the initialization algorithm for |
This will make the current package compatible with Julia >= 1.10 - the CI tests relates to Julia < 1.10 will definitely fail. |
The dependency management is really a mess here - for example, the configurations for test env, docs env, and main project env never align. This definitely makes the debug for env configuration hard |
I don't think we are ready to do this just yet - or did we make a decision about this that I forgot about, @ranocha? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2194 +/- ##
===========================================
+ Coverage 43.20% 84.37% +41.17%
===========================================
Files 485 486 +1
Lines 39006 39148 +142
===========================================
+ Hits 16852 33031 +16179
+ Misses 22154 6117 -16037
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Then the issue #1789 will be delayed - when do you plan to upgrade to Julia 1.10? |
Which version of RecursiveArrayTools.jl is really required? Just v3 (i.e., v3.0.0 would be sufficient) or a specific, later version? With, e.g., v3.2 we would still be able to keep Julia v1.9 compatibility. |
Good question 👍let me check |
I have no idea, I just know that >= 2.38.10 does not work and >= 3 works. Can you answer Michael's question @jlchan - I don't know which version you actually need |
I would hesitate to require Julia 1.10 and newer. We have seen some performance impacts in HPC settings, e.g., JuliaLang/julia#55009, JuliaLang/julia#50985 |
We'd need at least RecursiveArrayTools.jl 3.27.1, which is where @huiyuxie's PR fixing |
Too bad. This is already at Julia v1.10 😞 |
Does it mean you prefer to upgrade to version 1.10 until both of these issues are resolved? |
That's something we need to discuss. |
This is a bad situation. IMHO, we cannot wait until these two issues are resolved before we fix the incompatibility with newer versions of the whole SciML stack. Fixing this feels more and more urgent and it also looks like the two julia issues will not be fixed anytime soon. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I'll merge this PR when tests pass.
This was quite a dependency nightmare. Let's see whether CI passes this time... |
There are some real CI failures, e.g., related to the signature of the ODE solution used for plotting: https://github.com/trixi-framework/Trixi.jl/actions/runs/12692326120/job/35377430185?pr=2194#step:7:1635 |
It looks like there is some serious type instability or something like that with MPI (based on the amount of allocations): https://github.com/trixi-framework/Trixi.jl/actions/runs/12692326120/job/35377432752?pr=2194#step:7:12200 |
I don't have the time to debug this further today. Any help is welcome 🙂 |
I can work on the plotting but it probably won't be until tomorrow. |
Thanks for helping @ranocha 😊 |
Supplementary fix for #2150 and JoshuaLampert/DispersiveShallowWater.jl#163 (merged).