Moved walltime to template.

This commit is contained in:
Eric Winter
2025-03-11 10:01:37 -06:00
parent 4109414967
commit 8c4fda717d
4 changed files with 3 additions and 6 deletions

View File

@@ -4,7 +4,7 @@
#PBS -A {{ account }}
#PBS -q {{ queue }}
#PBS -l job_priority={{ job_priority }}
#PBS -l walltime={{ walltime }}
#PBS -l walltime=08:00:00
#PBS -l select=2:ncpus=128:mpiprocs=1:ompthreads=128
#PBS -j oe
#PBS -m abe

View File

@@ -4,7 +4,7 @@
#PBS -A {{ account }}
#PBS -q {{ queue }}
#PBS -l job_priority={{ job_priority }}
#PBS -l walltime={{ walltime }}
#PBS -l walltime=02:00:00
#PBS -l select=1:ncpus=128:ompthreads=128
#PBS -j oe
#PBS -m abe

View File

@@ -4,7 +4,7 @@
#PBS -A {{ account }}
#PBS -q {{ queue }}
#PBS -l job_priority={{ job_priority }}
#PBS -l walltime={{ walltime }}
#PBS -l walltime=08:00:00
#PBS -l select=2:ncpus=128:mpiprocs=1:ompthreads=128
#PBS -j oe
#PBS -m abe

View File

@@ -362,14 +362,12 @@ def intelChecks(args: dict):
# Set options specific to the memory check, then render the template.
pbs_options["job_name"] = "mage_intelCheckSubmitMem"
pbs_options["walltime"] = "04:00:00"
pbs_content = mem_check_pbs_template.render(pbs_options)
with open(MEM_CHECK_PBS_FILENAME, "w", encoding="utf-8") as f:
f.write(pbs_content)
# Set options specific to the thread check, then render the template.
pbs_options["job_name"] = "mage_intelCheckSubmitThread"
pbs_options["walltime"] = "04:00:00"
pbs_content = thread_check_pbs_template.render(pbs_options)
with open(THREAD_CHECK_PBS_FILENAME, "w", encoding="utf-8") as f:
f.write(pbs_content)
@@ -377,7 +375,6 @@ def intelChecks(args: dict):
# Set options specific to the report generator, then render the
# template.
pbs_options["job_name"] = "mage_intelCheckReportSubmit"
pbs_options["walltime"] = "02:00:00"
pbs_options["report_options"] = ""
if debug:
pbs_options["report_options"] += " -d"