Changes
Page history
Update Slurm job arrays
authored
Sep 06, 2023
by
LOGER Benoit
Show whitespace changes
Inline
Side-by-side
Slurm-job-arrays.md
View page @
89f7293c
...
...
@@ -36,7 +36,7 @@ Here is an example of how you can use slurm variables to configure the execution
#SBATCH --job-name=myarray_job # Name of the parent job
#SBATCH --ntasks=1 # Each child job run 1 task
#SBATCH --cpus-per-task=1 # Each task require 1 cpu
#SBATCH --array=1-10%5 # Running
5
0 child jobs with IDs in [1,
5
0]
#SBATCH --array=1-10%5 # Running
1
0 child jobs with IDs in [1,
1
0]
#SBATCH --mem-per-cpu=1gb # Using at most 1gb of memory per cpu
#SBATCH --time=0-00:30:00 # Child jobs will be killed if longer than 30 minutes
#SBATCH --output=logs/array_%A-%a.logs # One log file per child job
...
...
...
...