From efba97c88d060bae44ebbdc2da7656be73f6507a Mon Sep 17 00:00:00 2001 From: Patrick Fasano Date: Fri, 29 Jan 2021 14:29:49 -0500 Subject: [PATCH 1/2] config: Update deadline for NERSC AY21. --- config/config-slurm-nersc.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/config/config-slurm-nersc.py b/config/config-slurm-nersc.py index 316f5a4..9505044 100644 --- a/config/config-slurm-nersc.py +++ b/config/config-slurm-nersc.py @@ -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: @@ -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)] From 4c23406c45d8e63d0b806791d446394f5f3e09f1 Mon Sep 17 00:00:00 2001 From: Patrick Fasano Date: Fri, 29 Jan 2021 14:30:58 -0500 Subject: [PATCH 2/2] setup: Bump version number to 0.1.2 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 646fbcc..ea24a11 100644 --- a/setup.py +++ b/setup.py @@ -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",