Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Add maximum_runtime #1054

Merged
merged 3 commits into from
Jan 13, 2022
Merged

Add maximum_runtime #1054

merged 3 commits into from
Jan 13, 2022

Conversation

dchassin
Copy link
Member

@dchassin dchassin commented Jan 4, 2022

This PR fixes issue #1053.

Current issues

None

Code changes

  • Add maximum_runtime global variable.
  • Add main runtime check.

Documentation changes

Test and Validation Notes

Simple check is to run a long-running simulation with -D maximum_runtime=X where X is less than the total runtime. This should result in an error such as maximum runtime of X seconds reached.

@dchassin dchassin added the enhancement Request an enhancement or new feature label Jan 4, 2022
@dchassin dchassin added this to the HiPAS 4.2 Final Release milestone Jan 4, 2022
@dchassin dchassin self-assigned this Jan 4, 2022
@dchassin dchassin linked an issue Jan 4, 2022 that may be closed by this pull request
@dchassin dchassin mentioned this pull request Jan 5, 2022
23 tasks
@aivanova5 aivanova5 merged commit d85345d into develop Jan 13, 2022
@aivanova5 aivanova5 deleted the develop-add-maximum-runtime branch January 13, 2022 06:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Request an enhancement or new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for maximum wall-clock runtime
2 participants