-
Notifications
You must be signed in to change notification settings - Fork 7
/
init_ilcsoft.sh
246 lines (182 loc) · 11.6 KB
/
init_ilcsoft.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
export ILCSOFT=/afs/ihep.ac.cn/soft/common/gcc/v01-17-05
#--------------------------------------------------------------------------------
# MySQL
#--------------------------------------------------------------------------------
export MYSQL_HOME="/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/mysql/usr"
export MYSQL_LIBDIR="$MYSQL_HOME/lib64/mysql"
export MYSQL_PATH="$MYSQL_HOME"
export MYSQL="$MYSQL_HOME"
export PATH="$MYSQL_HOME/bin:$PATH"
export LD_LIBRARY_PATH="$MYSQL_HOME/lib64/mysql:$MYSQL_HOME/lib64:$MYSQL_HOME/lib/mysql:$MYSQL_HOME/lib:$LD_LIBRARY_PATH"
#--------------------------------------------------------------------------------
# CERNLIB
#--------------------------------------------------------------------------------
export CERN_ROOT="/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/cernlib/pro"
export CERN="/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/cernlib"
export CERN_LEVEL="pro"
export CVSCOSRC="$CERN_ROOT/src"
export PATH="$CERN_ROOT/bin:$PATH"
#--------------------------------------------------------------------------------
# XercesC
#--------------------------------------------------------------------------------
export XercesC_HOME="/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/xercesc/3.1.1"
export PATH="$XercesC_HOME/bin:$PATH"
export LD_LIBRARY_PATH="$XercesC_HOME/lib:$LD_LIBRARY_PATH"
#--------------------------------------------------------------------------------
# Geant4
#--------------------------------------------------------------------------------
export G4INSTALL="/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/geant4/9.6.p02"
export G4ENV_INIT="$G4INSTALL/bin/geant4.sh"
export G4SYSTEM="Linux-g++"
#--------------------------------------------------------------------------------
# QT
#--------------------------------------------------------------------------------
export QTDIR="/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/QT/4.7.4"
export QMAKESPEC="$QTDIR/mkspecs/linux-g++"
export PATH="$QTDIR/bin:$PATH"
export LD_LIBRARY_PATH="$QTDIR/lib:$LD_LIBRARY_PATH"
#--------------------------------------------------------------------------------
# CLHEP
#--------------------------------------------------------------------------------
export CLHEP="/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/CLHEP/2.1.3.1"
export CLHEP_BASE_DIR="$CLHEP"
export CLHEP_INCLUDE_DIR="$CLHEP/include"
export PATH="$CLHEP_BASE_DIR/bin:$PATH"
export LD_LIBRARY_PATH="$CLHEP_BASE_DIR/lib:$LD_LIBRARY_PATH"
#--------------------------------------------------------------------------------
# ILCUTIL
#--------------------------------------------------------------------------------
export ilcutil="/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/ilcutil/v01-01"
export LD_LIBRARY_PATH="$ilcutil/lib:$LD_LIBRARY_PATH"
#--------------------------------------------------------------------------------
# LCIO
#--------------------------------------------------------------------------------
export LCIO="/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/lcio/v02-04-03"
export PATH="$LCIO/tools:$LCIO/bin:$PATH"
export LD_LIBRARY_PATH="$LCIO/lib:$LD_LIBRARY_PATH"
#--------------------------------------------------------------------------------
# ROOT
#--------------------------------------------------------------------------------
export ROOTSYS="/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/root/5.34.07"
export PATH="$ROOTSYS/bin:$PATH"
export LD_LIBRARY_PATH="$ROOTSYS/lib:$LD_LIBRARY_PATH"
#--------------------------------------------------------------------------------
# GEAR
#--------------------------------------------------------------------------------
export GEAR="/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/gear/v01-04"
export PATH="$GEAR/tools:$GEAR/bin:$PATH"
export LD_LIBRARY_PATH="$GEAR/lib:$LD_LIBRARY_PATH"
#--------------------------------------------------------------------------------
# KalTest
#--------------------------------------------------------------------------------
export KALTEST="/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/KalTest/v01-05-03"
export LD_LIBRARY_PATH="$KALTEST/lib:$LD_LIBRARY_PATH"
#--------------------------------------------------------------------------------
# Marlin
#--------------------------------------------------------------------------------
export MARLIN="/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/Marlin/v01-05"
export PATH="$MARLIN/bin:$PATH"
export MARLIN_DLL="/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/MarlinReco/v01-09/lib/libMarlinReco.so:/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/PandoraAnalysis/v00-05/lib/libPandoraAnalysis.so:/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/MarlinPandora/v00-11/lib/libMarlinPandora.so:/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/LCFIVertex/v00-06-01/lib/libLCFIVertex.so:/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/CEDViewer/v01-07-02/lib/libCEDViewer.so:/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/Overlay/v00-13/lib/libOverlay.so:/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/FastJetClustering/v00-02/lib/libFastJetClustering.so:/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/LCTuple/v01-03/lib/libLCTuple.so:/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/MarlinKinfit/v00-01-02/lib/libMarlinKinfit.so:/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/MarlinTrkProcessors/v01-10/lib/libMarlinTrkProcessors.so:/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/Clupatra/v00-10/lib/libClupatra.so:/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/LCFIPlus/v00-05-02/lib/libLCFIPlus.so:/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/ForwardTracking/v01-07/lib/libForwardTracking.so:/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/MarlinTPC/v00-16/lib/libMarlinTPC.so:/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/Garlic/v2.10.1/lib/libGarlic.so:/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/Arbor/151125_v3/lib/libRanger.so:$MARLIN_DLL"
#--------------------------------------------------------------------------------
# LCCD
#--------------------------------------------------------------------------------
export LCCD="/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/lccd/v01-03"
#--------------------------------------------------------------------------------
# CondDBMySQL
#--------------------------------------------------------------------------------
export COND_DB_DEBUGLOG="/dev/stdout"
export CondDBMySQL="/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/CondDBMySQL/CondDBMySQL_ILC-0-9-6"
export LD_LIBRARY_PATH="$CondDBMySQL/lib:$LD_LIBRARY_PATH"
#--------------------------------------------------------------------------------
# RAIDA
#--------------------------------------------------------------------------------
export RAIDA_HOME="/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/RAIDA/v01-06-02"
export PATH="$RAIDA_HOME/bin:$PATH"
#--------------------------------------------------------------------------------
# GSL
#--------------------------------------------------------------------------------
export GSL_HOME="/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/gsl/1.14"
export PATH="$GSL_HOME/bin:$PATH"
export LD_LIBRARY_PATH="$GSL_HOME/lib:$LD_LIBRARY_PATH"
#--------------------------------------------------------------------------------
# CED
#--------------------------------------------------------------------------------
export PATH="/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/CED/v01-09-01/bin:$PATH"
#--------------------------------------------------------------------------------
# Mokka
#--------------------------------------------------------------------------------
export MOKKA="/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/Mokka/mokka-08-03_150612"
export PATH="$MOKKA/bin:$PATH"
#--------------------------------------------------------------------------------
# PandoraPFANew
#--------------------------------------------------------------------------------
export PANDORAPFANEW="/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/PandoraPFANew/v00-12"
export LD_LIBRARY_PATH="$PANDORAPFANEW/lib:$LD_LIBRARY_PATH"
#--------------------------------------------------------------------------------
# CEDViewer
#--------------------------------------------------------------------------------
export PATH="/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/CEDViewer/v01-07-02/bin:$PATH"
#--------------------------------------------------------------------------------
# FastJet
#--------------------------------------------------------------------------------
export FastJet_HOME="/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/FastJet/2.4.2"
export PATH="$FastJet_HOME/bin:$PATH"
export LD_LIBRARY_PATH="$FastJet_HOME/lib:$LD_LIBRARY_PATH"
#--------------------------------------------------------------------------------
# GBL
#--------------------------------------------------------------------------------
export GBL="/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/GBL/V01-16-03"
export LD_LIBRARY_PATH="$GBL/lib:$LD_LIBRARY_PATH"
#--------------------------------------------------------------------------------
# MarlinTPC
#--------------------------------------------------------------------------------
export MARLINTPC="/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/MarlinTPC/v00-16"
export PATH="$MARLINTPC/bin:$PATH"
#--------------------------------------------------------------------------------
# Druid
#--------------------------------------------------------------------------------
export DRUID="/afs/ihep.ac.cn/users/m/manqi/Software/Druid_SL6_2"
export PATH="$DRUID/bin:$PATH"
#--------------------------------------------------------------------------------
# HepPDT
#--------------------------------------------------------------------------------
export HepPDT_HOME="/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/heppdt/3.04.01"
export PATH="$HepPDT_HOME/bin:$PATH"
export LD_LIBRARY_PATH="$HepPDT_HOME/lib:$LD_LIBRARY_PATH"
#--------------------------------------------------------------------------------
# GDML
#--------------------------------------------------------------------------------
export GDML="/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/gdml/v03-00-02"
export LD_LIBRARY_PATH="$GDML/lib:$LD_LIBRARY_PATH"
#--------------------------------------------------------------------------------
# LCDD
#--------------------------------------------------------------------------------
export LCDD="/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/lcdd/v03-02-00"
export GDML_SCHEMA_DIR="$LCDD"
export LD_LIBRARY_PATH="$LCDD/lib:$LD_LIBRARY_PATH"
#--------------------------------------------------------------------------------
# SLIC
#--------------------------------------------------------------------------------
export SLIC="/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/slic/v03-01-03"
export PATH="$SLIC/build/bin:$PATH"
export LD_LIBRARY_PATH="$SLIC/build/lib:$LD_LIBRARY_PATH"
#--------------------------------------------------------------------------------
# Druid
#--------------------------------------------------------------------------------
#export DRUID="/afs/ihep.ac.cn/users/m/manqi/Software/Druid_SL6_2"
#export PATH="$DRUID/bin:$PATH"
#--------------------------------------------------------------------------------
# DD4hep
#--------------------------------------------------------------------------------
export DD4HEP="/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/DD4hep/v00-06"
export PATH="$DD4HEP/bin:$PATH"
export LD_LIBRARY_PATH="$DD4HEP/lib:$LD_LIBRARY_PATH"
#--------------------------------------------------------------------------------
# CMake
#--------------------------------------------------------------------------------
export PATH="/afs/ihep.ac.cn/soft/common/gcc/v01-17-05/CMake/2.8.5/bin:$PATH"
# --- source GEANT4 INIT script ---
test -r ${G4ENV_INIT} && { cd $(dirname ${G4ENV_INIT}) ; . ./$(basename ${G4ENV_INIT}) ; cd $OLDPWD ; }
alias HFcmake='cmake -C /afs/ihep.ac.cn/soft/common/gcc/v01-17-05/ILCSoft.cmake ..'
# --- Workaraund for OpenGl bug on SL6 ---
export LIBGL_ALWAYS_INDIRECT=1