Skip to content

Interface for multi-core nested sampling of parameter space for mixing angles, masses and phases and their RG evolution.

Notifications You must be signed in to change notification settings

mrnp95/MultiNest-REAP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MultiNest-REAP

Python interface for multi-core nested sampling of parameter space for mixing angles, masses and phases of leptons and quarks, and their RG evolution. Issues or questions should be directed to [email protected].

Installation

First of all please install the following pre-requisities.

Pre-requisities

There are so many pre-requisities which need to work interconnectedly, so the best option is to use a conda environment:

  1. Installing conda environment and activating it:
$ conda create -n multi_reap python=3.7 scipy numpy matplotlib progressbar ipython blas libblas liblapack cmake git fortran-compiler gfortran_linux-64
$ conda activate multi_reap
  1. Install mpich:
$ tar -zxf mpich-X.X.X.tar.gz
$ cd mpich-X.X.X
$ ./configure --enable-shared --prefix=/usr/local/mpich
$ make
$ make install
  1. Install mpi4py:
$ pip install mpi4py 

or you can check this link for more installation options: Click

  1. Install MultiNest:
$ git clone https://github.com/JohannesBuchner/MultiNest
$ cd MultiNest/build
$ cmake ..
$ make
$ export LD_LIBRARY_PATH=/my/directory/MultiNest/lib/:$LD_LIBRARY_PATH
$ export PATH=$PATH:/my/directory/MultiNest/bin/
  1. Install Cuba:
$ git clone https://github.com/JohannesBuchner/cuba/
$ cd cuba
$ ./configure
$ ./makesharedlib.sh
$ export LD_LIBRARY_PATH=/my/directory/cuba/:$LD_LIBRARY_PATH
  1. Install Pymultinest:
$ pip install pymultinest

or you can check this link for more installation options: Click


Now that the required packages are installed, we proceed to installing the MultiNest-REAP:

$ git clone https://github.com/mrnp95/MultiNest-REAP.git
$ cd MultiNest-REAP
$ ssh bash setup.sh

Multi-core running

There is an example script in the examples folder that you can run now. In order to run this example using multiple cores of your machine, do as follows:

$ cd ./examples/
$ mpiexec -n 4 python majorana_neutrinos.py

You can take a look at the ./examples/majorana_neutrinos.py to have a better understanding of what's going on behind the scenes.

About

Interface for multi-core nested sampling of parameter space for mixing angles, masses and phases and their RG evolution.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published