Skip to content

Commit

Permalink
issue/630/add environment.yml (#632)
Browse files Browse the repository at this point in the history
* add environment.yml

* adding healpy in the list of packages

* adding description in INSTALL.md file

* Update version to 1.13.1

---------

Co-authored-by: m-aguena <[email protected]>
  • Loading branch information
lorenzonggl and m-aguena committed Aug 9, 2024
1 parent e95f0e0 commit e788037
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 1 deletion.
11 changes: 11 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a name="access_to_the_proper_environment_on_cori"></a>

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:
Expand Down
2 changes: 1 addition & 1 deletion clmm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@
)
from . import support

__version__ = "1.13.0"
__version__ = "1.13.1"
20 changes: 20 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e788037

Please sign in to comment.