Install instruction from scratch

Please note: these instructions have been substantially changed due to the migration of the code repositories to SVN. Easiest would be to start a virgin installation instead of updating an existing one.

Install ILC software using ilcsoft-install


  • JAVA
  • mysql
  • ROOT
  • CMake (available from Compatibility problems with CMake 2.6 are resolved meanwhile, use cmake -Wno-dev to suppress non-critical warnings)

Define a base path where to install the ILC software (a whole dir tree will be created)

export ILC_BASEDIR=<your choice>

Get ilcinstall package

mkdir ilcinstall
cd ilcinstall
svn co
cd v01-07

Get the config file ilcsoft-v01-07_calice.cfg, which steers the installation of the packages required for CALICE. Some entries need to be adjusted to your system, see comments in file. There are now also templates to install optional packages such as MarlinUtil, please check the end of the config file.

The packages of ILCsoft have to be compiled in 32bit compatibility mode, make sure to point to the 32bit version of the required packages in the config file. When compiling on a 64bit architecture, you will have to set the CXXFLAG environment variable for appropriate compilation before launching ilcsoft-install. In recent versions, this is set in the ilcsoft-install config script.

ilcsoft-install -i ilcsoft-v01-07_calice.cfg

In the end, there will be a config file for the CMake build tool, called ILCSoft.cmake. Two patches by hand are necessary: change MARLIN_HOME to MARLIN_DIR and LCCD_HOME to LCCD_DIR before proceeding.

Install calice_userlib and calice_reco on top

Again, chose a base directory for the CALICE code tree:

export BASEDIR=<your choice>

Download calice_userlib and calice_reco (see the version table for details, use 'trunk' rather than 'tags/' for the HEAD)

mkdir calice_userlib && cd calice_userlib
svn co

mkdir calice_reco && cd calice_reco
svn co

Next you need to create a build directory. You are free to chose a different pattern, though this seemed reasonable to me

mkdir build
mkdir build/calice_userlib
mkdir build/calice_reco
cp $ILC_BASEDIR/ILCSoft.cmake ./build

Now you're ready to compile and install. Install paths for calice_userlib and calice_reco have to be chosen. (I use $HOME/)

cd $BASEDIR/build/calice_userlib
cmake -C ../ILCSoft.cmake -DCMAKE_INSTALL_PREFIX=<path to install calice_userlib> ../../calice_userlib
gmake install
cd $BASEDIR/build/calice_reco
cmake -C ../ILCSoft.cmake -DCMAKE_INSTALL_PREFIX=<path to install calice_reco> -DCALICE_USERLIB_DIR=<install prefix of calice_userlib>/cmake -DBUILD_WITH_CLUSTERING=off ../../calice_reco
gmake install

Drop the -DBUILD_WITH_CLUSTERING=off option to build the clustering package within calice_reco. However, this requires MarlinUtil, which has to be enabled for installation by editing the ilcsoft-install script accordingly.

In order to save disk space, you can clean the build area (if your install path is outside):

rm -rf $BASEDIR/build/calice_userlib/*
rm -rf $BASEDIR/build/calice_reco/*

-- NielsMeyer - 15 Dec 2009 : change instructions for SVN checkout, update to ILCsoft version v01-07, latest CALICE tags
-- NielsMeyer - 3 Jul 2009 : update ILCsoft versions to be compatible with latest version of calice_reco
-- NielsMeyer - 29 Sep 2008

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatcfg calice_v01-04.cfg r1 manage 1.5 K 2008-09-30 - 14:14 NielsMeyer Config script for ilcinstall
Unknown file formatcfg calice_v01-06-02.cfg r1 manage 1.5 K 2009-07-03 - 14:23 NielsMeyer Updates version of ILCSoft install script for CALICE
Unknown file formatcfg ilcsoft-v01-07_calice.cfg r1 manage 3.0 K 2009-12-15 - 09:57 NielsMeyerExternal  
Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r9 - 2009-12-15 - NielsMeyerExternal
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CALICE All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback