Building DD4hep on a linux box with ILCSoft already installed

Ingredients

  1. ILCSoft installation
  2. 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'
  2. cd DD4hep
  3. mkdir build
  4. source /afs/phas.gla.ac.uk/data/ilc/software/ilcsoft/v01-17/init_ilcsoft.sh
  5. cd build/
  6. cmake -DBUILD_TESTING=On ..
  7. make install

Troubleshooting:

  1. better to have a working ILCSoft installation, else, if trying to install from scratch it gets very complicated
  2. Root older than 5.34 gives problems at compilation (mismatching function prototypes)

Testing:

[protopop@ppepc102 build]$ make test
Running tests...
Test project /afs/phas.gla.ac.uk/user/p/protopop/DD4hep/build
    Start 1: t_test_example
1/3 Test #1: t_test_example ...................   Passed    0.23 sec
    Start 2: t_test_units
2/3 Test #2: t_test_units .....................   Passed    0.34 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.04 sec

First example

  1. cd DD4hep
  2. source ./bin/thisdd4hep.sh
  3. cd examples/firstExample
  4. mkdir build; cd build/
  5. cmake -DDD4hep_DIR=../../ ../
  6. make -j
  7. ./bin/Test_execute ../compact/Sensor_Test.xml

You will see something like this:

SensorTest.png

Topic attachments
I Attachment History ActionSorted ascending Size Date Who Comment
PNGpng SensorTest.png r2 r1 manage 168.4 K 2014-05-21 - 10:46 DanProtopopescu firstExample (screen shot)
Edit | Attach | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r6 - 2014-05-21 - DanProtopopescu
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback