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 Geant4 version must be 7.1.x or SLIC will not compile.
CLHEP
CLHEP has installation instructions for version 1.9 and up. But (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
...
- Go to the work dir and checkout SLIC.
No Format cd ${sim_work} cvs -d :pserver:anonymous@cvs.freehep.org:/cvs/lcd checkout slic
- Go into the SLIC dir.
No Format cd slic
- Set the SLIC_BASE variable in setup.sh.
No Format export SLIC_BASE=${sim_work}/slic
- Configure the build.
No Format ./configure --enable-package-info
- Build the binary.
No Format make all
...