How to Run SiD Sim and Reco on your desktop/laptop ?
First of all, you need a recent linux box with the following ingredients
- C/C++ Compiler gcc 4.4 or greater
- Java 1.6 or greater
- Maven 3.0.
- QT
- CERNLIB
- CVS
- SVN
I've used OpenSuse 12.3 x86-64 with gcc 4.7.2 , qt 4.8 and Java OpenJDK 1.7.0_21
all modified scripts can be found in this tarball (to be added)
Preparation
Prepare an area:
mkdir /scratch/sid_complete cd /scratch/sid_complete
then get the most "recent" CERNLIB from here
install the CERNLIB in therein the folder /scratch/sid_complete/cernlib2006
unpack the scripts into the myscripts area
tar -xzvf myscripts.tar.gz
ILCSOFT installation
Get ilcinstall from here: ilcinstall
I've used : v01-17-02
tar -xzvf ilctools-v01-17-02.tar.gz cd v01-17-02 cd releases/v01-17/
there are two scripts .... release-version.py (that needs to be adapted) and release-sid.cfg, which does contain all the packages you'll need for running SiD software.
you can test the installation with the -p switch and you can run it with the -i switch
cd v01-17-02 ./ilcsoft-install -p releases/v01-17/release-sid.cfg ./ilcsoft-install -i releases/v01-17/release-sid.cfg
You can speed uop the compilation by changing this from -j2 to -j8 on a multi-core machine
\# global optionsilcsoft.env["MAKEOPTS"]="-j2"
LCSIM installation
First get the JAS 3.0.3 from here , it contains a handy LCIO browser and the Wired Event display
unpack it in sid_complete area
next thing is installing Maven 3.0.5 from the web
tar -xzvf apache-maven-3.0.5-bin.tar.gz
Then get the lcsim packages via CVS
cd /scratch/sid_complete mkdir lcsim cd lcsim cp /scratch/sid_complete/myscripts/build_lcsim.sh . ./build_lcsim.sh
This will check out everything from the lcsim repository, set the path to Maven correctly and build the lcsim distribution