From 7d77efafec412d274f050a9a56d85ea9a731e7da Mon Sep 17 00:00:00 2001
From: Anne Tipka <anne.tipka@ctbto.org>
Date: Mon, 24 Oct 2022 22:00:21 +0000
Subject: [PATCH] corrected path setting in run script to make sure scripts can
 be found in batch jobs

---
 Run/run_bologna.sh | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Run/run_bologna.sh b/Run/run_bologna.sh
index a06cf2d..2b9e213 100755
--- a/Run/run_bologna.sh
+++ b/Run/run_bologna.sh
@@ -43,14 +43,19 @@ DEBUG=0
 REQUEST=2
 PUBLIC=0
 
+flex_extract_path=${HOME}/flex_extract_v7.1.3/
+
 # -----------------------------------------------------------------
 #
+
 # AFTER THIS LINE THE USER DOES NOT HAVE TO CHANGE ANYTHING !!!
 #
 # -----------------------------------------------------------------
 
+export PATH=${PATH}:${flex_extract_path}/Source/Python
+
 # PATH TO SUBMISSION SCRIPT
-pyscript=../Source/Python/submit.py
+pyscript=submit.py
 
 # INITIALIZE EMPTY PARAMETERLIST
 parameterlist=""
-- 
GitLab