-
Notifications
You must be signed in to change notification settings - Fork 5
MultiNest installation
Will Handley edited this page Feb 4, 2020
·
13 revisions
NB:
- You need to install gcc, lapack and openblas libraries. On Ubuntu:
sudo apt-get install gfortran liblapacke-dev libblas-dev
You can install MultiNest with the following commands:
git clone https://github.com/farhanferoz/MultiNest MultiNest_repo
cp -r MultiNest_repo/MultiNest_v3.12_CMake/multinest MultiNest
mkdir MultiNest/build
cd MultiNest/build
cmake ..
make
cd ../../
export LD_LIBRARY_PATH=$PWD/MultiNest/lib:${LD_LIBRARY_PATH}
git clone https://github.com/JohannesBuchner/PyMultiNest.git
cd PyMultiNest
python setup.py install --user
cd
python -c 'import pymultinest'
You should also put the equivalent LD_LIBRARY_PATH adjustment into your .bashrc or equivalent