Update Slurm job arrays authored by LOGER Benoit's avatar LOGER Benoit
...@@ -37,7 +37,7 @@ Here is an example of how you can use slurm variables to configure the execution ...@@ -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 --ntasks=1 # Each child job run 1 task
#SBATCH --cpus-per-task=1 # Each task require 1 cpu #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 --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 --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 #SBATCH --output=logs/array_%A-%a.logs # One log file per child job
... ...
......