Skip to content
Snippets Groups Projects
Commit 4bc3258f authored by Karl-Hermann Wieners's avatar Karl-Hermann Wieners
Browse files

importexp: fix for small node counts

parent 599ff449
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment