TWiki
>
LinearCollider Web
>
GlaDD4hep
>
LinuxDD4hep
(2014-11-11,
DanProtopopescu
)
(raw view)
E
dit
A
ttach
---+ 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) 1. for the last compilation, had to edit =CMakeLists.txt= and insert an =add_subdirectory(DDG4)= on line 156, and then change in =DDG4/include/DDG4/IoStreams.h= two things: =boost/iostreams/detail/path.hpp= to =boost/filesystem/path.hpp= and =boost::iostreams::detail::path= to =boost::filesystem::path=. *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)
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r8
<
r7
<
r6
<
r5
<
r4
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r8 - 2014-11-11
-
DanProtopopescu
LinearCollider
Log In
or
Register
LinearCollider Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
Webs
ATLAS
PUUKA
DetDev
Gridmon
IT
LHCb
LinearCollider
Main
NA62
Sandbox
TWiki
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