Skip to content

enable checkpointing for CMIP#1796

Open
juliasloan25 wants to merge 1 commit intomainfrom
js/cmip-checkpoints
Open

enable checkpointing for CMIP#1796
juliasloan25 wants to merge 1 commit intomainfrom
js/cmip-checkpoints

Conversation

@juliasloan25
Copy link
Copy Markdown
Member

@juliasloan25 juliasloan25 commented Mar 11, 2026

Purpose

Now that CMIP simulations are stable for longer (!) it will be useful to have checkpointing + restarts for this setup.

Closes #1383

Content

  • extend ClimaCoupler's checkpointing/restarting interface for Oceananigans-based simulations (OceananigansSimulation and ClimaSeaIce)
  • add a test that runs a CMIP sim for 2 steps, saves, restarts, and runs for 2 more steps - then compare this to a sim that runs for 4 steps straight through (as we do in the existing restart_state_only.jl test)
  • generalize the logic in src/Checkpointer.jl to handle both the ClimaCore and Oceananigans cases cleanly
  • update docs

@juliasloan25 juliasloan25 force-pushed the js/cmip-checkpoints branch 2 times, most recently from 7bd307e to 3f7e1b7 Compare March 11, 2026 04:43
@@ -0,0 +1,32 @@
FLOAT_TYPE: "Float32"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

make this restart state + cache - should be reproducible

@juliasloan25 juliasloan25 force-pushed the js/cmip-checkpoints branch from b7ec050 to eb00020 Compare April 8, 2026 23:19
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.

add support for checkpointing Oceananigans and ClimaSeaIce

1 participant