Table of Contents |
---|
Simulator Distribution
Overview
...
The SimDist CVS project provides a build system for these programs based on GNU Make and Autoconf. Users do not need to download and install each package manually (which can be a lengthy and tiresome process). SLIC can be built from scratch using the proto-typical "configure" and "make" commands, and it includes a run script for setting up the runtime dependencies (basically just the Xerces library) and launching the program.
Warning |
---|
As of March 2006, SimDist is still a beta-level package, missing many planned features. |
...
Known Working Configurations
This is a list of known combinations of operating system and compiler (gcc).
Red Hat Enterprise Linux 3, Scientific Linux 3: gcc 3.2, 3.4.3, 4.0, 4.1.1
Mac OSX: gcc 3.4 and 4.0
Windows (Cygwin only): gcc 3.3.3
Available Binaries
Binaries built with this system can be obtained from the distribution download area.
These files The distributions are named according to the following scheme.
No Format |
---|
slic-[version]-[platform]-[compiler]-[type].tar.gz |
For instance, the filethis file is a binary distribution of slic version 1.13.3 for Linux, compiled with g++.
No Format |
---|
slic-1_13_3-Linux-g++-bin.tar.gz |
This binary 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 are binary distributions containing only the necessary runtime files for running the simulator, while the "dist" additionally includes files include the complete entire set of libraries and sources that were used to build the binary.
...
Binary Installation
The process for installing a binary release for the aforementioned configuration is similar to this.
- Download Assuming that the tarball is called slic.tar.gz, download the tarball using (for instance) the wget program.
No Format wget http://www.lcsim.org/dist/slic/slic-1_13_3-Linux-g%2B%2B-bin.tar.gz
- Decompress it.
No Format tar -zxvf slic-1_13_3-Linux-g++-bin.tar.gz
- Go into the SimDist directory and run the simulator.
No Format cd SimDist ./scripts/slic.sh
Downloading and installing from a dist file is the easiest way to get SLIC up and running.
Building from
...
Source
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.
- First, checkout the project from the SLAC cvs.
No Format cvs -d :pserver:jeremy@cvsanonymous@cvs.freehep.org:/cvs/lcd co SimDist
- Go into the directory.
No Format cd SimDist
- Configure the project.
No Format ./configure
- Now, build the SimDist.
No Format make
The binaries can be executed just as before.
Known Working Configurations
This is a list of known combinations of operating system and compiler (gcc).
Red Hat Enterprise Linux 3, Scientific Linux 3: gcc 3.2
Mac OSX: gcc 3.4 and 4.0
Windows (Cygwin only): gcc 3.3.3
Reporting Problems
Bugs should be reported to that email address or the SLAC Jira Page jeremym@slac.stanford.edu or SimDist's Jira bug tracker.