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 runtime output and exit on fail #41

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

cwentland0
Copy link
Contributor

Adds runtime_step as a global variable in Exodus output. This records the wall clock runtime of each time step, for use in total runtime metrics.

Also, this terminates execution when a simulation has failed. Previously, if a simulation failed the time step outer loop would continue until the set final time, and repeatedly write the system state at failure to the output file. This made it difficult to determine after the fact whether a simulation had failed and wastes disk space. This ultimately does not address the edge case where the simulation fails on the final time step.

@lxmota lxmota merged commit c05c8e1 into sandialabs:main Jan 29, 2025
0 of 6 checks passed
@ikalash
Copy link
Collaborator

ikalash commented Jan 29, 2025

Thanks for putting this in @cwentland0 ! It's very timely, as the termination feature will be helpful in some runs I'm doing 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.

3 participants