Overview

The SimDist package that has been used to build SLIC and its dependencies for many years is now functionally obsolete. It should no longer be used. Instead of SimDist, SLIC can now be built using the ilcstall tool.

Preliminaries

The ilcinstall tool only requires a working installation of Python.

Getting ilcinstall

Obtaining and using that package is covered here.

You will just need a local installation of python to run it.

Building slic

Once you checkout ilcinstall anonymously from SVN following that website’s instructions, you should be able to build slic like this:

python ilcsoft-install -i ./examples/slic/release-scratch.cfg

By default, this will create a build that shows up here:

/scratch/jeremym/slic/v00-00/

The “jeremym” in that path, used subsequently here for examples, will actually be replaced by your user name for your installation:

/scratch/$USER/slic/v00-00/

If you want to change the location of the installation, then edit the file:

ilcinstall/examples/slic/release-versions.py

And change the value of the variable “ilcsoft_install_prefix” to your preferred installation directory.

Running slic

The Geant4 environment should be setup before running slic:

.  /scratch/jeremym/slic/v00-00/geant4/9.6.p01/bin/geant4.sh

You can then run the binary as follows:

source /scratch/jeremym/slic/v00-00/init_ilcsoft.sh
$SLIC/build/bin/slic [args]

For now, you will need to manually point to the particle table in HepPDT, if you need the extended particle dataset.

 
$SLIC/build/bin/slic –P /scratch/jeremym/slic/v00-00/heppdt/3.04.01/data/particle.tbl [args]

This build has been checked on a current version of OSX, as well as a few flavors of Linux. Currently, there is no native support for Windows.

Building Individual Packages

For example, to rebuild only LCDD:

cd lcdd/HEAD/build
cmake ..
make clean install
  • No labels