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

Add check for accumulated diagnostics and restarts #3396

Merged
merged 1 commit into from
Oct 28, 2024
Merged

Conversation

Sbozzolo
Copy link
Member

This commit adds a warning when we can detect checkpointing and diagnostics being out of sync. ClimaAtmos now detects what frequencies are involved and print them out, e.g.

[ Info: Saving accumulated diagnostics to disk with frequency: 2 days, 1 day

Then, it checks that all these frequencies evenly divide the checkpointing frequency. If this does not happen, a warning is produced.

Closes #3309
Closes #2604

@Sbozzolo Sbozzolo force-pushed the gb/diagnostics branch 4 times, most recently from e3f7589 to ea8042d Compare October 23, 2024 19:47
@Sbozzolo Sbozzolo force-pushed the gb/diagnostics branch 2 times, most recently from 8bb56be to c47175d Compare October 24, 2024 15:32
This commit adds a warning when we can detect checkpointing and
diagnostics being out of sync. ClimaAtmos now detects what frequencies
are involved and print them out, e.g.
```
[ Info: Saving accumulated diagnostics to disk with frequency: 2 days, 1 day
```
Then, it checks that all these frequencies evenly divide the
checkpointing frequency. If this does not happen, a warning is produced.
@Sbozzolo Sbozzolo added this pull request to the merge queue Oct 25, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 26, 2024
@Sbozzolo Sbozzolo added this pull request to the merge queue Oct 28, 2024
Merged via the queue into main with commit 6ec354f Oct 28, 2024
16 checks passed
@Sbozzolo Sbozzolo deleted the gb/diagnostics branch October 28, 2024 16:18
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 check that checkpoints and diagnostics output are synced up Make sure restart works correctly
3 participants