forked from JETSCAPE/JETSCAPE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
activate_jetscape.csh
41 lines (34 loc) · 1.22 KB
/
activate_jetscape.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
#!/bin/csh
###############################################################################
# Copyright (c) The JETSCAPE Collaboration, 2018
#
# For the list of contributors see AUTHORS.
#
# Report issues at https://github.com/JETSCAPE/JETSCAPE/issues
#
# or via email to [email protected]
#
# Distributed under the GNU General Public License 3.0 (GPLv3 or later).
# See COPYING for details.
##############################################################################
if(! $?LD_LIBRARY_PATH) setenv LD_LIBRARY_PATH
setenv BASEDIR ${HOME}
setenv JetScape ${PWD}/lib
setenv LD_LIBRARY_PATH ${JetScape}:${LD_LIBRARY_PATH}
#only for Mac needed
setenv DYLD_LIBRARY_PATH ${JetScape}:${DYLD_LIBRARY_PATH}
# PYTHIA8 directory
setenv PYTHIA8DIR ${BASEDIR}/pythia8223
setenv LD_LIBRARY_PATH ${PYTHIA8DIR}/lib:${LD_LIBRARY_PATH}
setenv DYLD_LIBRARY_PATH ${PYTHIA8DIR}/lib:${DYLD_LIBRARY_PATH}
if ($?TERM == 0 || $?prompt == 0) exit 0
echo ''
echo 'Setup JetScape Library'
echo '======================'
echo ''
echo "<I>---------------Info--------------------<I>"
echo "Setting up the following environments: "
echo "JetScape: " ${JetScape}
echo "Pythia8: "${PYTHIA8DIR}/lib
echo "<I>---------------Info--------------------<I>"
echo ""