Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-02 08:19:13

0001 #!/bin/sh
0002 
0003 ###############################################################################
0004 # Copyright (c) The JETSCAPE Collaboration, 2018
0005 #
0006 # For the list of contributors see AUTHORS.
0007 #
0008 # Report issues at https://github.com/JETSCAPE/JETSCAPE/issues
0009 #
0010 # or via email to bugs.jetscape@gmail.com
0011 #
0012 # Distributed under the GNU General Public License 3.0 (GPLv3 or later).
0013 # See COPYING for details.
0014 ##############################################################################
0015 
0016 if [ -z $LD_LIBRARY_PATH ]; then
0017 export LD_LIBRARY_PATH
0018 fi
0019 
0020 if [ -z $DYLD_LIBRARY_PATH ]; then 
0021 export DYLD_LIBRARY_PATH
0022 fi
0023 
0024 export BASEDIR=${HOME}
0025 export PYTHIAINSTALLDIR=/usr/local/Cellar
0026 
0027 export JetScape=${PWD}/lib
0028 export LD_LIBRARY_PATH=${JetScape}:${LD_LIBRARY_PATH}
0029 #only for Mac needed
0030 export DYLD_LIBRARY_PATH=${JetScape}:${DYLD_LIBRARY_PATH}
0031 
0032 # PYTHIA8 directory
0033 export PYTHIA8DIR=${PYTHIAINSTALLDIR}
0034 export PYTHIA8_ROOT_DIR=${PYTHIAINSTALLDIR}
0035 #export PYTHIA8_INCLUDE_DIR=`${PYTHIA8DIR}/bin/pythia8-config --includedir`/Pythia8
0036 #export PYTHIA8_LIBRARIES=`${PYTHIA8DIR}/bin/pythia8-config --libdir`
0037 export LD_LIBRARY_PATH=${PYTHIA8DIR}/lib:${LD_LIBRARY_PATH}
0038 export DYLD_LIBRARY_PATH=${PYTHIA8DIR}/lib:${DYLD_LIBRARY_PATH}
0039 
0040 #ROOT setup
0041 export ROOTSYS="/opt/local/libexec/root5"
0042 export LD_LIBRARY_PATH=${ROOTSYS}/lib:${LD_LIBRARY_PATH}
0043 
0044 if [ -z ${TERM} -o -z ${SHELL} ]; then exit 0
0045 fi
0046 
0047 echo ''
0048 echo 'Setup JetScape Library'
0049 echo '======================'
0050 echo ''
0051 echo "<I>---------------Info--------------------<I>"
0052 echo "Setting up the following environments: "
0053 echo "JetScape: " ${JetScape}
0054 echo "Pythia8: "${PYTHIA8DIR}/lib    
0055 echo "<I>---------------Info--------------------<I>"
0056 echo ""