Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

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:

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

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

No Format
/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:

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

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

No Format
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:

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

You can then run the binary as follows:

No Format
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.

No Format
 
$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:

No Format
cd lcdd/HEAD/build
cmake ..
make clean install