Skip to content

Commit

Permalink
Fix default walltime
Browse files Browse the repository at this point in the history
  • Loading branch information
joaander committed Aug 21, 2024
1 parent 3d36947 commit 5862f46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hoomd_validation/config-sample.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# max_gpus_submission = 1

## Maximum wall time (in hours) that a submitted cluster job is allowed to run.
# max_walltime = "24:00:00"
# max_walltime = "1 day, 00:00:00"

## Wall time (in hours) To use for short, non-restartable jobs
# short_walltime = "02:00:00"
Expand Down
2 changes: 1 addition & 1 deletion hoomd_validation/config_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __init__(self, config_file_path=DEFAULT_CONFIG_PATH):
self['max_cores_sim'] = int(config.get('max_cores_sim', 16))
self['max_cores_submission'] = int(config.get('max_cores_submission', 16))
self['max_gpus_submission'] = int(config.get('max_gpus_submission', 1))
self['max_walltime'] = str(config.get('max_walltime', '24:00:00'))
self['max_walltime'] = str(config.get('max_walltime', '1 day, 00:00:00'))
self['short_walltime'] = str(config.get('short_walltime', '02:00:00'))
self['replicates'] = int(config.get('replicates', 32))
self['enable_gpu'] = bool(config.get('enable_gpu', True))

0 comments on commit 5862f46

Please sign in to comment.