You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

JLab Installation

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

New instructions

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/hps-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/hps-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]

There are more complicated instructions at the web page for IlcInstall at http://ilcsoft.desy.de/portal/software_packages/ilcinstall/.

Old Instructions for SLIC

Follow the instructions here.

The instructions linked to above need to have a few amendments:

  • Make sure your "cmake" copy is 2.8 or newer. At jlab, see ~clashps/local_packages/bin for a copy of cmake. You need to add this to your PATH before running "configure".
  • You need direct access to svn.freehep.org and cvs.freehep.org over ports 2401 and 3690. This is now fixed at Jlab for "jlabl1" (2013-03-11), your own system may or may not have this difficulty. If blocked:
  • No labels