Skip to content

Commit 13bf3fd

Browse files
authored
Update environment setup instructions in documentation
Clarified instructions for setting environment variables and sourcing the setup script.
1 parent 86ebbda commit 13bf3fd

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

doc/Installing-Your-Own-Env.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,16 @@ And that's it!
4848
4949
#### To use your my-desc-python environment
5050
51-
Create two environment variables. `DESCUSERENV_DIR` should point to your conda installation's directory that contains `bin` and `DESCUSERENV_NAME` should be the name of your conda environment.
51+
Create two environment variables and add them to your NERSC `$HOME/.bashrc`.
52+
53+
`DESCUSERENV_DIR` should point to your conda installation's directory that contains `bin` and `DESCUSERENV_NAME` should be the name of your conda environment.
5254

5355
```bash
5456
export DESCUSERENV_DIR=$curBuildDir/py
5557
export DESCUSERENV_NAME=my-desc-python
5658
```
5759

58-
Now you can source setup_current_python.sh as usual, and your installation will be initialized
60+
Now you can source setup_current_python.sh as usual, and your installation will be initialized. Similarly when using the `desc-python` kernel in NERSC's jupyter, you will be using your own copy of the environment.
5961
6062
```bash
6163
source /global/comon/software/lsst/common/miniconda/setup_current_python.sh

0 commit comments

Comments
 (0)