diff --git a/INSTALL.md b/INSTALL.md index 68d1fbd7e..05ca78243 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -64,6 +64,17 @@ Now, you can install CLMM and its dependencies as python setup.py install # build from source ``` +### Local environment for CLMM + +Alternatively, you can create a new local environment by running + +```bash + conda env create -f environment.yml + conda activate clmm +``` + +You can now install CLMM in a local and stable environment with the usual procedure. + ## Access to the proper environment on cori.nersc.gov If you have access to NERSC, this will likely be the easiest to make sure you have the appropriate environment. After logging into cori.nersc.gov, you will need to execute the following. We recommend executing line-by-line to avoid errors: diff --git a/clmm/__init__.py b/clmm/__init__.py index d998efc18..885ed98bb 100644 --- a/clmm/__init__.py +++ b/clmm/__init__.py @@ -26,4 +26,4 @@ ) from . import support -__version__ = "1.13.0" +__version__ = "1.13.1" diff --git a/environment.yml b/environment.yml new file mode 100644 index 000000000..86a876f6b --- /dev/null +++ b/environment.yml @@ -0,0 +1,20 @@ +# CLMM Conda environment +name: clmm +channels: + - conda-forge + - defaults +dependencies: + - python==3.10.2 + - pip>=21.0 + - jupyter>=1.0 + - numpy==1.25.2 + - scipy==1.11.2 + - astropy==5.3.2 + - healpy == 1.16.5 + - matplotlib==3.7.2 + - gsl==2.7 + - cmake==3.30.0 + - pyccl==3.0 + - numcosmo==0.18.2 + - pytest=7.4.0 + - sphinx==7.2.4