Installation of Micromegas_2.0 (MSSM, CPVMSSM, NMSSM, and Generic Models) |
The compressed File micromegas_2.0.7.tgz is about 1.3Mb. DOWNLOAD
micromegas_2.0 was tested for Linux, OSF1, SunOS and Darwin,Cygwin.
First unpack the file, for example tar -zxvf micromegas_2.0.7.tgz
This will create a directory called micromegas_2.0.
I. General Installation
In this directory you should first launch,
gmake
( We use 'gmake' options in our Makefiles. If you do not have 'gmake' use 'make' instead)
This should gererate files with compilers flags
CalcHEP_src/FlagsForMake
CalcHEP_src/FlagsForSh
and compile
CalcHEP_src/bin/s_calchep
sources/micromegas.a
Possible problems are discussed in Section VI below.
II. The MSSM (for a general description of all the features go here)
To work with the MSSM go to the MSSM directory.
To generate the executable use
gmake main=<source file>
where <source file> is either a C or Fortran file, for example omg.F, sugomg.c
The list of functions you can use in your programs is described in
hep-ph/0607059 and hep-ph/0405253
Cygwin users should launch the executable with
../cgwRun <exe with parameters>
III. CPVMSSM and NMSSM
Two other models are provided by the micrOMEGAs team for a seamless integration within micrOMEGAs 2.0:
The CP violating version of the MSSM, CPVMSSM (see here for a description of the model)
and the the NMSSM (see here for a description of the model).
These can be downloaded separately:
download CPVMSSM (this version has at the moment only been tested on Linux, Darwin and Cygwin)
download NMSSM (July 2007)
After download, unpack the file in the micromegas_2.0 directory. This
will create a new directory similar to the MSSM directory. For
additional information read the README file in the
directory of the model.
IV. Other models
To implement a new model, launch
./newProject <project name>
Then directory <project name> will be created with all the
needed subdirectories and sample files. Further
instructions can be found in the local README file.
V. To clean all generated files use
./clean
launched from micromegas_2.0 directory. In each model directory you
can call
gmake clean
to remove all generated files in this particular directory.
VI. Compilers and their Flags
Options for compilation are stored in two files
FlagsForSh and FlagsForMake that should contain identical
settings presented in different formats. These files are located
in the CalcHEP_src directory and initiated by the getFlags
command launched from the same directory.
If FlagsForSh does not exist, getFlags creates it
according to the operation system name returned by the 'uname' Unix
command.
If FlagsForSh exists, getFlags reads all
parameters from this file, checks and modifies them
if it needs, and writes down new FlagsForSh and FlagsForMake. It also
informs you in case of problem.
In case of problem the user can change compiler flags
written in FlagsForSh and launch getFlags again
until it will finish without error code and FagsForMake will be
generated. The meaning of all flags is explained in the FlagsForSh
file.