-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Michel Aguena
committed
Nov 21, 2024
1 parent
b774873
commit 38cc55e
Showing
2 changed files
with
44 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,31 @@ | ||
|
||
# Installation instructions | ||
|
||
* [Main readme](README.md) | ||
We strongly recommend you make a new conda environment for the installation of CLMM so you can avoid conflicts with versions of | ||
libraries used for other programs. | ||
Here we present several ways to do it. | ||
|
||
## Table of contents | ||
1. [Basic installation](#basic_install) | ||
2. [Access to the proper environment on cori.nersc.gov](#access_to_the_proper_environment_on_cori) | ||
3. [An alternative installation at NERSC or at CC-IN2P3 for DESC members](#from_desc_conda_env) | ||
4. [Making a local copy of CLMM](#making_a_local_copy_of_clmm) | ||
2. [Manual installation](#manual_install) | ||
3. [Access to the proper environment on cori.nersc.gov](#access_to_the_proper_environment_on_cori) | ||
4. [An alternative installation at NERSC or at CC-IN2P3 for DESC members](#from_desc_conda_env) | ||
5. [Making a local copy of CLMM](#making_a_local_copy_of_clmm) | ||
|
||
|
||
## Basic procedure <a name="basic_install"></a> | ||
|
||
Here we provide a quick guide for a basic instalation, this will install all the packages in your current environment. | ||
These commands will create a new local environment ready for CLMM installation: | ||
|
||
```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. | ||
|
||
## Manual procedure <a name="basic_install"></a> | ||
|
||
Here we provide a quick guide for a maual instalation, this will install all the packages in your current environment. | ||
To create a specific conda environment for CLMM, we recommend you to check the begining of section | ||
[Access to the proper environment on cori.nersc.gov](#access_to_the_proper_environment_on_cori). | ||
|
||
|
@@ -65,17 +78,6 @@ 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: | ||
|
@@ -154,5 +156,3 @@ If you do have edit privileges to CLMM, it may be easier to simply clone the bas | |
``` bash | ||
git clone [email protected]:LSSTDESC/CLMM.git | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters