Getting Started

here’s how to get started

Installations

For the time being you should clone the BEAT repository from our Github page.

git clone https://github.com/dzhuliya/keeping-the-BEAT.git

You will also need to have MultiNest/PyMultiNest installed on your machine. If you do not have MultiNest installed, follow the instructions found here under “on your own computer”. If you are on MacOS, we recommend following the instructions found here.

If you run into issues installing PyMultiNest with pip install, try:

conda install -c conda-forge pymultinest

In our experience, the following instructions worked on a Mac:

  1. Install both Xcode and the Xcode Command Line Tools

  2. Install Macports
    • Set up Macports to sync via git instead of rsync

    • Use the Astrobetter website guide to install gcc5, cmake and openmpi. If you have issues with installing openmpi via sudo port install openmpi, then try installing with brew.

    • Set correct version of gcc and mpi within Macports. Refer to this website if you have trouble: https://stackoverflow.com/questions/8361002/how-to-use-the-gcc-installed-in-macports Note: Make certain the the PATH of the user is set such that the Macports version of gfortran is seen as the default gfortran compiler. Other gfortran compilers will fail.

  3. Install anaconda and astroconda. Activate the astroconda environment.

  4. Use pip to install mpi4py

  5. Download Multinest

git clone https://github.com/JohannesBuchner/MultiNest.git
cd MultiNest/build/
cmake ..
make
sudo make install
  1. Download PyMultiNest

git clone https://github.com/JohannesBuchner/PyMultiNest.git
cd PyMultiNest
python setup.py install
  1. You can test your installation following the instructions also listed on Astrobetter

How to get started

A jupyter notebook is provided to run through an example fit using files included when you clone the repository. You can now open the jupyter notebook and follow the instructions in the notebook. (additional documentation will be added to this page later).