gibuu is hosted by Hepforge, IPPP Durham
GiBUU

Changes between Initial Version and Version 1 of libRootTuple


Ignore:
Timestamp:
Nov 20, 2018, 8:57:43 PM (6 years ago)
Author:
gallmei
Comment:

generate the page about how to install the lib

Legend:

Unmodified
Added
Removed
Modified
  • libRootTuple

    v1 v1  
     1= library !RootTuple =
     2
     3Starting with release 2018, the code is able to produce particle vector output as a ROOT file.
     4Here we rely on the library [https://roottuple.hepforge.org/ RootTuple], which is a rudimentary Fortran interface to some existing [https://root.cern.ch/ ROOT] installation.
     5
     6Unfortunately, the default installation process of '!RootTuple' produces only a 'shared' library (*.so) , which is not usable with GiBUU; here we need a 'static' library (*.a). Therefore some rework is done and the total installation process reads:
     7
     81) Download the source from https://roottuple.hepforge.org/
     9
     102) Modify the file `RootTuple-master/src/CMakeLists.txt` by changing one line
     11{{{
     12add_library (RootTuple SHARED ${RootTuple_SOURCES})
     13}}}
     14to
     15{{{
     16add_library (RootTuple STATIC ${RootTuple_SOURCES})
     17}}}
     18
     193) follow the usual given build procedure of '!RootTuple'
     20  ...here internals to your ROOT installation may enter...
     21
     224) make the library accessible for GiBUU, e.g.:
     23{{{
     24cp RootTuple-master/build/src/libRootTuple.a ~/GiBUU/workingCode/objects/LIB/lib/libRootTuple.100.a
     25}}}
     26  (Here the '...100...' indicates the version number, which is fixed to be 1.0.0; please do not change!)
     27
     28After this, a new rebuild of GiBUU should detect the library and automatically enable 'ROOT' as a possible output format.