Previous Up Next
A Installing O'Mega
A.1 Sources
O'Mega is Free Software and the sources can be obtained from http://theorie.physik.uni-wuerzburg.de/~ohl/omega/sources/.

The command
ohl@thopad:~mc$ zcat omega-yyyy-mm-dd-hhmm.tar.gz | tar xf -
will unpack the sources to the directory omega. The subdirectories of omega are
bin
contains executable instances of O'Mega: f90_SM.bin (f90_SM.opt if the sytem is supported by O'Caml's native code compiler), f90_QED.bin, etc.
doc
contains LATEX sources of user documentation.
examples
contains currently no supported examples.
lib
contains library support for targets (Fortran90/95 modules, etc.).
src
contains the unabridged and uncensored sources of O'Mega, including comments.
tests
contains a battery of regression tests. Most tests require Madgraph [8].
web
contains the `woven' sources, i. e. a pretty printed version of the source including LATEX documentation. Weaving the sources requires programs, ocamlweb and noweb. A complete PostScript file is available from the same place as the O'Mega sources. (It is not required for the end user to read this.)
A.2 Prerequisites
A.2.1 Objective Caml (a. k. a. O'Caml)
You need version 3.01 or higher4. You can get it from http://pauillac.inria.fr/ocaml/. There are precompiled binaries for some popular systems and complete sources. Building from source is straightforward (just follow the instructions in the file INSTALL in the toplevel directory, the defaults are almost always sufficient) and takes O(10) minutes on a modern desktop system. If available for your system (cf. the file README in the toplevel directory), you should build the native code compiler.
A.2.2 GNU make
This should be available for any system of practical importance and it makes no sense to waste physicist's time on supporting all incompatible flavors of make in existence. GNU make is the default on Linux systems and is often available as gmake on commercial Unices.
A.2.3 Fortran90/95 Compiler
Not required for compiling or running O'Mega, but Fortran90/95 is currently the only fully supported target.

O'Mega is known to be compiled correctly with recent versions of the Intel Fortran compiler (at least version 7.0, earlier versions do not work), the Lahey/Fujitsu Fortran95 compiler and the NAG Fortran95 compiler. The Intel compiler is available free of charge for non-commercial purposes. [NB: Support for the `F' Fortran90/95 subset compiler by Imagine1 and NAG has been dropped.]

A.3 Configuration
Before the next step, O'Caml must have been installed. Configuration is performed automatically by testing some system features with the command
$ ./configure
See
$ ./configure --help
for additional options. NB: The use of the options --enable-gui and --enable-unsupported is strongly discouraged. The resulting programs require additional prerequisites and even if you can get them to compile, the results are unpredictable and we will not answer any questions about them. NB: configure keeps it's state in config.cache. If you want to reconfigure after adding new libraries to your system, you should remove config.cache before running configure.
A.4 Compilation
The command
$ make bin
will build the byte code executables. For each pairing of physics model and target language, there will be one executable.
$ make opt
will build the native code executables if the sytem is supported by O'Caml's native code compiler and it is installed. The command
$ make f95
will build the Fortran90/95 library and requires, obviously, a Fortran90/95 compiler.
Previous Up Next