Solgemc Installation Instructions

From solidwiki
Revision as of 20:56, 3 December 2020 by Saw (Talk | contribs) (Created 02/17/11(Riordan), Last modified 04/03/13(Wdconinc))

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

This page needs the following updates:

  • ifarml6 is not a valid hostname anymore, this should reflect the situation for the main ifarm node
  • solgemc_env.csh and all linked environment variables are only valid for older RHEL 5.3 systems, not the current CentOS 6.2 systems

--Wdconinc 13:23, 3 April 2013 (UTC)

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