Search/Navigation:
Related:
SLAC/EPP/HPS Public
Jefferson Lab/Hall B/HPS Run Wiki
S30XL-LESA/LDMX
SLIC
An old version of SLIC is installed at SLAC and JLab:
/nfs/slac/g/lcd/mc/prj/sw/dist/SimDist/pro/scripts/slic.sh
/home/clashps/HPS_Software/SimDist/scripts/slic.sh
Instead of "SimDist", SLIC is now installed using the ilcinstall tool. It only requires a local install of Python, which is the case for nearly all distributions of Linux and Mac OS X. Currently there is no support for Windows.
Obtain the installation code with:
svn co https://svnsrv.desy.de/public/ilctools/ilcinstall/trunk/ ilcinstall
You now want to edit the file examples/slic/release-versions.py to set the location where the software is installed. Edit the line:
ilcsoft_install_prefix = "/scratch/$USER/slic/"
to set the ilcsoft_install_prefix to the desired location.
Next you run the installer with:
python ilcsoft-install -i ./examples/slic/release-scratch.cfg
(This takes a long time, it downloads a lot of data and builds the code. You may want to background it with "nohup python ilcsoft-install -i ./examples/slic/release-scratch.cfg >& Install.log &" instead.)
NOTE: If you get a Python error that states that something is not found, try unsetting your PYTHONPATH first, with "unset PYTHONPATH"
You can now run slic 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]
If you have any problems with this install, please email the hps-software list.
There are more complicated instructions at the web page for IlcInstall at http://ilcsoft.desy.de/portal/software_packages/ilcinstall/.
Follow the instructions here.
The instructions linked to above need to have a few amendments: