Mise à jour de Pack arrays of sequential jobs authored by Awa Sepou Ngailo's avatar Awa Sepou Ngailo
......@@ -8,7 +8,7 @@ If one single jobs require 4 core, you can specify that in your script with:
```
#!/usr/bin/env bash
#SBATCH --cpus-per-task=4
#SBATCH --partition=seq-short
#SBATCH --partition=seq
#SBATCH --time=1:30:00
...
<myexe> data_$SLURM_ARRAY_TASK_ID
......@@ -26,7 +26,7 @@ The option '--exclusive=user' indicate that a single node can run more than one
Running the script [packed_array.slurm](https://gitlab.oca.eu/DSI/HPC/-/blob/master/SLURM/sequential/packed_array.slurm) will illustrate the feature:
```
$ sbatch -p seq-short --array=0-20 packed_array.slurm
$ sbatch -p seq --array=0-20 packed_array.slurm
Submitted batch job 18985606
$ grep task slurm-18985606_*.out
slurm-18985606_0.out:Doing task 00000 on node p081.cluster.local
......
......