Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:13:23

0001 #!/bin/bash
0002 # -----------------------------------------------------------------------------
0003 # \file   RunENCCalculationOnCondor.sh
0004 # \author Derek Anderson
0005 # \date   03.20.2024
0006 #
0007 # short script to run DoStandaloneCorrelatorCalculation.cxx via condor
0008 # -----------------------------------------------------------------------------
0009 
0010 # set up environment
0011 export USER="$(id -u -n)"
0012 export LOGNAME=${USER}
0013 export HOME=/sphenix/u/${LOGNAME}
0014 export MYINSTALL=/sphenix/u/danderson/install
0015 source /opt/sphenix/core/bin/sphenix_setup.sh
0016 printenv
0017 
0018 # add install path to LD_LIBRARY_PATH
0019 echo $MYINSTALL
0020 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MYINSTALL/lib
0021 
0022 # print library path for debugging
0023 echo $LD_LIBRARY_PATH
0024 
0025 # run macro
0026 root -b -q "RunENCCalculation.cxx(true)"
0027 
0028 # end -------------------------------------------------------------------------