Closed uwefladrich closed 3 years ago
The suggested syntax would be:
hpc.slurm.sbatch:
<general options>
hetjob_spec:
<list of hetjob opts+args>
for example:
hpc.slurm.sbatch:
account: foo
time: 100
output: foo.out
hetjob_spec:
- nodes: 1
- nodes: 2
- nodes: 1
which would translate to
sbatch \
--account foo --time 100 --output foo.out \
--nodes 1 : --nodes 2 : --nodes 1
and queue a heterogeneous job with three hetjob components on one, two, and one nodes, respectively.
hpc.slurm.sbatch
should support SLURM hetereogeneous jobs. This means that colon-separated options and arguments need to be handled by the task.