Annuaire IPHC

DRS | Recherche au DRS » Modèle standard et au‐delà » PICSEL » CMOS Sensors » AIDA Project

at IPHC

Dernière mise à jour : lundi 14 mars 2011, par Artemios GEROMITSOS , Auguste BESSON

The AIDA project addresses infrastructures required for detector development for future particle physics experiments. In line with the European strategy for particle physics, AIDA targets user communities preparing experiments at a number of key potential future accelerators : SLHC (luminosity-upgraded LHC), future Linear Colliders (ILC and CLIC), future accelerator-driven neutrino facilities or future B-physics facilities (e.g. Super-B).

The Official Webpage

The official link of AIDA project.

AIDA kick-off Meeting

The kick-off meeting took place in February 2011 at CERN. The programme can be found here.

Installation Steps for the ALLPIX software

Prerequisite : we shall suppose that the installation of the following packages takes place under the /somewhere/toinstall/allthestuff.
The installation took place at the sbgat513 machine, where a simple

uname -a

yields :

Linux sbgat513 2.6.24.7-smp64g #1 SMP Fri May 16 21:16:40 CEST 2008 i686 GNU/Linux

and the

cat /proc/cpuinfo | grep cpu

yields

cpu family         : 6
cpu MHz     : 2400.166
cpu cores         : 4
cpuid level         : 10

We shall also consider that none of the packages is installed at your machine (although it is a good idea to ask your local ITD for packages already installed on your machine). For this case you can simply run the
following script that tests your configuration as far as the graphic part of geant is concerned.

 /strasb/deck/g4.tests.3.graphiques.gcc.4.1.2

Each package is to be installed in a separate directory under the /somewhere/toinstall/allthestuff/.
Therefore for example the QT will be installed at
/somewhere/toinstall/allthestuff/QT/

The following packages are needed in order to obtain ALLPIX
ROOT 5.26, GEANT4, QT, OPENVINVENTOR and XERCES.

ROOT5

Get the version 5.26 by

wget ftp://root.cern.ch/root/root_v5.26.00.source.tar.gz
tar xzvf root_v5.26.00.source.tar.gz
cd root_v5.26.00*
./configure --enable-xml --with-xml-libdir=/usr/lib
Configuring for linux
INFO: --enable-xml: already enabled by default.
Checking for GNU Make version >= 3.79.1 ... ok
Checking for C compiler ... gcc

[...snip...]

Writing config.status ... done

At this point you can verify the installation of the xml option by the last line in the config.log.

% grep -e 'Enabled support' config.log
Result: Enabled support for asimage, astiff, builtin_afterimage, builtin_ftgl, builtin_freetype, builtin_glew, builtin_pcre, builtin_zlib, cint5, cintex, editline, exceptions, genvector, mathmore, memstat, opengl, reflex, shadowpw, shared, tmva, xft, xml, xrootd.

Therefore, in order to build ROOT one can proceed by doing :

make -j4
cp cint/reflex/inc/Reflex/Base.h include/Reflex/Base.h
cp cint/reflex/inc/Reflex/DictionaryGenerator.h include/Reflex/DictionaryGenerator.h

[...snip...]

g++ -m32 -O2  -o bin/h2root main/src/h2root.o  \
                   -Llib -lCore -lCint -lRIO -lNet -lHist -lGraf -lGraf3d -lGpad -lTree -lMatrix -lMathCore -lThread lib/libminicern.so \
                   /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/libgfortran.so /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/libgfortranbegin.a -lm -ldl  -pthread -rdynamic
rm core/utils/src/RStl_tmp.cxx core/utils/src/rootcint_tmp.cxx

After the installation and the verification is all set make sure you have the following 3 environmental variables defined (e.g. for the bash family) :

export ROOTSYS=/somewhere/toinstall/allthestuff/root.5.26.00.gcc.4.1.2
export PATH=$ROOTSYS/bin:$PATH
export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH

QT

The QT was download from this place and configured-compiled according to
these steps.
Beneath we present a portion of the installation procedure.

./configure --prefix=/rawcmos7/agerom/geant4deps/QT --prefix-install
Which edition of Qt do you want to use ?

Type 'c' if you want to use the Commercial Edition.
Type 'o' if you want to use the Open Source Edition.
o

This is the Qt for Linux/X11 Open Source Edition.

You are licensed to use this software under the terms of
the Lesser GNU General Public License (LGPL) versions 2.1.
You are also licensed to use this software under the terms of
the GNU General Public License (GPL) versions 3.

Type '3' to view the GNU General Public License version 3.
Type 'L' to view the Lesser GNU General Public License version 2.1.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.

Do you accept the terms of either license? yes

Creating qmake. Please wait...
g++ -c -o project.o -pipe -DQMAKE_OPENSOURCE_EDITION -I.

[....snip...]

Qt is now configured for building. Just run 'make'.
Once everything is built, you must run 'make install'.
Qt will be installed into /rawcmos7/agerom/geant4deps/QT

To reconfigure, run 'make confclean' and 'configure'.

make
cd src/tools/bootstrap/ && make -f Makefile
make[1]: Entering directory `/var/autofs/nfs/rawcmos7/agerom/geant4deps/QT/src/tools/bootstrap'

[...snip...]

make[3]: Leaving directory `/var/autofs/nfs/rawcmos7/agerom/geant4deps/QT/demos/spectrum/app'
make[2]: Leaving directory `/var/autofs/nfs/rawcmos7/agerom/geant4deps/QT/demos/spectrum'
make[1]: Leaving directory `/var/autofs/nfs/rawcmos7/agerom/geant4deps/QT/demos'

make install
make[1]: Entering directory `/var/autofs/nfs/rawcmos7/agerom/geant4deps/QT/src/tools/rcc'
install -m 755 -p "../../../bin/rcc" "/rawcmos7/agerom/geant4deps/QT/bin/rcc"

[...snip...]

The installation should be complete by now. All you have to do is to define
the variable (e.g. for the bash shell)

PATH=/usr/local/Trolltech/Qt-4.7.1/bin:$PATH
export PATH

XERCES

The Xerces package can be downloaded and installed by following the procedure described in this link.

OPENINVENTOR

The .gz file can be obtained provided you have AFS access
from

cd /somewhere/toinstall/allthestuff/
cp /afs/cern.ch/user/i/idarraga/public/inventor.tar.gz .

After unzipping and untaring by

tar xzvf inventor.tar.gz
mv inventor openinventor
cd openinventor

run the Configure and compile command as follows :

./configure --prefix=/somewhere/toinstall/allthestuff/openinventor --exec-prefix=/somewhere/toinstall/allthestuff/openinventor
make
make install

Additionally you may want to check that the installation is ok by

ls -lrth /somewhere/toinstall/allthestuff/openinventor/lib

The following libs should appear :

libFL.so  libimage.so  libInventor.so  libInventorXt.so

GEANT4

The recent G4 version [1] is 4.9.4 and can be downloaded from here.
The installation procedure is interactive and pretty straightforward.
However for the sake of demonstration, the full steps of the installation procedure is copypaste(d) in following lines :

./Configure -build

               --- Geant4 Toolkit Build  ---

Would you like to see the instructions? [n]

Definition of G4SYSTEM variable is Linux-g++.
That stands for:

1) OS                : Linux

2) Compiler        : g++

To modify default settings, select number above (e.g. 2)
[Press [Enter] for default settings]

I can set things up so that your shell scripts and binaries are more portable,
at what may be a noticable cost in performance.  In particular, if you
ask to be portable, the following happens:

    1) Shell scripts will rely on the PATH variable rather than using
        the paths derived above.
    2) ~username interpretations will be done at run time rather than
        by Configure.

Do you expect to run these scripts and binaries on multiple machines? [n]

*OPTIONS FOR GEANT4 INSTALLATION PATHS*
What is the path to the Geant4 source tree?
[/rawcmos7/agerom/geant4deps/geant4.9.4]

Where should Geant4 be installed?  [/rawcmos7/agerom/geant4deps/geant4.9.4]

Do you want to install all Geant4 headers in one directory? [n]

*GEANT4 LIBRARY BUILD OPTIONS*
Do you want to build shared libraries? [y]
Do you want to build static libraries too? [n]
Do you want to build global libraries? [y]
Do you want to build granular libraries as well? [n]
Do you want to build libraries with debugging information? [n]

*CHECKS AND OPTIONS FOR GEANT4 PHYSICS DATA FILES*
Specify the path where the Geant4 data libraries are installed:
[/rawcmos7/agerom/geant4deps/geant4.9.4/data]
checking for PhotonEvaporation2.1... yes
checking for RadioactiveDecay3.3... yes
checking for G4EMLOW6.19... yes
checking for G4NDL3.14... yes
checking for G4ABLA3.0... yes
checking for RealSurface1.0... yes
checking for G4NEUTRONXS1.0... yes
checking for G4PII1.2... yes

*CHECKS FOR CORRECT MAKE IMPLEMENTATION*
Checking for make... /usr/bin/make
Checking for gmake... no
Checking if make is GNU make... yes
How many parallel jobs should make launch? [1]
Checking that 1 is a valid number... yes

*CHECKS FOR REQUIRED EXTERNAL PACKAGE CLHEP*

Could not find CLHEP installed on this system!
Please, specify where CLHEP is installed:

CLHEP_BASE_DIR:                          /cern/2011/clhep-2.1.0.1.gcc.4.1.2/

You can customize paths and library name of you CLHEP installation:

1) CLHEP_INCLUDE_DIR:                /cern/2011/clhep-2.1.0.1.gcc.4.1.2//include
2) CLHEP_LIB_DIR:                /cern/2011/clhep-2.1.0.1.gcc.4.1.2//lib
3) CLHEP_LIB:                        CLHEP
To modify default settings, select number above (e.g. 2)
[Press [Enter] for default settings]

*OPTIONS FOR GEANT4 USER INTERFACE MODULES*
Enable building of User Interface (UI) modules? [y]
Enable building of the XAW (X11 Athena Widget set) UI module? [n]
Enable building of the X11-Motif (Xm) UI module? [n] y

You have selected to build the X11-Motif(Xm) based user interfaces.
Specify the correct path where Xm is installed on your system.
It was found in /usr. Press [Enter] to set this path or type the correct one.

You can set '-' (without quotation) to CANCEL the XM flag at all:
[/usr]
Enable building of the Qt UI module? [n] y
checking for qglobal.h... no
checking Qt major version... no
checking for qt-mt or qt library... no
checking for moc... no

Autodetection failed to locate Qt3 or Qt4 in  on your system.
Please enter the path to your Qt3 OR Qt4 install (i.e. if Qt4 is installed
in PATH/include/QT, PATH/include or PATH/include/qt4, enter PATH),
or type '-' to CANCEL the build of the Qt UI module.
Qt path:  /rawcmos7/agerom/geant4deps

checking for qglobal.h... no
checking Qt major version... no
checking for qt-mt or qt library... no
checking for moc... no

Autodetection failed to locate Qt3 or Qt4 in  on your system.
Please enter the path to your Qt3 OR Qt4 install (i.e. if Qt4 is installed
in PATH/include/QT, PATH/include or PATH/include/qt4, enter PATH),
or type '-' to CANCEL the build of the Qt UI module.
Qt path:  /rawcmos7/agerom/geant4deps/QT

checking for qglobal.h... /rawcmos7/agerom/geant4deps/QT/include/QtCore/qglobal.h
checking Qt major version... 4
checking for QtGui headers... yes
checking for QtOpenGL headers... yes
checking for QtCore library... QtCore
checking for moc... /rawcmos7/agerom/geant4deps/QT/bin/moc
Checking /rawcmos7/agerom/geant4deps/QT/bin/moc major version is 4... yes

*OPTIONS FOR GEANT4 VISUALIZATION DRIVERS*
Enable building of visualization drivers? [y]
Enable building of the X11 OpenGL visualization driver? [n] y
Enable building of the X11-Motif OpenGL visualization driver? [n] y
Enable building of the FukuiRenderer/DAWN visualization driver? [n] y
Enable building of the X11 OpenInventor visualization driver? [n] y

You have selected to build the X11 OpenInventor driver.
But OpenInventor was not found in the expected place.
Please specify the correct path where OpenInventor is installed on your system.

You can set '-' (without quotation) to CANCEL the OpenInventor flag at all:  /rawcmos7/agerom/geant4deps/openinventor
Enable building of the X11 RayTracer visualization driver? [n]
Enable building of the VRML visualization driver? [n]

You have selected to build one or more drivers that require OpenGL.
Specify the correct path (OGLHOME) where OpenGL is installed on your system.
It was found in /usr. Press [Enter] to set this path or type the correct one.

You can set '-' (without quotation) to CANCEL the OpenGL flag at all:
[/usr]
Enable building of the Qt OpenGL visualization driver? [n] y
configure: Qt already configured, no recheck neccessary

*OPTIONS FOR GEANT4 OPTIONAL EXTENSION MODULES*
Enable the Geometry Description Markup Language (GDML) module? [n] y
checking for XercesC install... /usr
Enable build of the g3tog4 utility module? [n]
Enable internal zlib compression for HepRep visualization? [n]

End of configuration phase.


Creating configuration setup file...

WARNING: the generated configuration file
can be edited if necessary!
You can introduce any change to the configuration file
/rawcmos7/agerom/geant4deps/geant4.9.4/.config/bin/Linux-g++/config.sh before the final installation.
To do so, use a shell escape now (e.g. !vi /rawcmos7/agerom/geant4deps/geant4.9.4/.config/bin/Linux-g++/config.sh).

Press [Enter] to start installation or use a shell escape to edit config.sh:
Now starting Geant4 libraries build...

On this machine the G4SYSTEM=Linux-g++

[...snip...]
make[1]: Nothing to be done for `liblist'.
Libraries installation completed !
####################################################
# Your Geant4 installation seems to be successful!  
# To be sure please have a look into the log file:  
# /somewhere/toinstall/allstuff/.config/bin/Linux-g++/g4make.log
####################################################

./Configure -install
On this machine the G4SYSTEM=Linux-g++
On this machine the G4INSTALL=/rawcmos7/agerom/geant4deps/geant4.9.4
On this machine the G4TMP=/rawcmos7/agerom/geant4deps/geant4.9.4/tmp
On this machine the G4LIB=/rawcmos7/agerom/geant4deps/geant4.9.4/lib
On this machine the G4LEVELGAMMADATA=/rawcmos7/agerom/geant4deps/geant4.9.4/data/PhotonEvaporation2.1
On this machine the G4RADIOACTIVEDATA=/rawcmos7/agerom/geant4deps/geant4.9.4/data/RadioactiveDecay3.3
On this machine the G4LEDATA=/rawcmos7/agerom/geant4deps/geant4.9.4/data/G4EMLOW6.19
On this machine the G4NEUTRONHPDATA=/rawcmos7/agerom/geant4deps/geant4.9.4/data/G4NDL3.14
On this machine the G4ABLADATA=/rawcmos7/agerom/geant4deps/geant4.9.4/data/G4ABLA3.0
On this machine the CLHEP_BASE_DIR=/cern/2011/clhep-2.1.0.1.gcc.4.1.2/
On this machine the CLHEP_INCLUDE_DIR=/cern/2011/clhep-2.1.0.1.gcc.4.1.2//include
On this machine the CLHEP_LIB_DIR=/cern/2011/clhep-2.1.0.1.gcc.4.1.2//lib
On this machine the CLHEP_LIB=CLHEP
On this machine the G4UI_BUILD_XM_SESSION=1
On this machine the G4UI_USE_XM=1
On this machine the G4VIS_BUILD_DAWN_DRIVER=1
On this machine the G4VIS_BUILD_OPENGLX_DRIVER=1
On this machine the G4VIS_BUILD_OPENGLXM_DRIVER=1
On this machine the G4VIS_BUILD_OIX_DRIVER=1
On this machine the G4VIS_BUILD_VRML_DRIVER=1
On this machine the G4VIS_USE_DAWN=1
On this machine the G4VIS_USE_OPENGLX=1
On this machine the G4VIS_USE_OPENGLXM=1
On this machine the G4VIS_USE_OIX=1
On this machine the G4VIS_USE_VRML=1
On this machine the G4LIB_BUILD_GDML=1
On this machine the XERCESCROOT=
On this machine the G4LIB_BUILD_G3TOG4=1
On this machine the G4LIB_USE_G3TOG4=1
On this machine the G4LIB_BUILD_ZLIB=1
On this machine the G4LIB_USE_ZLIB=1
On this machine the G4LIB_BUILD_SHARED=1

Starting installation...

You need to define the following variables every time you need to use the G4.

export MYDIR=/rawcmos7/agerom
export G4WORKDIR=$MYDIR/geant4
export G4TMP=$MYDIR/geant4/tmp
export G4INSTALL=/cern/2009/geant4.9.3.b01.gcc.4.1.2
export G4SYSTEM=Linux-g++
export CLHEP_BASE_DIR=/cern/2009/clhep-2.0.4.2.gcc.4.1.2
export CLHEP_INCLUDE_DIR=$CLHEP_BASE_DIR/include
export CLHEP_LIB_DIR=$CLHEP_BASE_DIR/lib
export CLHEP_LIB=CLHEP
export LD_LIBRARY_PATH=$CLHEP_LIB_DIR
export G4LIBDIR=$G4INSTALL/lib/$G4SYSTEM
export G4VIS_BUILD_OPENGLX_DRIVER=1 #Declenche le graphique OPENGL
export G4VIS_USE_OPENGLX=1
export G4VIS_BUILD_DAWN_DRIVER=1 #Declenche le graphique DAWN
export G4VIS_USE_DAWN=1
export G4VIS_BUILD_OIX_DRIVER=1 #Declenche le graphique OPEN INVENTOR
export G4VIS_USE_OIX=1
export G4LIB_BUILD_GDML=1 #Declenche le package GDML
export G4LIB_USE_GDML=1
export OGLHOME=/usr/lib #Utiliser Mesa (=opengl)
export OGLFLAGS="-I/usr/include"
export OGLLIBS="-lGLU -lGL"             # Pas de Mesa dans les noms !
export OIVHOME=/cern/2009/inventor.2.1.5.10.gcc.4.1.2 #OPENINVENTOR
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OIVHOME/lib
export PATH=$PATH:/cern/2007/dawn.3.88a/bin  # utilisation de DAWN
#Data
export G4LEVELGAMMADATA="$G4INSTALL/data/PhotonEvaporation2.0"
export G4RADIOACTIVEDATA="$G4INSTALLdata/RadioactiveDecay3.2"
export G4LEDATA="$G4INSTALL/data/G4EMLOW6.5"
export G4NEUTRONHPDATA="$G4INSTALL/data/G4NDL3.13"
export G4ABLADATA="$G4INSTALL/data/G4ABLA3.0"

ALLPIX

If the set of the above steps is satisfied, now it is the time to install ALLPIX,
This can be achieved by performing the following actions.
Also make sure you loaded your Geant4 and ROOT setup (by checking the $G4LIB and $ROOTSYS variable for instance). You can now compile allpix.

cd /somewhere/toinstall/allpix
svn co https://svn.lal.in2p3.fr/users/idarraga/allpix
make
Making dependency for file allpix.cc ...
Making dependency for file src/allpix_dm.cc ...

[...snip...]

Compiling SelDict.cc ...
Compiling allpix_dm.cc ...
Creating/replacing object files in /rawcmos7/agerom/geant4/tmp/Linux-g++/allpix/liballpix.a ...
ar: creating /rawcmos7/agerom/geant4/tmp/Linux-g++/allpix/liballpix.a
Compiling allpix.cc ...
Using global libraries ...
Linking allpix
... Done!

In order to check the allpix successful compilation, you need to execute the binary found in the G4 working dir. For this reason, you need to link it
to the allpix directory and then execute one macro.
All these steps are performed by doing :

ln -sf $G4WORKDIR/bin/Linux-g++/allpix .
./allpix macros/telescope1_Inventor_vis.in

The following window should appear.

PNG - 28.1 ko
allpix_visual
Visualisation of a telescope in ALLPIX.

Installation Steps for the EUTelescope SOFTWARE


The EUTelescope
project installation procedure is described in the following link.
However,
some variations of the default installation steps were used. In the following lines these variations are being described. Since EUTELESCOPE, EUDAQ and Millipede are
part of the installation procedure, we will go ahead and begin by following the standalone installation procedure of the ILCSOFTWARE (not utilizing the /afs/desy.de/... but rather installing the sub-packages ). One can use the release-ilcsoft.cfg and release-versions.py
that are slightly modified in order to comply with the local machine characteristics and have been tested for their functionality

svn co https://svnsrv.desy.de/public/ilctools/ilcinstall/branches/v01-11-pre03  ilcinstall_v01-11-pre03
wget http://www-zeus.desy.de/~rubinsky/EUTelescope/installation-cfg-files/standalone/release-ilcsoft.cfg
wget http://www-zeus.desy.de/~rubinsky/EUTelescope/installation-cfg-files/standalone/release-versions.py
mv release-ilcsoft.cfg ./releases/v01-11/
mv release-versions.py ./releases/v01-11/

Also, you need to modify the /releases/v01-11/release-version.py
and try to introduce the correct path.

ilcsoft_install_prefix = "/path/of/installation/ilcsoft-v01-11-pre03"

and the /releases/v01-11/release-install.cfg
by introducing the correct path as well :

ilcsoft = ILCSoft("/path/of/installation/ilcsoft-v01-11-pre03/")

Finally you need to alter the 32 from the standard 64-bit installation

ilcsoft.envcmake["BUILD_32BIT_COMPATIBLE"]="ON"

Now we can procceed to the installation by typing the command :

$ ./ilcsoft-install releases/v01-11/release-ilcsoft.cfg -i

The installation procedure is set off :

./ilcsoft-install releases/v01-11/release-ilcsoft.cfg
+ Running ilcsoft-install [ $Rev: 1132 $ ]
+ Read configuration file [ /var/autofs/nfs/rawcmos7/agerom/ilcinstall_v01-11-pre03/releases/v01-11/release-ilcsoft.cfg ]

+ PLATFORM         Linux - unknown
+ GCC_VERSION         gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
+ LSB_RELEASE        
+ UNAME         Linux sbgat513 2.6.24.7-smp64g #1 SMP Fri May 16 21:16:40 CEST 2008 i686 GNU/Linux

+ Initialize modules...

+ Check for previous installations...


+ Dependencies Pre-Check...

+ Dependencies Check...

+ Dependencies Post-Check...


============================== Installation Summary: ========================================

+ ILC Software will be installed to [/rawcmos7/agerom/ilcsoft-v01-11-pre03]

+ Following modules will be installed:


        + ILCUTIL: version [ v00-01-pre02 ]
           + will be installed to: [ /rawcmos7/agerom/ilcsoft-v01-11-pre03/ilcutil/v00-01-pre02 ]
           + download sources with [ svn ] from:
                + SVN [ https://svnsrv.desy.de/public/ilctools/ilcutil/branches/v00-01-pre02 ]

           + following modules are required: [CMake]


        + LCCD: version [ v01-01 ]
           + will be installed to: [ /rawcmos7/agerom/ilcsoft-v01-11-pre03/lccd/v01-01 ]
           + download sources with [ svn ] from:
                + SVN [ https://svnsrv.desy.de/public/lccd/lccd/tags/v01-01 ]
           + will be built with: [LCIO]
           + following modules are required: [LCIO] [CMake] [ILCUTIL]


        + Marlin: version [ v01-00 ]
           + will be installed to: [ /rawcmos7/agerom/ilcsoft-v01-11-pre03/Marlin/v01-00 ]
           + download sources with [ svn ] from:
                + SVN [ https://svnsrv.desy.de/public/marlin/Marlin/tags/v01-00 ]
           + will be built with: [LCIO] [GEAR] [CLHEP] [LCCD] [AIDA]
           + following modules are required: [LCIO] [GEAR] [CMake] [ILCUTIL]


        + MarlinUtil: version [ v01-02 ]
           + will be installed to: [ /rawcmos7/agerom/ilcsoft-v01-11-pre03/MarlinUtil/v01-02 ]
           + download sources with [ svn ] from:
                + SVN [ https://svnsrv.desy.de/public/marlinreco/MarlinUtil/tags/v01-02 ]
           + will be built with: [Marlin] [GSL] [CLHEP] [GEAR] [LCIO] [CED]
           + following modules are required: [Marlin] [GSL] [CLHEP] [GEAR] [LCIO] [CED] [CMake] [ILCUTIL]


        + MarlinReco: version [ HEAD ]
           + will be installed to: [ /rawcmos7/agerom/ilcsoft-v01-11-pre03/MarlinReco/HEAD ]
           + download sources with [ svn ] from:
                + SVN [ https://svnsrv.desy.de/public/marlinreco/MarlinReco/trunk ]
           + will be built with: [Marlin] [MarlinUtil] [CLHEP] [GEAR] [GSL] [CERNLIB] [LCIO] [AIDA]
           + following modules are required: [Marlin] [MarlinUtil] [CLHEP] [GEAR] [GSL] [CERNLIB] [LCIO] [CMake] [ILCUTIL]


        + CEDViewer: version [ v01-02 ]
           + will be installed to: [ /rawcmos7/agerom/ilcsoft-v01-11-pre03/CEDViewer/v01-02 ]
           + download sources with [ svn ] from:
                + SVN [ https://svnsrv.desy.de/public/marlinreco/CEDViewer/tags/v01-02 ]
           + will be built with: [Marlin] [MarlinUtil] [LCIO] [GEAR] [CLHEP] [GSL] [CED]
           + following modules are required: [Marlin] [MarlinUtil] [LCIO] [GEAR] [CLHEP] [GSL] [CED] [CMake] [ILCUTIL]


        + Overlay: version [ v00-08 ]
           + will be installed to: [ /rawcmos7/agerom/ilcsoft-v01-11-pre03/Overlay/v00-08 ]
           + download sources with [ svn ] from:
                + SVN [ https://svnsrv.desy.de/public/marlin/Overlay/tags/v00-08 ]
           + will be built with: [Marlin] [LCIO] [CLHEP]
           + following modules are required: [Marlin] [LCIO] [CLHEP] [CMake] [ILCUTIL]


        + Eutelescope: version [ HEAD ]
           + will be installed to: [ /rawcmos7/agerom/ilcsoft-v01-11-pre03/Eutelescope/HEAD ]
           + download sources with [ svn ] from:
                + SVN [ https://svnsrv.desy.de/public/eutelescope/Eutelescope/trunk ]
           + will be built with: [Marlin] [LCIO] [GEAR] [AIDA] [MarlinUtil] [CLHEP] [GSL] [CED] [ROOT]
           + following modules are required: [Marlin] [LCIO] [CMake] [ILCUTIL]


        + RAIDA: version [ v01-05 ]
           + will be installed to: [ /rawcmos7/agerom/ilcsoft-v01-11-pre03/RAIDA/v01-05 ]
           + download sources with [ svn ] from:
                + SVN [ https://svnsrv.desy.de/public/ilctools/RAIDA/tags/v01-05 ]
           + will be built with: [ROOT]
           + following modules are required: [ROOT] [CMake] [ILCUTIL]


        + CED: version [ v01-02 ]
           + will be installed to: [ /rawcmos7/agerom/ilcsoft-v01-11-pre03/CED/v01-02 ]
           + download sources with [ svn ] from:
                + SVN [ https://svnsrv.desy.de/public/marlinreco/CED/tags/v01-02 ]

           + following modules are required: [CMake] [ILCUTIL]


        + GEAR: version [ v00-17 ]
           + will be installed to: [ /rawcmos7/agerom/ilcsoft-v01-11-pre03/gear/v00-17 ]
           + download sources with [ svn ] from:
                + SVN [ https://svnsrv.desy.de/public/gear/gear/tags/v00-17 ]
           + will be built with: [ROOT]
           + following modules are required: [CMake] [ILCUTIL]


        + LCIO: version [ v01-51-02 ]
           + will be installed to: [ /rawcmos7/agerom/ilcsoft-v01-11-pre03/lcio/v01-51-02 ]
           + download sources with [ cvs ] from:
                + CVSROOT [ ]
           + will be built with: [ROOT]
           + following modules are required: [Java] [CMake]


        + CLHEP: version [ 2.0.4.5 ]
           + will be installed to: [ /rawcmos7/agerom/ilcsoft-v01-11-pre03/CLHEP/2.0.4.5 ]
           + download sources with [ wget ] from:
                + URL [ http://proj-clhep.web.cern.ch/proj-clhep/DISTRIBUTION/distributions/clhep-2.0.4.5.tgz ]


        + GSL: version [ 1.8 ]
           + will be installed to: [ /rawcmos7/agerom/ilcsoft-v01-11-pre03/gsl/1.8 ]
           + download sources with [ wget ] from:
                + URL [ ftp://ftp.gnu.org/gnu/gsl/gsl-1.8.tar.gz ]


        + CMake: version [ 2.8.2 ]
           + will be installed to: [ /rawcmos7/agerom/ilcsoft-v01-11-pre03/CMake/2.8.2 ]
           + download sources with [ wget ] from:
                + URL [ http://www.cmake.org/files/v2.8/cmake-2.8.2.tar.gz ]


        + CMakeModules: version [ v01-10-01 ]
           + will be installed to: [ /rawcmos7/agerom/ilcsoft-v01-11-pre03/CMakeModules/v01-10-01 ]
           + download sources with [ svn ] from:
                + SVN [ https://svnsrv.desy.de/public/ilctools/CMakeModules/tags/v01-10-01 ]


+ Following modules will be used for the installation:

  + [ /rawcmos7/agerom/ilcsoft-v01-11-pre03/StandardConfig/v02-02 ]  -> [ /afs/desy.de/project/ilcsoft/sw/i386_gcc41_sl5/StandardConfig/v02-02 ]
   + [ /rawcmos7/agerom/ilcsoft-v01-11-pre03/MokkaDBConfig/v02-02 ]  -> [ /afs/desy.de/project/ilcsoft/sw/i386_gcc41_sl5/MokkaDBConfig/v02-02 ]
   + [ /rawcmos7/agerom/ilcsoft-v01-11-pre03/LCFI_MokkaBasedNets/v00-01 ]  -> [ /afs/desy.de/project/ilcsoft/sw/i386_gcc41_sl5/LCFI_MokkaBasedNets/v00-01 ]
   + [ /cern/2011/root.5.28.00.gcc.4.1.2 ]
   + [ /home/voutsi/ilcsoft/v01-06/cernlib/2006 ]
   + [ /rawcmos7/agerom/java/1.6.0 ]

============================== End of Installation Summary: =================================

****************************** Starting installation ******************************


****************************** Starting ILC Software installation process ******************************


****************************** Creating symlinks ******************************

+ Linking /rawcmos7/agerom/ilcsoft-v01-11-pre03/StandardConfig/v02-02 -> /afs/desy.de/project/ilcsoft/sw/i386_gcc41_sl5/StandardConfig/v02-02
+ Linking /rawcmos7/agerom/ilcsoft-v01-11-pre03/MokkaDBConfig/v02-02 -> /afs/desy.de/project/ilcsoft/sw/i386_gcc41_sl5/MokkaDBConfig/v02-02
+ Linking /rawcmos7/agerom/ilcsoft-v01-11-pre03/LCFI_MokkaBasedNets/v00-01 -> /afs/desy.de/project/ilcsoft/sw/i386_gcc41_sl5/LCFI_MokkaBasedNets/v00-01

****************************** Checking for rebuilds ******************************


****************************** Downloading sources ******************************

********************************************************************************
*** Downloading sources for ILCUTIL version v00-01-pre02...
********************************************************************************

[...snip...]

A    millepede2/tags/V03-03-00/vertpr.F
A    millepede2/tags/V03-03-00/mygmres.F
A    millepede2/tags/V03-03-00/largeint.inc
A    millepede2/tags/V03-03-00/Makefile
A    millepede2/tags/V03-03-00/mptst2.F
Checked out revision 76.
gcc -Wall -fautomatic -fno-backslash -O3 -mcmodel=medium -fopenmp -DREAD_C_FILES -DLARGE_SIZE=8 -c mptest.F -o mptest.o
cc1: error: unrecognized command line option "-fopenmp"
mptest.F:0: error: code model 'medium' not supported in the 32 bit mode
make: *** [mptest.o] Error 1
################################################################################
##### Compiling CMakeModules version v01-10-01...
################################################################################

  ----- adding additional commands to build_env.sh :


****************************** Finished installation ******************************

The next step is to install the MillipedeII :

MillipedeII

As of ilcsoft version v01-11 both the EUDAQ and MillepedeII software are include in the distribution. For this reason one doesn’t need to follow the download and installation steps mentioned at the instruction page, but rather go ahead and install the package using the python scripts.
However as mentioned in the installation steps, the MillepedeII
needs to be installed. Although the python scripts used for the ilcsoft
installation did download the correct version, some modifications concerning the Makefile and the Fortran files need to be implemented. For this reason you need to
change the string ’(KIND=LARGE)’ into ’*4’ in source files (inside the millipede2 directory).
This can be attained by :

cd /path/where/ilcsoftisinstalled/MillipedeII/
ls dynal.F pede.F dynal.inc mpinds.inc | awk '{ print "sed s/\\(KIND\\=LARGE\\)/\\*4/g "$1" > tmp && mv tmp "$1}'|sh -

Since the Makefile that is included in the package is not adequate for the local linux distribution, the second modification involves the change of certain lines. Hence one can use this Makefile. Therefore the compilation of MillipedeII is achieved by simply typing :

$make pede
gcc-3.4 -Wall -fautomatic -fno-backslash -O3  -DREAD_C_FILES -DLARGE_SIZE=4 -c mptest.F -o mptest.o
gcc-3.4 -Wall -fautomatic -fno-backslash -O3  -DREAD_C_FILES -DLARGE_SIZE=4 -c mptst2.F -o mptst2.o

[...snip...]

gcc-3.4 -Wall -O3  -lg2c -lfrtbegin -lz \
                -o pede mptest.o mptst2.o mille.o mpnum.o mptext.o mphistab.o minresblas.o minres.o randoms.o vertpr.o linesrch.o bandmatrix/Dbandmatrix.o pede.o dynal.o readc.o

The binary pede should appear in the same location.

MISCELLANEA

cd $ILCSOFT/Eutelescope/HEAD/
source build_env.sh
cd $EUDAQ/main

and alter in the Makefile
the following two lines, instead of the value "0", the value "1".

USE_LCIO := 1
USE_EUTELESCOPE := 1

A re compilation is needed at this point :

$make clean
$make
*** Creating   TimepixDummyProducer_exe.d
*** Creating   TestRunControl_exe.d
*** Creating   TestReader_exe.d
*** Creating   TestProducer_exe.d

[...snip...]

** Compiling  TestReader_exe.o
  * Linking    ../bin/TestReader.exe
** Compiling  TestRunControl_exe.o
  * Linking    ../bin/TestRunControl.exe
** Compiling  TimepixDummyProducer_exe.o
  * Linking    ../bin/TimepixDummyProducer.exe

Finally, after the successful compilation of MillepedeII, one should perform the following action :

cd $EUTELESCOPE/bin/
ln -sf $ILCSOFT/Eutelescope/HEAD/millepede2/tags/V03-03-00/pede .

Edit the file
$ILCSOFT/Eutelescope/HEAD/pysub/config/config.cfg
so that it contains the path

Pede           = /path/to/install/ilcsoft/Eutelescope/HEAD/bin/pede

Note that a variable is not acceptable since python does not recognize the environmental variables set prior to its execution.

Finally in order to test the EUDAQ code, one can go ahead and download the raw file and proceed by reading the instructions.

ILC SOFTWARE FORUM

Can be accessed at this link.


[1as of February 2011