-
Notifications
You must be signed in to change notification settings - Fork 2
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
1 parent
2f7cc5b
commit 50a19aa
Showing
2 changed files
with
13 additions
and
9 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 |
---|---|---|
|
@@ -25,6 +25,8 @@ First clone and enter the `augur` repository: | |
```bash | ||
git clone [email protected]:LSSTDESC/augur.git | ||
cd augur | ||
# set the variable AUGUR_DIR to the current directory | ||
AUGUR_DIR=${PWD} | ||
``` | ||
|
||
### Create a new conda environment | ||
|
@@ -43,6 +45,16 @@ conda env update --name my_env --file=environment.yml --prune | |
``` | ||
and activate your environment with `conda activate [my_env/forecasting]`. | ||
|
||
### Cosmosis setup | ||
Now we need to build the cosmosis standard library: | ||
```bash | ||
source ${CONDA_PREFIX}/bin/cosmosis-configure | ||
cd ${CONDA_PREFIX} | ||
cosmosis-build-standard-library | ||
# go back to the augur directory | ||
cd ${AUGUR_DIR} | ||
``` | ||
|
||
### Configure paths necessary for Augur | ||
We need to let augur know about the location of Firecrown, to do that, run the following command: | ||
```bash | ||
|
@@ -58,14 +70,6 @@ conda deactivate | |
conda activate forecasting | ||
``` | ||
|
||
### Cosmosis setup | ||
Now we need to build the cosmosis standard library: | ||
```bash | ||
source ${CONDA_PREFIX}/bin/cosmosis-configure | ||
cd ${CONDA_PREFIX} | ||
cosmosis-build-standard-library | ||
``` | ||
|
||
### Finally install augur | ||
```bash | ||
cd ${AUGUR_DIR} | ||
|
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 |
---|---|---|
|
@@ -10,4 +10,4 @@ dependencies: | |
- numdifftools | ||
- numpydoc | ||
- qp-prob | ||
- tjpcov | ||
- tjpcov |