diff --git a/examples/resources/template.slurm b/examples/resources/template.slurm new file mode 100644 index 00000000..3e7ba08b --- /dev/null +++ b/examples/resources/template.slurm @@ -0,0 +1,7 @@ +#!/bin/bash -l +#SBATCH --parsable +#SBATCH --nodes={number_node} +#SBATCH --ntasks-per-node={cpu_per_node} +#SBATCH --qos={kwargs[qos]} +#SBATCH --time=01:02:00 +#SBATCH --mem-per-cpu=4G diff --git a/examples/resources/tiger.json b/examples/resources/tiger.json new file mode 100644 index 00000000..b3b6a663 --- /dev/null +++ b/examples/resources/tiger.json @@ -0,0 +1,12 @@ +{ + "number_node": 1, + "cpu_per_node": 32, + "kwargs":{ + "qos": "tiger-vshort" + }, + "source_list": ["activate abacus_env"], + "strategy": { + "customized_script_header_template_file": "./template.slurm" + }, + "group_size": 2000 +}