You may wish to specify dependencies between jobs for various reasons, including
Il faut soumettre chaque tranche avec les dépendance qui vont bien, par exemple:
* checkpoint/restart: if you job takes more than the time limit, you'll need to split it in sub steps and launch step $`N+1`$ only when step $`N`$ successfully completed.
* multi stage work: you work might be divided in different stages, each of which might not use te same resources. Again, stage $`N+1`$ must wait for successful completion of stage $`N`$.
This can be achieved with the '--dependancy' option of [sbatch](https://slurm.schedmd.com/sbatch.html) command.
Lance la première tranche et renvoi un numéro de job 'jobid':
First, you launch you first jobs (you can have one or more):