#!/bin/csh -v
######################################################
#
# Environment for Mokka
#
# Edit _ALL_ Paths to suit your Environment
#
######################################################

if( !($?LD_LIBRARY_PATH) ) then
    setenv LD_LIBRARY_PATH ""
endif

setenv G4INSTALL "/data/sailer/geant4/9.2_visu2"

setenv LCSoft "/data/sailer/ilcsoft/v01-06"

#setenv LCIO "${LCSoft}/lcio/v01-11"
setenv LCIO /afs/cern.ch/eng/clic/work/sailer/sl5/ilcsoft/v01-06/lcio/v01-11
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${LCIO}/lib

setenv CLHEP "/afs/cern.ch/eng/clic/work/sailer/sl5/ilcsoft/v01-06/CLHEP/2.0.4.2"
setenv CLHEP_BASE_DIR "/afs/cern.ch/eng/clic/work/sailer/sl5/ilcsoft/v01-06/CLHEP/2.0.4.2"
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${CLHEP}/lib
#setenv PATH "/usr/local/ilcsoft/1.06/CLHEP/2.0.4.2/include:$PATH"
setenv PATH ${CLHEP}/include:$PATH


setenv MYSQL_PATH /afs/cern.ch/sw/lcg/external/mysql/5.0.18/slc4_amd64_gcc41
setenv MYSQL_LIBDIR ${MYSQL_PATH}/lib
setenv MYSQL_UNIX_PORT /var/lib/mysql/mysql.sock
setenv PATH /afs/cern.ch/sw/lcg/external/mysql/5.0.18/slc4_amd64_gcc41/include:$PATH
setenv PATH /afs/cern.ch/sw/lcg/external/mysql/5.0.18/slc4_amd64_gcc41/bin:$PATH

setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${MYSQL_PATH}/lib"



###If sourced from the Mokka base directory the G4Workdir is the Present Working Directory (PWD)
setenv G4WORKDIR $PWD
setenv G4SYSTEM Linux-g++

###These depend on the Geant4 installation used
setenv G4INCLUDE ${G4INSTALL}/include
setenv G4LIB ${G4INSTALL}/lib
setenv G4LISTS_BASE ${G4INSTALL}/source/physics_lists
setenv G4LEVELGAMMADATA ${G4INSTALL}/data/PhotonEvaporation2.0
setenv G4RADIOACTIVEDATA ${G4INSTALL}/data/RadiativeDecay3.2
setenv G4LEDATA ${G4INSTALL}/data/G4EMLOW6.2
setenv G4ELASTICDATA ${G4INSTALL}/data/G4ELASTIC1.1/Elastic
setenv NeutronHPCrossSections ${G4INSTALL}/data/G4NDL3.13
setenv G4USE_G3TOG4 1
setenv G4LIB_USE_GRANULAR 1
setenv G4VERSION_9_0 1
setenv G4TMP $G4WORKDIR/tmp
setenv LD_LIBRARY_PATH ${G4LIB}/${G4SYSTEM}:${LD_LIBRARY_PATH}
setenv G4BUILD
setenv G4VIS_BUILD_OPENGLX_DRIVER 1
setenv G4VIS_USE_OPENGLX 1

setenv G4VIS_BUILD_OPENGLX_DRIVER 1
setenv G4VIS_BUILD_OPENGLXM_DRIVER 1
setenv G4VIS_USE_OPENGLX 1
setenv G4VIS_USE_OPENGLXM 1
setenv G4LIB_BUILD_SHARED 1
setenv G4LIB_USE_GRANULAR 1

###End Geant4 Variables


setenv GEAR /afs/cern.ch/eng/clic/work/sailer/sl5/ilcsoft/v01-06/gear/v00-11-01
setenv LD_LIBRARY_PATH ${GEAR}/lib:$LD_LIBRARY_PATH


setenv LD_LIBRARY_PATH ${G4WORKDIR}/lib64:${LD_LIBRARY_PATH}
setenv LD_LIBRARY_PATH ./lib:${LD_LIBRARY_PATH}

#use a smart shell
setenv G4UI_USE_TCSH 1

# use command line UI
unsetenv G4UI_USE_XAW
unsetenv G4UI_USE_XM
unsetenv G4ANALYSIS_USE



###Path to the Dawn Rendering Engine
setenv PATH /data/sailer/dawn:${PATH}

###Path to the newest MesaGL release
setenv LD_LIBRARY_PATH /data/sailer/Mesa/Mesa-7.3/lib:${LD_LIBRARY_PATH}




###Path to the Mokka Installation (only needed after Compilation)
setenv PATH /afs/cern.ch/eng/clic/work/sailer/sl5/mokka/mokka-06-07-p03/bin/Linux-g++:${PATH}
setenv LD_LIBRARY_PATH /afs/cern.ch/eng/clic/work/sailer/sl5/mokka/mokka-06-07-p03/lib64:${LD_LIBRARY_PATH}

-- AndreSailer - 20 Mar 2009

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2009-03-20 - AndreSailer
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CLIC All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback