-
Notifications
You must be signed in to change notification settings - Fork 2
/
omicron.env.sh.in
47 lines (36 loc) · 1.24 KB
/
omicron.env.sh.in
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
# source this file to access Omicron
##### PKG_CONFIG_PATH
PKG_CONFIG_PATH=`echo "$PKG_CONFIG_PATH" | /bin/sed -e 's|@CMAKE_INSTALL_FULL_LIBDIR@/pkgconfig:||g;'`
PKG_CONFIG_PATH="@CMAKE_INSTALL_FULL_LIBDIR@/pkgconfig:$PKG_CONFIG_PATH"
export PKG_CONFIG_PATH
##### PATH
PATH=`echo "$PATH" | /bin/sed -e 's|@CMAKE_INSTALL_FULL_BINDIR@:||g;'`
PATH="@CMAKE_INSTALL_FULL_BINDIR@:$PATH"
export PATH
##### LD_LIBRARY_PATH
LD_LIBRARY_PATH=`echo "$LD_LIBRARY_PATH " | /bin/sed -e 's|@CMAKE_INSTALL_FULL_LIBDIR@:||g;'`
LD_LIBRARY_PATH="@CMAKE_INSTALL_FULL_LIBDIR@:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH
##### GWOLLUM dependence
source @GWOLLUM_PREFIX@/etc/gwollum.env.sh
##### Omicron environment
nodename=`uname -n`
OMICRON_HTML="@CMAKE_INSTALL_FULL_DATADIR@/omicron/html"
export OMICRON_HTML
# Lyon
if [[ $nodename == *"cca"* ]]; then
OMICRON_TRIGGERS="/hpss/in2p3.fr/group/virgo/DETCHAR/triggers/Omicron"
# Florent
elif [[ $nodename == "florent" ]]; then
OMICRON_TRIGGERS="/home/florent/Analysis/Omicron/triggers"
# Cascina
elif [[ $nodename == *"virgo"* ]]; then
OMICRON_TRIGGERS="/data/omicron"
# LIGO
elif [[ $nodename == *"ldas"* ]]; then
OMICRON_TRIGGERS="/home/detchar/triggers"
# unknown
else
OMICRON_TRIGGERS=""
fi
export OMICRON_TRIGGERS