Skip to content

Instantly share code, notes, and snippets.

@ntessore
Created October 18, 2019 12:56
Show Gist options
  • Save ntessore/c4bad8592ce6f5866a14a878b8d71977 to your computer and use it in GitHub Desktop.
Save ntessore/c4bad8592ce6f5866a14a878b8d71977 to your computer and use it in GitHub Desktop.
Install MultiNest and Lensed
export FC='/opt/local/bin/gfortran-mp-4.8'
set -e
mkdir lensed
pushd lensed
git clone --depth=1 https://github.com/farhanferoz/MultiNest
pushd MultiNest/MultiNest_v3.11_cmake/multinest
mkdir build
pushd build
cmake .. -G"Unix Makefiles"
make
popd
popd
git clone --depth=1 https://github.com/glenco/lensed
pushd lensed
make MULTINEST_DIR=../MultiNest/MultiNest_v3.11_cmake/multinest
popd
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment