Changes between Version 13 and Version 14 of WhizardInterface
- Timestamp:
- Mar 23, 2010, 3:09:36 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WhizardInterface
v13 v14 52 52 WO 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): 53 53 54 1) Run54 1) Configuration 55 55 56 56 {{{./configure WO_CONFIG=path_to_the_wo_binaries --prefix=installation_prefix}}} 57 57 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. 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 ({{{~/.whizard}}} by default). 59 60 2) Compile 61 62 {{{make clean; make}}} 63 64 This 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 66 3) Install 67 68 {{{make install}}} 69 70 Install the model files in the installation prefix.