---+ Building DD4hep on a linux box with ILCSoft already installed The Glasgow DD4hep installation is located in =/afs/phas.gla.ac.uk/data/ilc/software/DD4hep=. This wiki describes how this software package was built. %TOC% ---++ Ingredients 1. ILCSoft installation 1. DD4hep ---++ Installation Steps On top a a working ILCSoft installation, say v01-17: 1. get DD4hep with 'svn co !https://svnsrv.desy.de/public/aidasoft/DD4hep/trunk DD4hep' 1. cd DD4hep 1. mkdir build 1. source /afs/phas.gla.ac.uk/data/ilc/software/ilcsoft/v01-17/init_ilcsoft.sh 1. cd build/ 1. cmake -DBUILD_TESTING=On .. 1. make install *Troubleshooting*: 1. better to have a working ILCSoft installation, else, if trying to install from scratch it gets very complicated 1. Root older than 5.34 gives problems at compilation (mismatching function prototypes) *Testing*: <verbatim> [protopop@ppepc102 build]$ make test Running tests... Test project /afs/phas.gla.ac.uk/user/p/protopop/ilc_soft/DD4hep/build Start 1: t_test_example 1/3 Test #1: t_test_example ................... Passed 0.52 sec Start 2: t_test_units 2/3 Test #2: t_test_units ..................... Passed 0.50 sec Start 3: t_test_surface 3/3 Test #3: t_test_surface ................... Passed 0.36 sec 100% tests passed, 0 tests failed out of 3 Total Test time (real) = 1.73 sec </verbatim> ---++ First example 1. cd DD4hep 1. (source /afs/phas.gla.ac.uk/data/ilc/software/ilcsoft/v01-17/init_ilcsoft.sh) 1. source ./bin/thisdd4hep.sh 1. cd examples/firstExample 1. mkdir build; cd build/ 1. cmake -DDD4hep_DIR=../../ ../ 1. make -j 1. ./bin/Test_execute ../compact/Sensor_Test.xml You will see something like this: <img src="%PUBURLPATH%/%WEB%/%TOPIC%/SensorTest.png" alt="SensorTest.png" width="700" height="556" />
Attachments
Attachments
Topic attachments
I
Attachment
History
Action
Size
Date
Who
Comment
png
SensorTest.png
r2
r1
manage
168.4 K
2014-05-21 - 10:46
DanProtopopescu
firstExample (screen shot)
This topic: LinearCollider
>
WebHome
>
GlaDD4hep
>
LinuxDD4hep
Topic revision: r7 - 2014-06-03 - DanProtopopescu
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback