Solgemc installation outside JLAB

From Hall A Wiki
Revision as of 15:26, 25 January 2012 by Rsholmes (Talk | contribs) (Third install is better yet)

Jump to: navigation, search

by Rich Holmes

I have been working on getting the Geant4 simulation and related software up and running on a couple of non JLAB systems; here are some notes on what I did most recently. This is a much better example to follow than my previous ones, but you can read about those too if you want.

The target system for now is one running Ubuntu 10.10 (32 bit i386).

I followed the procedure here to install gemc. Aside from a temporary problem with off site access all that went as it should.

After that:

  1. cd $JLAB_SOFTWARE/gemc
  2. Edit $JLAB_SOFTWARE/gemc/SConstruct: copy the env.Library line at the end, paste, and replace env.Library with env.SharedLibrary .
  3. scons

solgemc

  1. svn checkout https://jlabsvn.jlab.org/svnroot/solid/solgemc into $JLAB_SOFTWARE/solgemc and cd there
  2. scons
  3. In your ~/.cshrc add $JLAB_SOFTWARE/gemc to LD_LIBRARY_PATH environment variable

For additional packages, e.g. banks, cteq, event generator, root2lund see Second Installation here.