From cc2043669086ca422ea4de82d289b8d504aa023c Mon Sep 17 00:00:00 2001
From: Lukas Leufen <leufen1@jwlogin09.juwels>
Date: Wed, 24 Feb 2021 15:44:27 +0100
Subject: [PATCH] include cpu-bind=none for all HPC runscripts to fasten HPC
 workflow

---
 HPC_setup/create_runscripts_HPC.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/HPC_setup/create_runscripts_HPC.sh b/HPC_setup/create_runscripts_HPC.sh
index 7bf08a34..5e37d820 100755
--- a/HPC_setup/create_runscripts_HPC.sh
+++ b/HPC_setup/create_runscripts_HPC.sh
@@ -87,7 +87,7 @@ timestamp=\`date +"%Y-%m-%d_%H%M-%S"\`
 
 export PYTHONPATH=\${PWD}/venv_${hpcsys}/lib/python3.6/site-packages:\${PYTHONPATH}
 
-srun python run.py --experiment_date=\$timestamp
+srun --cpu-bind=none python run.py --experiment_date=\$timestamp
 EOT
 
   echo "Created runscript: run_${hpcsys}_$1.bash"
@@ -112,7 +112,7 @@ timestamp=\`date +"%Y-%m-%d_%H%M-%S"\`
 
 export PYTHONPATH=\${PWD}/venv_${hpcsys}/lib/python3.6/site-packages:\${PYTHONPATH}
 
-srun python run_HPC.py --experiment_date=\$timestamp
+srun --cpu-bind=none python run_HPC.py --experiment_date=\$timestamp
 EOT
 
 fi
-- 
GitLab