A recipe for building GiBUU with LHAPDF support and other cleanups, plus a configuration wrapper script and LUND converter.
Here's a presentation from a NPWG meeting on GiBUU.
- c++17
- LHAPDF
- ROOT
- python3
- wget
- make
Note, this includes a few automatic patches:
- Symlinking LHAPDF libraries, which will be built with the Makefile above if necessary, to a special directory inside GiBUU.
- Adding a dummy Fortran routine, also for LHAPDF support.
- Increasing character array lengths to support long filesystem paths.
- "Fixing" ROOT version detection (probably broke with recent ROOT versions).
- Write access to
$PWD
$GIBUU
environment variable set to this directory
Required options:
--targ {p,D,He,Li,Be,C,N,Al,Ca,Fe,Cu,Ag,Sn,Xe,Au,Pb}
target nucleus
--ebeam EBEAM beam energy (GeV)
--kt KT kt value (GeV)
See gibuu -h
for full options.
###What it does
- generates a GiBUU configuration file based on command-line options and this template
- runs
GiBUU.x
proper - runs
gibuu2lund
to generate./gibuu.dat