-
configure conda to use conda-forge
Add the following to your ${HOME}/.condarc
channel_priority: strict channels: - conda-forge - defaults
-
make a conda env
$ conda create -n cosmolike python=2.7 fftw gsl c-compiler binutils make numpy scipy ipython matplotlib
Once it is done, activate it.
-
download the repos
You will need to use my fork of LSSTawakens. It has bug fixes and a correct Makefile for the conda env.
-
compile the code
From within the LSSTawakens repo type
$ make cosmolike
-
run something
$ ./like_fourier Y10 shear_shear fid
Last active
March 20, 2019 05:47
-
-
Save beckermr/97f1c13cf35476d59ff363e913328c0f to your computer and use it in GitHub Desktop.
simple steps to compile cosmolike in a conda env
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment