Warning | ||
---|---|---|
| ||
This page contains old instructions that are kept for reference purposes only. Please refer to the Simulation Software Distribution page for a much easier way of building slic and its dependencies. |
The SLIC full simulator program requires the setup of 8 different software packages, not counting the required build tools.
...
The following is a recent, tested configuration.
No Format |
---|
slic v1r11p1v1r12p0 lcio v1r5p0_slic lcdd v1r8p2 lcphys v1r0p1 gdml 2.3.0 geant4 7.1.0 clhep 1.9.2.1 xerces 2.6.0 |
The Geant4 version must be 7.1.x or SLIC will not compile.
CLHEP
CLHEP has installation instructions for version 1.9 and up. (http://wwwasd.web.cern.ch/wwwasd/lhc\+\+/clhep/INSTALLATION/newCLHEP-install.html) for version 1.9 and up. But you should not need them to setup the package.
...
- Download a snapshot of the current CVS head to sim_wrk using this link in your browser: http://simu.cvs.cern.ch/cgi-bin/simu.cgi/simu/GDML2/GDML2.tar.gz?tarball=1.
- Unzip the tarball.
No Format tar -zxvf GDML2.tar.gz
- Change into the CPPGDML directory.
No Format cd GDML2/CPPGDML
- Set GDML_BASE and PLATFORM in setup.sh.
No Format export GDML_BASE=${sim_work}/GDML2/CPPGDML
- Configure the build.
No Format ./configure --enable-geant4-vis --enable-geant4-ui --enable-geant4-granular-libs --enable-shared-libs=no
- Build it.
No Format make
...