Update Job Dependencies authored by Alain O' Miniussi's avatar Alain O' Miniussi
...@@ -17,7 +17,7 @@ This will provide you with the job ids, here 16388602 and 16388603. ...@@ -17,7 +17,7 @@ This will provide you with the job ids, here 16388602 and 16388603.
You can then launch another job, requiring that it only be launch once the previous jobs successfully completed: You can then launch another job, requiring that it only be launch once the previous jobs successfully completed:
``` ```
$ sbatch --dependancy=after:16388602:16388603 ./usefull2.slurm $ sbatch --dependancy=afterok:16388602:16388603 ./usefull2.slurm
``` ```
There are many more ways to specify dependencies explained in the [sbatch man page](https://slurm.schedmd.com/sbatch.html). There are many more ways to specify dependencies explained in the [sbatch man page](https://slurm.schedmd.com/sbatch.html).
\ No newline at end of file