Installation of
Micromegas_2.2 (MSSM, CPVMSSM, NMSSM, LHM, RHNM and Generic Models) |
The compressed File micromegas_2.2.CPC.tgz is about 2.1Mb. DOWNLOAD
micromegas_2.2 was tested for Linux, OSF1, SunOS and
Darwin,Cygwin (you need the complete version of Cygwin not the default version).
First unpack the file, for example tar -zxvf micromegas_2.2.CPC.tgz
This will create a directory called micromegas_2.2.CPC.i
I. General Installation
In this directory you should first launch,
gmake
(If you do not have 'gmake' use
'make' instead)
The command gmake should generate files with compilers flags
and compile
CalcHEP_src/bin/s_calchep
sources/micromegas.a
Possible problems are discussed in Section VI below.
Cygwin users should launch the executable with
../cgwRun <exe with parameters>
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
main.c or main.F
To launch the excutable main.c
./main input
Where input is either a set of input parameters
r the name of a data file (for example mssm1.par) according to the option
chosen in main.c. In both cases instructions are given on the screen.
Cygwin users should launch the executable with
../cgwRun <exe with parameters>
The list of functions you can use in your
programs is described in arXiv:0803.2360 [hep-ph]
hep-ph/0607059
and hep-ph/0405253
III. CPVMSSM, NMSSM, LHM and RHNM
Four other models are provided by the micrOMEGAs team for a seamless
integration within micrOMEGAs 2.2:
To generate the executable and launch the
program, move to the appropriate directory and
gmake main=main.c
./main data1.par
(or any other input data file)
IV. Other
models
To implement a new model, launch
./newProject <project name>
Then the 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.2 directory. In each model directory
you
can call
gmake clean
to remove all generated files in this particular directory.
VI. Compilers
and their Flags
The CalcHEP_src/FlagsForMake and CalcHEP_src/FlagsForSh
contain options for compilation and should contain identical settings in
different formats. These files initiated by the getFlags command launched from
the CalcHEP_src 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 FlagsForMake
is generated without any error code. The meaning of all flags is explained in
the FlagsForSh file. For example you might have to change the name of the
Fortran compiler (set by default to g77).