-
Notifications
You must be signed in to change notification settings - Fork 1
/
set_envpaths.sh
executable file
·51 lines (40 loc) · 1.35 KB
/
set_envpaths.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
#!/usr/bin/bash
# ROOT
module load root
# recommended paths for use:
export BASEDIR=/tier2/home/groups/rhi/STAR/software
# FASTJETDIR
export FASTJETDIR=${BASEDIR}/fastjet-install
### FastJet Contrib
export FJCONTRIB=${FASTJETDIR}/include/fastjet/contrib:${FJCONTRIB}
export LD_LIBRARY_PATH=${FJCONTRIB}:${LD_LIBRARY_PATH}
export DYLD_LIBRARY_PATH=${FJCONTRIB}:${DYLD_LIBRARY_PATH}
export PATH=${PATH}:${FJCONTRIB}
### PYTHIA8
export PYTHIA8DIR=${BASEDIR}/pythia8
export PYTHIA8DATA=${PYTHIA8DIR}/xmldoc
export STARPICOPATH=${BASEDIR}/eventStructuredAu
###### Update paths
if [[ -n ${LD_LIBRARY_PATH} ]]; then
export LD_LIBRARY_PATH
fi
export PATH=~/physics/analysis/jetmass2/macros/:${PATH}
export PATH=${PATH}:${FASTJETDIR}/bin:${PYTHIA8DIR}/bin
export PATH=${PATH}:${FASTJETDIR}/include/fastjet/contrib/
export PATH="${PATH}:${ROOUNFOLDDIR}/bin"
export LD_LIBRARY_PATH=${FASTJETDIR}/lib:${PYTHIA8DIR}/lib:${STARPICOPATH}:${LD_LIBRARY_PATH}
# print statement if interactive shell
if [[ -n $PS1 ]] ; then
echo "
Setup ROOT, ktJet (including FastJet)
=====================================
Setting up the following environments:
ROOT: $ROOTSYS
PYTHIA8: $PYTHIA8DIR
FastJet: $FASTJETDIR
STARPICOPATH: $STARPICOPATH"
if [[ -n $ROOUNFOLDDIR ]]; then
echo ROOUNFOLDDIR: $ROOUNFOLDDIR
fi
echo ""
fi