Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:14:37

0001 #!/bin/bash
0002 
0003 export LCGEXTERNAL=/afs/cern.ch/sw/lcg/external
0004 export LCGRELEASES=/afs/cern.ch/sw/lcg/app/releases
0005 
0006 #--------------------------------------------------------------------------------
0007 # CMAKE
0008 #--------------------------------------------------------------------------------
0009 export CMAKE_HOME=$LCGEXTERNAL/CMake/2.8.8/x86_64-slc6-gcc46-opt
0010 export PATH=${CMAKE_HOME}/bin:$PATH
0011 
0012 
0013 #--------------------------------------------------------------------------------
0014 #     GCC
0015 #--------------------------------------------------------------------------------
0016 
0017 gcc_config_version=4.8.1
0018 mpfr_config_version=3.1.2
0019 gmp_config_version=5.1.1
0020 LCGPLAT=x86_64-slc6-gcc48-opt
0021 LCG_lib_name=lib64
0022 LCG_arch=x86_64
0023 
0024 if [ -z $1 ] 
0025 then LCG_contdir=/afs/cern.ch/sw/lcg/contrib
0026 else LCG_contdir=$1 
0027 fi
0028 LCG_gcc_home=${LCG_contdir}/gcc/${gcc_config_version}/${LCGPLAT}
0029 LCG_mpfr_home=${LCG_contdir}/mpfr/${mpfr_config_version}/${LCGPLAT}
0030 LCG_gmp_home=${LCG_contdir}/gmp/${gmp_config_version}/${LCGPLAT}
0031 
0032 export PATH=${LCG_gcc_home}/bin:${PATH}
0033 export COMPILER_PATH=${LCG_gcc_home}/lib/gcc/${LCG_arch}-unknown-linux-gnu/${gcc_config_version}
0034 
0035 if [ ${LD_LIBRARY_PATH} ] 
0036 then
0037 export LD_LIBRARY_PATH=${LCG_gcc_home}/${LCG_lib_name}:${LCG_mpfr_home}/lib:${LCG_gmp_home}/lib:${LD_LIBRARY_PATH}
0038 else
0039 export LD_LIBRARY_PATH=${LCG_gcc_home}/${LCG_lib_name}:${LCG_mpfr_home}/lib:${LCG_gmp_home}/lib
0040 fi
0041 
0042 ### ROOT
0043 source $LCGRELEASES/ROOT/5.34.10/x86_64-slc6-gcc48-dbg/root/bin/thisroot.sh
0044 
0045 
0046 #--------------------------------------------------------------------------------
0047 #     Geant4
0048 #--------------------------------------------------------------------------------
0049 source /afs/cern.ch/sw/lcg/external/geant4/9.6.p01/x86_64-slc6-gcc46-opt/bin/geant4.sh
0050 #--------------------------------------------------------------------------------
0051 #     XercesC
0052 #--------------------------------------------------------------------------------
0053 export XERCESCSYS=/afs/cern.ch/sw/lcg/external/XercesC/3.1.1p2/x86_64-slc6-gcc46-opt
0054 export LD_LIBRARY_PATH=${XERCESCSYS}/lib:${LD_LIBRARY_PATH}
0055 
0056 # #--------------------------------------------------------------------------------
0057 # #     CLHEP
0058 # #--------------------------------------------------------------------------------
0059 # export CLHEP="/afs/cern.ch/eng/clic/software/x86_64-slc6-gcc48/CLHEP/2.1.3.1"
0060 # export CLHEP_BASE_DIR="$CLHEP"
0061 # export CLHEP_INCLUDE_DIR="$CLHEP/include"
0062 # export PATH="$CLHEP_BASE_DIR/bin:$PATH"
0063 # export LD_LIBRARY_PATH="$CLHEP_BASE_DIR/lib:$LD_LIBRARY_PATH"
0064 
0065 
0066 #--------------------------------------------------------------------------------
0067 #     LCIO
0068 #--------------------------------------------------------------------------------
0069 export LCIO="/afs/cern.ch/eng/clic/software/x86_64-slc6-gcc48/LCIO/v02-04-01"
0070 export LCIO_INCLUDE_DIR="$LCIO/include"
0071 export PATH="$LCIO/bin:$PATH"
0072 export LD_LIBRARY_PATH="$LCIO/lib:$LD_LIBRARY_PATH"
0073 
0074 
0075 #--------------------------------------------------------------------------------
0076 #        BOOST
0077 #--------------------------------------------------------------------------------
0078 export BOOST_ROOT=/afs/cern.ch/sw/lcg/external/Boost/1.53.0_python2.7/x86_64-slc6-gcc48-opt
0079 
0080 
0081 
0082