forked from HEP-FCC/FCCSW
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.sh
More file actions
executable file
·36 lines (30 loc) · 1.37 KB
/
init.sh
File metadata and controls
executable file
·36 lines (30 loc) · 1.37 KB
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
#!/bin/sh -u
if [[ "x$GAUDI" == "x" ]]; then
echo "Need to set the GAUDI environment variable to the path of the Gaudi software directory (contains GaudiKernel/)."
return 1
else
echo "Gaudi : $GAUDI"
fi
if [[ "x$FCCBASE" == "x" ]]; then
echo "Need to set the FCCBASE environment variable to root path of the software (contains both Gaudi and the FCC software)."
return 1
else
echo "FCC root: $FCCBASE"
fi
# set up CMake:
export PATH=/afs/cern.ch/sw/lcg/contrib/CMake/2.8.12.2/Linux-i386/bin:$PATH
#export CMAKEFLAGS='-DCMAKE_USE_CCACHE=ON'
export CMAKE_PREFIX_PATH=$GAUDI/cmake:$FCCBASE:/afs/cern.ch/sw/lcg/releases:/afs/cern.ch/user/r/ribon/public/ForAnna/Install
export CMTCONFIG=x86_64-slc6-gcc48-opt
# set up the compilers
export PATH=/afs/cern.ch/lhcb/software/releases/LBSCRIPTS/LBSCRIPTS_v8r0/InstallArea/scripts:$PATH
#export LCG_hostos=x86_64-slc6
#export LCG_external_area=/afs/cern.ch/sw/lcg/external
#export PATH=/afs/cern.ch/sw/lcg/contrib/ninja/1.4.0/x86_64-slc6:$PATH
# set up Pythia8 Index.xml
export PYTHIA8_XML=/afs/cern.ch/sw/lcg/releases/LCG_68/MCGenerators/pythia8/186/x86_64-slc6-gcc48-opt/xmldoc
# add Geant4 data files
source /afs/cern.ch/sw/lcg/external/geant4/10.1/setup_g4datasets.sh
# add DD4hep
source /afs/cern.ch/exp/fcc/sw/0.3/DD4hep/v00-09/bin/thisdd4hep.sh
source /afs/cern.ch/sw/lcg/contrib/gcc/4.8.1/x86_64-slc6/setup.sh