Solgemc Installation Instructions

From Hall A Wiki
Revision as of 17:26, 17 February 2011 by Riordan (Talk | contribs) (New page: ==Quick and Dirty Setup== Run the following on ifarml6 to get set up: svn checkout https://jlabsvn.jlab.org/svnroot/solid/solgemc source /w/halla/parity/solid/solgemc/solgemc_e...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Quick and Dirty Setup

Run the following on ifarml6 to get set up:

    svn checkout https://jlabsvn.jlab.org/svnroot/solid/solgemc
    source /w/halla/parity/solid/solgemc/solgemc_env.csh
    cd solgemc
    scons

Add the following to your .login on the CUE machines

    if ( `uname -i` == "x86_64" ) then
         source /w/halla/parity/solid/solgemc/solgemc_env.csh
    endif

More info

solgemc uses GEMC built as a shared object. A version of GEMC has been built this way and can be found on the Hall A work disks (built for 64-bit on ifarml6)

/w/halla/parity/solid/gemc/production

To build and use solgemc, you need to be able to build GEMC in general. All the software is available on ifarml6 in the following locations:

  • Geant4

/work/halla/parity/disk1/geant4/geant4.9.4

  • EVIO

/w/halla/parity/solid/gemc/evio

  • Qt4

/site/Qt/4.6.2/Linux_CentOS5.3-x86_64-gcc4.1.2/

  • SConstruct Scripts

/w/halla/parity/solid/gemc/scons_scripts

Environment Variables

In general, you need to set the following variables to your .login on the CUE machines

   setenv G4INSTALL /w/halla/parity/geant4/geant4.9.4
   source $G4INSTALL/env.csh
   setenv GEMC /w/halla/parity/solid/gemc/production
   setenv EVIO /w/halla/parity/solid/gemc/evio
   setenv QTDIR /site/Qt/4.6.2/Linux_CentOS5.3-x86_64-gcc4.1.2/
   setenv PKG_CONFIG_PATH $QTDIR/lib/pkgconfig
   setenv LD_LIBRARY_PATH $LD_LIBRARY_PATH':'$QTDIR/lib':'$GEMC
   setenv PYTHONPATH /w/halla/parity/solid/gemc/scons_scripts