From 4bc3258f8ed9edb94bca864f01f8b37464e689e3 Mon Sep 17 00:00:00 2001 From: Karl-Hermann Wieners <karl-hermann.wieners@mpimet.mpg.de> Date: Wed, 8 May 2024 12:02:18 +0200 Subject: [PATCH] importexp: fix for small node counts --- importexp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/importexp b/importexp index 923b4ae..cf2990e 100755 --- a/importexp +++ b/importexp @@ -151,7 +151,7 @@ cd '$WORK_DIR' ' $RUN_FILE) SLURM_JOB_NUM_NODES=$(perl -ne 'if(/^\s*#SBATCH\s+(--nodes|-N)(=|\s+)(\d+)/) {print($3); exit}' $RUN_FILE) - SLURM_NODELIST="n[00001-$SLURM_JOB_NUM_NODES]" + SLURM_NODELIST="n[1-$SLURM_JOB_NUM_NODES]" # SLURM_JOB_CPUS_PER_NODE is defined above export SLURM_JOB_NUM_NODES SLURM_NODELIST SLURM_JOB_CPUS_PER_NODE -- GitLab