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

Save final state when simulation crashes #2444

Merged
merged 1 commit into from
Dec 18, 2023
Merged

Save final state when simulation crashes #2444

merged 1 commit into from
Dec 18, 2023

Conversation

Sbozzolo
Copy link
Member

@Sbozzolo Sbozzolo commented Dec 18, 2023

With this commit, the state of the simulation at the last timestep is saved whenever a simulation crashes (e.g., saturation adjustment).

@Sbozzolo Sbozzolo requested a review from szy21 December 18, 2023 22:16
@Sbozzolo Sbozzolo marked this pull request as ready for review December 18, 2023 22:16
Copy link
Member

@szy21 szy21 left a comment

Choose a reason for hiding this comment

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

Thanks!

@Sbozzolo Sbozzolo added this pull request to the merge queue Dec 18, 2023
@szy21
Copy link
Member

szy21 commented Dec 18, 2023

Do you think it would be useful to save the cache when the simulation crashes? Or is it too much?

@Sbozzolo
Copy link
Member Author

Do you think it would be useful to save the cache when the simulation crashes? Or is it too much?

I can add that

@Sbozzolo
Copy link
Member Author

Sbozzolo commented Dec 18, 2023

I can add that

Actually, it is not easy, because the cache has a mix of types and we don't have a HDF5 that can handle it easily.

@Sbozzolo Sbozzolo removed this pull request from the merge queue due to a manual request Dec 18, 2023
@Sbozzolo Sbozzolo added this pull request to the merge queue Dec 18, 2023
Merged via the queue into main with commit 26b5c21 Dec 18, 2023
9 of 10 checks passed
@Sbozzolo Sbozzolo deleted the gb/save_crash branch December 18, 2023 23:54
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