Skip to content

Commit

Permalink
Merge branch 'hotfix/0.1.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
kc9jud committed Jan 29, 2021
2 parents 82fc738 + 4c23406 commit 7a5a696
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions config/config-slurm-nersc.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
overrided in expert mode.
- Add core specialization (--core-spec) on multi-node runs.
+ 01/07/20 (pjf): Update deadline for AY20.
+ 01/29/21 (pjf): Update deadline for AY21.
"""

# Notes:
Expand Down Expand Up @@ -210,12 +211,9 @@ def submission(job_name,job_file,qsubm_path,environment_definitions,args):
submission_invocation = [ "sbatch" ]

# deadline (end of allocation year)
ay19_end_date = datetime.datetime.fromisoformat("2020-01-13T23:59:59")
ay20_end_date = datetime.datetime.fromisoformat("2021-01-11T23:59:59")
if datetime.datetime.now() < ay19_end_date:
submission_invocation += ["--deadline={}".format(ay19_end_date.isoformat())]
elif datetime.datetime.now() < ay20_end_date:
submission_invocation += ["--deadline={}".format(ay20_end_date.isoformat())]
ay21_end_date = datetime.datetime.fromisoformat("2022-01-10T23:59:59")
if datetime.datetime.now() < ay21_end_date:
submission_invocation += ["--deadline={}".format(ay21_end_date.isoformat())]

# job name
submission_invocation += ["--job-name={}".format(job_name)]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name="mcscript",
version="0.1.1",
version="0.1.2",
author="Mark A. Caprio, Patrick J. Fasano, University of Notre Dame",
description=("Scripting setup, utilities, and task control for cluster runs"),
license="MIT",
Expand Down

0 comments on commit 7a5a696

Please sign in to comment.