-
Notifications
You must be signed in to change notification settings - Fork 188
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
Use Julia v1.10 for CI #3403
Use Julia v1.10 for CI #3403
Conversation
…jl into ncc/use-julia-v1.9.4
…jl into ncc/use-julia-v1.9.4
Doctests fail because of all the @glwagner you bumped onto this previously, right? julia> using Oceananigans
Precompiling Oceananigans
1 dependency successfully precompiled in 11 seconds. 143 already precompiled.
[ Info: Oceananigans will use 8 threads
julia> grid = RectilinearGrid(size=(1, 8, 8), extent=(1, 1, 1))
1×8×8 RectilinearGrid{Float64, Periodic, Periodic, Bounded} on CPU with 3×3×3 halo
├── Periodic x ∈ [0.0, 1.0) regularly spaced with Δx=1.0
├── Periodic y ∈ [0.0, 1.0) regularly spaced with Δy=0.125
└── Bounded z ∈ [-1.0, 0.0] regularly spaced with Δz=0.125
julia> model = NonhydrostaticModel(; grid)
warning: /Users/navid/.julia/packages/KernelAbstractions/WoCk1/src/extras/loopinfo.jl:28:0: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering
warning: /Users/navid/.julia/packages/KernelAbstractions/WoCk1/src/extras/loopinfo.jl:28:0: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering
warning: /Users/navid/.julia/packages/KernelAbstractions/WoCk1/src/extras/loopinfo.jl:28:0: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering
warning: /Users/navid/.julia/packages/KernelAbstractions/WoCk1/src/extras/loopinfo.jl:28:0: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering
warning: /Users/navid/.julia/packages/KernelAbstractions/WoCk1/src/extras/loopinfo.jl:28:0: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering
warning: /Users/navid/.julia/packages/KernelAbstractions/WoCk1/src/extras/loopinfo.jl:28:0: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering
warning: /Users/navid/.julia/packages/KernelAbstractions/WoCk1/src/extras/loopinfo.jl:28:0: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering
warning: /Users/navid/.julia/packages/KernelAbstractions/WoCk1/src/extras/loopinfo.jl:28:0: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering
warning: /Users/navid/.julia/packages/KernelAbstractions/WoCk1/src/extras/loopinfo.jl:28:0: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering
warning: /Users/navid/.julia/packages/KernelAbstractions/WoCk1/src/extras/loopinfo.jl:28:0: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering
warning: /Users/navid/.julia/packages/KernelAbstractions/WoCk1/src/extras/loopinfo.jl:28:0: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering
warning: /Users/navid/.julia/packages/KernelAbstractions/WoCk1/src/extras/loopinfo.jl:28:0: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering
warning: /Users/navid/.julia/packages/KernelAbstractions/WoCk1/src/extras/loopinfo.jl:28:0: loop not unrolled: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering
NonhydrostaticModel{CPU, RectilinearGrid}(time = 0 seconds, iteration = 0)
├── grid: 1×8×8 RectilinearGrid{Float64, Periodic, Periodic, Bounded} on CPU with 3×3×3 halo
├── timestepper: QuasiAdamsBashforth2TimeStepper
├── tracers: ()
├── closure: Nothing
├── buoyancy: Nothing
└── coriolis: Nothing |
this warnings are related to #3374, right? |
…jl into ncc/use-julia-v1.9.4
OK, now tests pass but I believe I removed more @glwagner could we zoom and put back in the |
(This is an important PR in order to start using Julia v1.10 without concerns.) |
What's the difference between that and what we are using from |
Makes sense. Are the differences associated with some of the unrolling that we added (eg to fill halo regions)? |
We didn't add any unrolling, we only removed unrollings... |
oh I see, do you mean the proper use of
Unfortunately we don't know because the distributed CI was broken at that point; I only fixed it after with e8da741. To test this hypothesis we should remove the |
This PR ready. I just wanted to wait until after OSM2024 to merge since it includes various deps updates as well. Or, @glwagner, feel free to merge at will whenever. |
I would wait a bit. I am seeing some instabilities with Julia 1.10. |
What sort of instabilities? |
I had problems with JSON3 and FFMPEG not compiling on mac and linux. I will probably write an issue. |
So non-Oceananigans related? |
yep |
But this PR doesn't require users to use 1.10 right? It's just about running the tests on 1.10. I think it will be nice to get rid of the crazy warnings on 1.10. |
yes!
yes |
(Yes, but also the Manifest includes a lot of updates for various dependencies so that all pkgs versions are resolved with v1.10.) |
Shall we merge this (when tests pass)? |
Closes #3427
Closes #3374