Changes between Version 13 and Version 14 of WhizardInterface


Ignore:
Timestamp:
Mar 23, 2010, 3:09:36 PM (14 years ago)
Author:
Christian Speckner
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WhizardInterface

    v13 v14  
    5252WO 2.0 and above natively support the addition of new models without recompiling WHIZARD. More specifically, WHIZARD looks for any model specific files first in the uses local installation tree {{{${HOME}/.whizard}}} and the in the global installation tree {{{${PREFIX}}}}. Therefore, in order to use an external model with WO2, the O'Mega binaries and FORTRAN libraries must be compiled and installed in the proper directory together with the WHIZARD model definition. To the end, the WO interface creates a standard autotoolized (don't worry if you don't know what this means) {{{./configure; make install}}} type build system in the output directory. To use it, you must perform three steps (in the output directory):
    5353
    54 1) Run
     541) Configuration
    5555
    5656{{{./configure WO_CONFIG=path_to_the_wo_binaries --prefix=installation_prefix}}}
    5757
    58 Both options are optional. {{{WO_CONFIG}}} can be used to specify the path to the WHIZARD binaries (otherwise, they are searched for in {{{${PATH}}}}), And {{{--prefix}}} sets the installation prefix for the model files.
     58Both options are optional. {{{WO_CONFIG}}} can be used to specify the path to the WHIZARD binaries (otherwise, they are searched for in {{{${PATH}}}}), and {{{--prefix}}} sets the installation prefix for the model files ({{{~/.whizard}}} by default).
     59
     602) Compile
     61
     62{{{make clean; make}}}
     63
     64This compiles the O'Mega binary and the FORTRAN libraries. While not strictly necessary, the {{{make clean}}} step is good practice to make sure no leftovers from previous compiles disturb the result.
     65
     663) Install
     67
     68{{{make install}}}
     69
     70Install the model files in the installation prefix.