Difference: LinuxDD4hep (5 vs. 6)

Revision 62014-05-21 - DanProtopopescu

Line: 1 to 1
 
META TOPICPARENT name="GlaDD4hep"

Building DD4hep on a linux box with ILCSoft already installed

Line: 11 to 11
 

Installation Steps

Changed:
<
<
On top a a working ILCSoft installation, say v01-14:
>
>
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
Deleted:
<
<
  1. (comment out unnecessary packages in CMakeLists.txt)
 
  1. mkdir build
Changed:
<
<
  1. source /afs/phas.gla.ac.uk/data/ilc/software/ilcsoft/v01-14/init_ilcsoft.sh
>
>
  1. source /afs/phas.gla.ac.uk/data/ilc/software/ilcsoft/v01-17/init_ilcsoft.sh
 
  1. cd build/
Changed:
<
<
  1. cmake ..
  2. make -j install
>
>
  1. cmake -DBUILD_TESTING=On ..
  2. make install
 
Changed:
<
<

First test

>
>
Troubleshooting:
 
Changed:
<
<
  1. source /afs/phas.gla.ac.uk/data/ilc/software/ilcsoft/v01-14/init_ilcsoft.sh
  2. cd examples/firstexample
  3. mkdir build
  4. source bin/thisdd4hep.sh
>
>
  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/
 
  1. cmake -DDD4hep_DIR=../../ ../
  2. make -j
  3. ./bin/Test_execute ../compact/Sensor_Test.xml
\ No newline at end of file
Added:
>
>
You will see something like this:

SensorTest.png

META FILEATTACHMENT attachment="SensorTest.png" attr="" comment="firstExample (screen shot)" date="1400669217" name="SensorTest.png" path="SensorTest.png" size="172416" user="DanProtopopescu" version="2"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 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