Installation  of  Micromegas_2.2 (MSSM, CPVMSSM, NMSSM, LHM, RHNM and Generic Models)


The compressed File micromegas_2.2.tgz is about 2.1Mb.   
DOWNLOAD

  micromegas_2.2 was tested for  Linux, OSF1, SunOS and Darwin,Cygwin.

First unpack the file, for example tar -zxvf micromegas_2.2.tgz

This will create a directory called micromegas_2.2.

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.
 
The list of functions you can use in  your programs is described in  arXiv:0803.2360 [hep-ph]
  hep-ph/0607059 and  hep-ph/040525

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 omg.F, sugomg.c

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

Cygwin users should  launch the executable with
    ../cgwRun <exe with parameters>

 
III. CPVMSSM, NMSSM, LHM and RHNM
Four other models are provided by the micrOMEGAs team for a seamless integration within  micrOMEGAs 2.2:
  

  • The CP violating version of the MSSM, CPVMSSM (see here for a description of the model)
  • The NMSSM (see here for a description of the model).
  • The RHNM (see here for a description of the model).
  • The LHM (see here for a description 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.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
    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.