From 78bb292e5390a434e947ca5e5072a10c8178cac1 Mon Sep 17 00:00:00 2001
From: Felix Kleinert <f.kleinert@fz-juelich.de>
Date: Thu, 30 Apr 2020 14:54:40 +0200
Subject: [PATCH] fix path

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

diff --git a/HPC_setup/create_runscripts_HPC.sh b/HPC_setup/create_runscripts_HPC.sh
index f99ba1d5..1322f47d 100755
--- a/HPC_setup/create_runscripts_HPC.sh
+++ b/HPC_setup/create_runscripts_HPC.sh
@@ -58,8 +58,8 @@ if [[ -z "$new_email" ]]; then
 fi
 
 # create HPC_logging dir
-hpclogging="/HPC_logging/"
-mkdir -p ${cur}${hpclogging}
+hpclogging="HPC_logging/"
+mkdir -p ${cur}/${hpclogging}
 
 
 # ordering for looping:
@@ -73,7 +73,7 @@ cat <<EOT > ${cur}/run_${hpcsys}_$1.bash
 #SBATCH --account=${budget}
 #SBATCH --nodes=1
 #SBATCH --output=${hpclogging}mlt-out.%j
-#SBATCH --error=${hpclogging}/mlt-err.%j
+#SBATCH --error=${hpclogging}mlt-err.%j
 #SBATCH --time=$3 
 #SBATCH --partition=$1 
 #SBATCH --gres=gpu:$2
@@ -100,7 +100,7 @@ cat <<EOT > ${cur}/run_${hpcsys}_batch.bash
 #SBATCH --account=${budget}
 #SBATCH --nodes=1
 #SBATCH --output=${hpclogging}mlt-out.%j
-#SBATCH --error=${hpclogging}/mlt-err.%j
+#SBATCH --error=${hpclogging}mlt-err.%j
 #SBATCH --time=08:00:00
 #SBATCH --mail-type=ALL
 #SBATCH --mail-user=${email}
-- 
GitLab