Skip to content

Installation

João Faria edited this page Jun 6, 2018 · 16 revisions

kima's core is written in C++ and needs to be compiled.

You will need to install a fairly recent version of the gcc compiler (at least GCC 4.8.1, see here). You can check the gcc version by typing gcc --version.

To analyse the results, kima ships with a helper Python package, pykima.
This package depends on some (fairly standard) Python packages:

  • numpy
  • scipy
  • matplotlib
  • and corner.

download

To get the latest version of the code run

git clone --recursive https://github.com/j-faria/kima.git

which will also download the required submodules DNest4 and Eigen.

install

Change to the kima directory just created and type

make
python setup.py install

This will compile the C++ code together with the examples and install the pykima package.

Note: you may choose to analyse the results without pykima. The inputs and outputs of kima itself are text files.

If everything went as planned, move on to the getting started guide.
If not, take a look at troubleshooting.