Changes
Page history
Mise à jour de Pack arrays of sequential jobs
authored
Sep 19, 2024
by
Awa Sepou Ngailo
Show whitespace changes
Inline
Side-by-side
Running-the-jobs/Pack-arrays-of-sequential-jobs.md
View page @
b9da34ad
...
...
@@ -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
...
...
...
...