Christoph Rosemann
Email: christoph.rosemann@desy.de
Programs must be written for people to read, and only incidentally for machines to execute. (SICP/The purple book)
links:
Installing [flc36]@barrack
REDO 30mar09, SL4 doesn't cooperate readily
[edit 31mar09] SL5 is no better, going back to Sl4, try to go through this time
.0 install full & complete raw/naked/pure Scientific Linux 4.5 & perform full up-to-date actions:
rpm -Uvh ftp://ftp.scientificlinux.org/linux/scientific/4x/i386/misc/RPMS/yum-conf-latest.SL.noarch.rpm
- rpm -e yum-versionlock-0.6-1.SL.noarch (something broken there)
- yum clean all
- yum update yum
- yum update
.1 download root-binary and "install" to /opt/root_v5.22.00
wget ftp://root.cern.ch/root/root_v5.22.00.Linux-slc4-gcc3.4.tar.gz
- untar, bla
- set the paths for root in ~/.bashrc for user
Either look at the homepage of ilcinstall, read the README or take Martins config file:
as example.
.2 now start with installing Marlin and MarlinTPC
please note at DESY the alternative exists by using the pre-Installed version, (needs updated info)
Installation of Marlin and MarlinTPC
Start with some links:
http://ilcsoft.desy.de/portal/software_packages/marlintpc/ shows a good starting point, this points to the Workbook pages: https://twiki.cern.ch/twiki/bin/view/ILCTPC/MarlinTPC for either users or developers
Now mix this with some information from the introduction/installation session by Martin Killenberg:
and to be more specific the actual slides for this session:
ilcinstall
The program can be found on
using the download link (version 01-06)
or, alternatively
untar, unzip to /opt/ilcsoft/ilcinstall/v01-06 (following Martins suggestion)
The main part is the config file used:
ilcinstall.cfg
Either look at the homepage of ilcinstall, read the README or take Martins config file:
as example. or, alternatively
The modified config file is:
- /opt/ilcsoft/ilcinstall/v01-06/testinstall_second.cfg
- ilcsoft = ILCSoft("/opt/ilcsoft/v01-06")
- ilcsoft.envcmake["BUILD_32BIT_COMPATIBLE"]="OFF"
- ilcsoft.use( ROOT( "/opt/root_v5.22.00" ))
- ilcsoft.install( QT( "4.2.2" ))
- ilcsoft.install( CLHEP( "2.0.3.2" ))
- ilcsoft.install( CMakeModules( "v01-08" ))
- ilcsoft.install( LCIO( "v01-11" ))
- ilcsoft.install( GEAR( "v00-11-01" ))
- ilcsoft.install( RAIDA( "v01-04-03" ))
- ilcsoft.install( Marlin( "v00-10-04" ))
- ilcsoft.module("Marlin").envcmake["MARLIN_GUI"] = 1
- ilcsoft.install( CondDBMySQL( "CondDBMySQL_ILC-0-5-11" ))
- ilcsoft.install( LCCD( "v00-04" ))
Time to install (including qt4): 107 minutes
check marlin installation
print example configuration:
Marlin -x
finally install MarlinTPC
get hold of the latest version (no, not head, but -> trunk):
- svn checkout svn://pi.physik.uni-bonn.de/MarlinTPC/trunk MarlinTPC_trunk
now run cmake, but
trouble sneaking in
cmake is not part of the official SL4, even not in the repository. so now you know what to do:
untar, compile. somehow this should also be possible in the ilc-install script!?
continue
run cmake in newly created 'build' directory:
- [ MarlinTPC_trunk/build $] cmake -C $ILCPATH/ILCSoft.cmake .. [ MarlinTPC_trunk/build $] make
& wait ...
DONE!
adjust .bashrc in $HOME directory:
- export ILCPATH=/opt/ilcsoft/v01-06
- export MARLINTPCPATH=/opt/ilcsoft/MarlinTPC_trunk/build
- export PATH=${PATH}:${ROOTSYS}/bin:${ILCPATH}/Marlin/v00-10-04/bin:${ILCPATH}/lcio/v01-11/bin
- export LD_LIBRARY_PATH=${ROOTSYS}/lib
- export MARLIN_DLL=${ROOTSYS}/lib/libMinuit2.so:${MARLINTPCPATH}/lib/libMarlinTPC.so