-
Notifications
You must be signed in to change notification settings - Fork 0
/
SetEnvironment.csh
55 lines (41 loc) · 1.55 KB
/
SetEnvironment.csh
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
#!/usr/bin/env csh
# CHANGE the following to suit your environment
setenv BASEDIR /Users/kkauder/software
### ROOT
setenv ROOTSYS ${BASEDIR}/root/
### FastJet
setenv FASTJETDIR ${BASEDIR}/fastjet3
### PYTHIA8
setenv PYTHIA8DIR ${BASEDIR}/pythia8
setenv PYTHIA8DATA ${PYTHIA8DIR}/xmldoc
### TStarJetPicoDst structure
setenv STARPICOPATH ${BASEDIR}/eventStructuredAu
#### On rhic21, you can use
if ( `echo $HOST|grep -c rhic21` ) then
setenv BASEDIR /Users/putschke
setenv ROOTSYS /usr/local/root_v5.32_binary_m64/
setenv FASTJETDIR ${BASEDIR}/fastjet3
setenv PYTHIA8DIR ${BASEDIR}/pythia8100.new
setenv PYTHIA8DATA ${PYTHIA8DIR}/xmldoc
setenv STARPICOPATH /Users/kkauder/eventStructuredAu
endif
############## Done with indivivual settings.
###### Update paths
if(! $?LD_LIBRARY_PATH) setenv LD_LIBRARY_PATH
if(! $?DYLD_LIBRARY_PATH) setenv DYLD_LIBRARY_PATH
setenv PATH ./bin:${ROOTSYS}/bin:${PATH}
setenv LD_LIBRARY_PATH ${ROOTSYS}/lib:${FASTJETDIR}/lib:${STARPICOPATH}:${PYTHIA8DIR}/lib:${LD_LIBRARY_PATH}
setenv DYLD_LIBRARY_PATH ${ROOTSYS}/lib:${FASTJETDIR}/lib:${STARPICOPATH}:${PYTHIA8DIR}/lib:${DYLD_LIBRARY_PATH}
if ($?TERM == 0 || $?prompt == 0) exit 0
echo ''
echo 'Setup ROOT, ktJet (including FastJet)'
echo '====================================='
echo ''
echo "<I>---------------Info--------------------<I>"
echo "Setting up the following environments: "
echo "ROOT: " $ROOTSYS
echo "PYTHIA8: " $PYTHIA8DIR
echo "FastJet: " $FASTJETDIR
echo "STARPICOPATH: " $STARPICOPATH
echo "<I>---------------Info--------------------<I>"
echo ""