diff --git a/tests/config/slurm/slurm_extra.sh b/tests/config/slurm/slurm_extra.sh index f7f177d..561a527 100644 --- a/tests/config/slurm/slurm_extra.sh +++ b/tests/config/slurm/slurm_extra.sh @@ -13,6 +13,9 @@ {%- if run_time_max %} #SBATCH --time={{ [1, run_time_max // 60]|max }} {%- endif %} +{%- if dependency %} +#SBATCH --dependency=afterok:{{ dependency | join(',') }} +{%- endif %} {%- if memory_max %} #SBATCH --mem={{memory_max}}G {%- endif %}