gibuu is hosted by Hepforge, IPPP Durham
GiBUU

Changes between Version 10 and Version 11 of compiling


Ignore:
Timestamp:
Jul 2, 2012, 4:29:58 PM (12 years ago)
Author:
jweil
Comment:

static linking is default now

Legend:

Unmodified
Added
Removed
Modified
  • compiling

    v10 v11  
    33Compiling GiBUU usually is as easy as typing '''make''' in the GiBUU base directory. However, a couple of options are available for special situations (see also [http://gibuu.physik.uni-giessen.de/Documentation/makefile_robodoc/masterindex.html Makefile Documentation]).
    44
    5 Before compiling, make sure that all [wiki:tools prerequisites] are fulfilled.
     5Before compiling, make sure that all [wiki:tools prerequisites] are fulfilled. Note that the whole compilation process is steared by GNU make.
    66
    7 Note that the whole compilation process is steared by GNU make. GiBUU is always compiled statically, so that we get a monolithic executable which does not depend on system libraries (with the exception of Mac OS X where static linking is not supported).
    87
    98== Choosing a Compiler ==
     
    3837Currently this only works with ifort & gfortran, and produces an executable which is suitable for profiling with gprof.
    3938
     39
    4040== Static vs. Dynamic Linking ==
    4141
    42 The GiBUU executable is usually linked statically, in order to be independent of the libraries present on a particular system (an exception is Mac OS, where static linking is not supported). Recently we added the possibility to switch to dynamic linking (e.g. for the case that static libraries are not available). This can be done via:
     42Up to release 1.4, the GiBUU executable was always linked statically. Starting with 1.5, dynamic linking is the default, but the old behavior can be recovered via:
    4343
    4444{{{
    45 make STATIC=0
     45make STATIC=1
    4646}}}
    4747
    48 Unfortunately this option is not available in the 1.4.x release yet, but will be supported in a future release.
    4948
    5049== Floating Point Exceptions ==
     
    6968This can potentially be up to four times faster than the standard single-threaded make ("-j1"), since four files can be compiled in parallel.
    7069
     70
    7171== Rebuilding from scratch ==
    7272