Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue/630/add environment.yml #632

Merged
merged 6 commits into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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