Skip to content

Installation

Pearl Sandick edited this page Oct 7, 2019 · 5 revisions

Make Instructions

If Boost libraries are not already installed, start here.

Note: you must edit line 5 of the MADHAT Makefile so that it specifies the correct path and version for your Boost installation, eg.

BOOST = [Path to Boost]/boost_1_70_0

To make the MADHAT executable, run the command make in the main MADHAT directory.

To remove old files, run the command make clean in the main MADHAT directory.

Verifying Your Installation

The input

./madhat Set1.dat 0.95 dmtest.in

should produce an output file Output/dmtest_Set1_0.9500.out that contains the following output:

#Mass(GeV)   Spectrum       Beta      Nbound        PhiPP(cm^3 s^-1 GeV^-2)   +dPhiPP             -dPhiPP            sigv(cm^3 s^-1)        +dsigv             -dsigv
10.0000      0.8734       0.9501     414.5011      3.728e-30            6.75934e-30        2.56887e-30        1.07276e-26        1.94505e-26        7.39213e-27
50.0000      7.7765       0.9500     414.5011      3.728e-30            6.75934e-30        2.56887e-30        3.01212e-26        5.46135e-26        2.07557e-26
100.0000     13.6097      0.9500     414.5011      3.728e-30            6.75934e-30        2.56887e-30        6.88443e-26        1.24823e-25        4.74388e-26
500.0000     33.7307      0.9500     414.5011      3.728e-30            6.75934e-30        2.56887e-30        6.94434e-25        1.2591e-24        4.78517e-25

Clone this wiki locally