gibuu is hosted by Hepforge, IPPP Durham
GiBUU

Changes between Initial Version and Version 1 of LHAPDF


Ignore:
Timestamp:
Jul 5, 2016, 10:06:47 PM (8 years ago)
Author:
gallmei
Comment:

Creating a page describing issues connected with LHAPDF

Legend:

Unmodified
Added
Removed
Modified
  • LHAPDF

    v1 v1  
     1= LHAPDF =
     2
     3GiBUU has the option to be linked against [http://lhapdf.hepforge.org/lhapdf5/ libLHAPDF v5]. '''Please note: the newer version 6 is not supported! '''
     4This may be a useful option in connection with initialization using PYTHIA.
     5
     6You can enforce this by initiating the compilation by the command `make PDF=LHAPDF ...`.
     7
     8In order to do so, you have to place a copy of 'libLHAPDF.a' in the directory 'objects/LIB/lib/', e.g. `cp /usr/lib/x86_64-linux-gnu/libLHAPDF.a objects/LIB/lib/`.
     9
     10If you are encountering error messages like '''''...relocation truncated to fit: R_X86_64_PC32...''''', you have to recompile the library for a large memory model.
     11A succsessful approach may be:
     12{{{
     13    cd ./lhapdf-5.9.1
     14    export CXXFLAGS="-mcmodel=large"
     15    export FCFLAGS="-mcmodel=large"
     16    ./configure --disable-pyext --disable-octave --prefix=$HOME/TMP
     17    make
     18    make install
     19}}}
     20
     21The option '-mcmodel=large' is implemented in the default GiBUU Makefile.