Changes
Page history
Update Slurm job arrays
authored
Sep 29, 2023
by
LOGER Benoit
Show whitespace changes
Inline
Side-by-side
Slurm-job-arrays.md
View page @
e2772ba5
...
...
@@ -37,7 +37,7 @@ Here is an example of how you can use slurm variables to configure the execution
#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 50 child jobs with IDs in [1,50]
#SBATCH --mem
-per-cpu=1gb
# Using at most 1gb of memory per cpu
#SBATCH --mem
=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
...
...
...
...