cambiotraining / hpc-intro

Practical course on running jobs on a HPC
https://cambiotraining.github.io/hpc-intro/
Other
14 stars 13 forks source link

Use --parsable for job dependencies #33

Closed tavareshugo closed 1 year ago

tavareshugo commented 1 year ago

At the moment we have:

RUN_ID_1=$(sbatch 001_create.sh | cut -d " " -f 4)

But this can instead be:

RUN_ID_1=$(sbatch --parsable 001_create.sh)
tavareshugo commented 1 year ago

fixed with #34