forked from mdekauwe/CABLE_benchmarking
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #254 from CABLE-LSM/251-use-jinja-for-job-script-r…
…endering 251 use jinja for job script rendering
- Loading branch information
Showing
10 changed files
with
179 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
#PBS -l wd | ||
#PBS -l ncpus={{ncpus}} | ||
#PBS -l mem={{mem}} | ||
#PBS -l walltime={{walltime}} | ||
#PBS -q normal | ||
#PBS -P {{project}} | ||
#PBS -j oe | ||
#PBS -m e | ||
#PBS -l storage={{storage}} | ||
|
||
module purge | ||
{% for module in modules -%} | ||
module load {{module}} | ||
{% endfor %} | ||
set -ev | ||
|
||
{{benchcab_path}} fluxsite-run-tasks --config={{config_path}}{{verbose_flag}} | ||
{% if skip_bitwise_cmp == False %}{{benchcab_path}} fluxsite-bitwise-cmp --config={{config_path}}{{verbose_flag}}{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
#PBS -l wd | ||
#PBS -l ncpus=18 | ||
#PBS -l mem=30GB | ||
#PBS -l walltime=6:00:00 | ||
#PBS -q normal | ||
#PBS -P tm70 | ||
#PBS -j oe | ||
#PBS -m e | ||
#PBS -l storage=gdata/ks32+gdata/hh5+gdata/wd9 | ||
|
||
module purge | ||
module load foo | ||
module load bar | ||
module load baz | ||
|
||
set -ev | ||
|
||
/absolute/path/to/benchcab fluxsite-run-tasks --config=/path/to/config.yaml | ||
/absolute/path/to/benchcab fluxsite-bitwise-cmp --config=/path/to/config.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
#PBS -l wd | ||
#PBS -l ncpus=18 | ||
#PBS -l mem=30GB | ||
#PBS -l walltime=6:00:00 | ||
#PBS -q normal | ||
#PBS -P tm70 | ||
#PBS -j oe | ||
#PBS -m e | ||
#PBS -l storage=gdata/ks32+gdata/hh5+gdata/wd9 | ||
|
||
module purge | ||
module load foo | ||
module load bar | ||
module load baz | ||
|
||
set -ev | ||
|
||
/absolute/path/to/benchcab fluxsite-run-tasks --config=/path/to/config.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
#PBS -l wd | ||
#PBS -l ncpus=18 | ||
#PBS -l mem=30GB | ||
#PBS -l walltime=6:00:00 | ||
#PBS -q normal | ||
#PBS -P tm70 | ||
#PBS -j oe | ||
#PBS -m e | ||
#PBS -l storage=gdata/ks32+gdata/hh5+gdata/wd9 | ||
|
||
module purge | ||
module load foo | ||
module load bar | ||
module load baz | ||
|
||
set -ev | ||
|
||
/absolute/path/to/benchcab fluxsite-run-tasks --config=/path/to/config.yaml -v | ||
/absolute/path/to/benchcab fluxsite-bitwise-cmp --config=/path/to/config.yaml -v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This is a template. {{myarg}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.