Skip to content
Discussion options

You must be logged in to vote

Hi @sam12396! Glad you're finding the package easy to use!

Apologies for the outdated documentation. Checkpointing has been recently refactored (and improved) in PR #1082.

So you don't want to use restore_from_checkpoint anymore (we should remove this function). Instead, you pickup via the pickup keyword argument passed to run!.

If you've already added a Checkpointer to simulation.output_writers you can just do run!(simulation, pickup=true) and it'll continue running the simulation from the latest checkpoint. You can also pass a filepath or an iteration number to restore from a specific checkpoint. More details: https://clima.github.io/OceananigansDocumentation/stable/library/#Oceananigan…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@ali-ramadhan
Comment options

@sam12396
Comment options

@sam12396
Comment options

@glwagner
Comment options

@sam12396
Comment options

Answer selected by ali-ramadhan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants