Skip to content
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

Support Oceananigans v0.95 and bump v0.13.4 #233

Open
wants to merge 20 commits into
base: main
Choose a base branch
from

Conversation

ali-ramadhan
Copy link
Collaborator

🤞 that everything works out of the box!

@ali-ramadhan ali-ramadhan requested a review from jagoosw November 16, 2024 01:46
@ali-ramadhan
Copy link
Collaborator Author

ali-ramadhan commented Nov 16, 2024

I think I'm seeing a couple of different errors pointing to this function

function intercept_tracer_tendencies!(model, intercepted_tendencies)
    for (name, field) in enumerate(intercepted_tendencies)
        field .= Array(interior(model.timestepper.Gⁿ[name + 3]))
    end
end

in test_sediments.jl. Something about name + 3 being out of bounds, and something about the array dimensions not matching depending on the test.

I'm skipping the sediment tests for now just to see if the rest of the tests pass on CI (they did on my machine).

@jagoosw I hope you don't mind that I re-organized test_sediments.jl a bit while investigating.

@jagoosw
Copy link
Collaborator

jagoosw commented Nov 16, 2024

That is quite strange, the changes since 0.93 shouldn't have effected any of this right?

@ali-ramadhan
Copy link
Collaborator Author

Yeah I agree and I couldn't find any hints in the diffs or the changelog... I'll try to take a closer look later today.

@ali-ramadhan
Copy link
Collaborator Author

Because of CliMA/Oceananigans.jl#3930 I had to rename ab2_step_free_surface! to step_free_surface! .

I think there's a wider discussion to be had around supporting hydrostatic RK3 time stepping with OceanBioME.jl but I'll open a new issue for it.

@ali-ramadhan
Copy link
Collaborator Author

Hmmm, new error seems to be related to store_flat_tendencies! going out of bounds for sediment models.

@ali-ramadhan
Copy link
Collaborator Author

Let's try this again.

Right now we're depending on the main branch of Oceananigans.jl until a new version is tagged (hopefully v0.95.0 soon).

Docs are failing because they're pulling in v0.92.x based on the [compat] entries and there's no way to enforce a specific branch via [compat] so I added a Manifest.toml to docs/ to get the tests to pass. The aim is to remove this Manifest.toml once we can upgrade to v0.95.0.

@ali-ramadhan ali-ramadhan changed the title Support Oceananigans v0.94 and bump v0.13.3 Support Oceananigans v0.94 and bump v0.13.4 Dec 4, 2024
@ali-ramadhan
Copy link
Collaborator Author

I think we're also encountering CliMA/Oceananigans.jl#3964 here.

@ali-ramadhan ali-ramadhan changed the title Support Oceananigans v0.94 and bump v0.13.4 Support Oceananigans v0.95 and bump v0.13.4 Dec 20, 2024
@ali-ramadhan
Copy link
Collaborator Author

Updating to Oceananigans v0.95 now!

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