From cc20efef0f2af7c500b6ff18627124b2bbe25b0e Mon Sep 17 00:00:00 2001
From: lintao <lintao51@gmail.com>
Date: Thu, 24 Dec 2020 11:32:54 +0800
Subject: [PATCH] WIP: Fix the runtime problem.

---
 Examples/options/tut_detsim_SDT.py | 2 +-
 Generator/CMakeLists.txt           | 1 +
 run.sh                             | 4 ++--
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/Examples/options/tut_detsim_SDT.py b/Examples/options/tut_detsim_SDT.py
index 4aa21587..d040cbd4 100644
--- a/Examples/options/tut_detsim_SDT.py
+++ b/Examples/options/tut_detsim_SDT.py
@@ -36,7 +36,7 @@ dsvc = k4DataSvc("EventDataSvc")
 geometry_option = "det.xml"
 
 if not os.getenv("DETDRIFTCHAMBERROOT"):
-    print("Can't find the geometry. Please setup envvar DETCEPCV4ROOT." )
+    print("Can't find the geometry. Please setup envvar DETDRIFTCHAMBERROOT." )
     sys.exit(-1)
 
 geometry_path = os.path.join(os.getenv("DETDRIFTCHAMBERROOT"), "compact", geometry_option)
diff --git a/Generator/CMakeLists.txt b/Generator/CMakeLists.txt
index eb780748..8350f8b1 100644
--- a/Generator/CMakeLists.txt
+++ b/Generator/CMakeLists.txt
@@ -32,6 +32,7 @@ gaudi_add_module(GenAlgo
                       ${CLHEP_LIBRARIES}
                       ${LCIO_LIBRARIES}
                       EDM4HEP::edm4hep EDM4HEP::edm4hepDict
+                      ROOT::EG
 )
 
 install(TARGETS GenAlgo
diff --git a/run.sh b/run.sh
index d5739c55..991b9f17 100755
--- a/run.sh
+++ b/run.sh
@@ -62,8 +62,8 @@ function run-job() {
 ##############################################################################
 
 # The current default platform
-lcg_platform=x86_64-slc6-gcc8-opt
-lcg_version=97.0.2
+lcg_platform=x86_64-centos7-gcc8-opt
+lcg_version=98.0.0
 
 check-cepcsw-envvar || exit -1
 
-- 
GitLab