You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Simulator Distribution

Overview

The SimDist project integrates SLIC and its dependencies into one package.

Binaries

Binaries built with this system can be obtained from the distribution download area.

These files are named according to the scheme.

slic-[version]-[platform]-[compiler]-[type].tar.gz

For instance, the file

slic-1_13_3-Linux-g++-bin.tar.gz

is version 1.13.3 for Linux, compiled with g++. The type can be "bin" or "dist". The "bin" downloads contain only those files necessary to run the simulator while "dist" additionally includes the complete set of libraries used to build the binary.
The process for installing a binary release for the aforementioned configuration is similar to this.

  1. Download the tarball using (for instance) the wget program.
    wget http://www.lcsim.org/dist/slic/slic-1_13_3-Linux-g%2B%2B-bin.tar.gz
    
  2. Decompress it.
    tar -zxvf slic-1_13_3-Linux-g++-bin.tar.gz
    
  3. Go into the SimDist directory and run the simulator.
    cd SimDist
    ./scripts/slic.sh
    

Downloading and installing from a dist file is the easiest way to get SLIC up and running.

Building from Scratch

The Simulator Distribution can also be obtained and built from scratch. You may need to do this if the dist binaries do not work or if you need to make various customizations, such as changing the default Geant4 version.

  1. First, checkout the project from the SLAC cvs.
    cvs -d :pserver:jeremy@cvs.freehep.org:/cvs/lcd co SimDist
    
  2. Go into the directory.
    cd SimDist
    
  3. Configure the project.
    ./configure
    
  4. Now, build the SimDist.
    make
    

The binaries can be executed just as before.

Known Working Configurations

This is a list of known working configurations.

*Red Hat Enterprise Linux
**gcc 3.2.3

*Mac OSX
**gcc 3.4, 4.0

*Windows (Cygwin)
**gcc 3.3.3

If you do not see your operating system or compiler listed here, then please contact me and I can work on making SimDist compatible with it. Bugs should be reported to the same.

  • No labels