Skip to content

Commit

Permalink
add updated create_xml.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zach1221 committed Jul 19, 2024
1 parent c08c72e commit 4c21cd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/create_xml.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def rocoto_create_compile_task(MACHINE_ID,COMPILE_ID,ROCOTO_COMPILE_MAXTRIES,MAK
ROCOTO_XML (str): Rocoto .xml filename to write to
"""
NATIVE=""
BUILD_CORES="8"
BUILD_NODES="1"
BUILD_WALLTIME="00:30:00"
if ( MACHINE_ID == 'jet' ): BUILD_WALLTIME="02:00:00"
if ( MACHINE_ID == 'hera'): BUILD_WALLTIME="01:00:00"
Expand All @@ -79,7 +79,7 @@ def rocoto_create_compile_task(MACHINE_ID,COMPILE_ID,ROCOTO_COMPILE_MAXTRIES,MAK
if ( PARTITION != "" and MACHINE_ID != "hera" ):
compile_task+=f""" <partition>{PARTITION}</partition>
"""
compile_task+=f""" <cores>{BUILD_CORES}</cores>
compile_task+=f""" <nodes>{BUILD_NODES}:ppn=128</nodes>
<walltime>{BUILD_WALLTIME}</walltime>
<join>&RUNDIR_ROOT;/compile_{COMPILE_ID}.log</join>
{NATIVE}
Expand Down

0 comments on commit 4c21cd7

Please sign in to comment.