...
Depending on your system speed, the entire build process will take around 2 hours, but starting the automated build only takes about 5 minutes.
...
Packages in the Distribution
There are nine software packages built by SimDist, only one of which is optional.
These are described in the table below.
Package | Version | Description | Website |
---|---|---|---|
CLHEP | 2.0.4.7 | physics utilities for Geant4 | |
Geant4 | 9.4.0 | physics simulation toolkit | |
LCIO | head | ILC data format | |
HepPDT | 3.3.2 | extended physics data | |
Xerces | 3.1.1 | XML toolkit | |
GDML | head | geometry XML format | |
LCDD | head | detector description XML format | |
SLIC | head | simulation front-end | |
LCDetectors | head | detector data library (optional) |
Versions are current as of 1/12/2011.
Supported Platforms
The SimDist project requires a Unix-like environment. The CVS head currently builds successfully on Linux (tested on Redhat Enterprise Linux), OSX, and Windows using Cygwin. The recommended compiler version is gcc 4.1 or greater, though depending on your platform, a gcc 3 series compiler might work.
Build Instructions
Required Build Tools
SimDist requires a number of different build tools beyond the standard ones you may have on your system. This is because the project has a lot of external dependencies, each of which has its own build system.
Here is the list of required binaries that must be on your PATH in order tools to build SimDist successfully.
If one or more of these is not present, then you or your admin should install it before proceeding with these instructions. If you are unsure of which version to use, just get the most recent version that works on your platform. This should work fine.
Warning | ||
---|---|---|
| ||
CMake does not seem to work well with Windows. Specifically, it does not like paths with spaces in them. To build SimDist successfully using Cygwin, uninstall CMake from your Cygwin installation and make sure that you don't have the CMake binary in your PATH. |
Obtaining SimDist
SimDist is a module in the SLAC CVS repository. You can check it out with the following command.
No Format |
---|
cvs -d :pserver:anonymous@cvs.freehep.org:/cvs/lcd co SimDist
|
This will create a directory called SimDist in the directory where this command is run. The next sections will cover building SimDist once you have checked it out.
Basic Build Procedures
If you want to execute each step of the build yourself, these are the commands used by the build script (covered in next section).
...
Each package has different possible options for this particular variable. The above examples will not work on other packages with SimDist, only the slic package.
Package
...
Variables
The core of the SimDist build system is in build/package.gmk where a standard set of build procedures is defined for a generic software package. These procedures include automation of fetching package source codes, configuration, execution of build commands, and installing binaries and headers.
...