First of all, you need a recent linux box with the following ingredients
I've used
|
all modified scripts can be found in this tarball
Bugs reported by Alex Finch: /sid_complete/v01-17-02-sid/KalDet/v01-12/kern/EXVKalDetector.h
|
Prepare an area:
mkdir /scratch/sid_complete cd /scratch/sid_complete |
then get the most "recent" CERNLIB from here, you needs the libs and the includes, be careful to have the libs for your architecture
install the CERNLIB in therein the folder /scratch/sid_complete/cernlib2006 with two subfolders
I have used symbolic links to set this up
ln -s 2006b/x86_64-slc5-gcc43-opt/lib lib ln -s 2006b/include/ include |
unpack the scripts into the myscripts area
tar -xzvf myscripts.tar.gz |
Get ilcinstall from here: ilcinstall
I've used : v01-17-02
mkdir ilcinstall cd ilcinstall tar -xzvf ilctools-v01-17-02.tar.gz |
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. the adapted scripts are in the myscripts Folder
cd /scratch/sid_complete cp myscripts/release-sid.cfg ilcinstall/v01-17-02/releases/v01-17/ cp myscripts/release-versions.py ilcinstall/v01-17-02/releases/v01-17/ |
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 options ilcsoft.env["MAKEOPTS"]="-j2" |
Now it's time to grab a coffee...
Known features/problems
|
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
tar -xzvf jas-assembly-3.0.3-distribution.tar.gz |
next thing is installing Maven 3.0.5 from the web , unpack and add the path
tar -xzvf apache-maven-3.0.5-bin.tar.gz export PATH=$PATH:/scratch/sid_complete/apache-maven-3.0.5/bin |
Then get the lcsim packages via CVS
cd /scratch/sid_complete mkdir lcsim cd lcsim cp /scratch/sid_complete/myscripts/build-lcsim.sh . source ./build-lcsim.sh |
This will check out everything from the lcsim repository, set the path to Maven correctly and build the lcsim distribution, this is a lot faster than the first step
this is done using another script
cp myscripts/build_slicpandora.sh . source ./build_slicpandora.sh |
Note: in the current cvs version (23/07/13), there are two bugs
this has been reported |
that's it, you're done, now up to actually running a few events ?! Continue reading here