Skip to content

Commit 81bdd7b

Browse files
authored
Revise installation steps in howtoOtherSites
1 parent 8f09f3a commit 81bdd7b

1 file changed

Lines changed: 15 additions & 7 deletions

File tree

conda/doc/howtoOtherSites.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,26 @@
44
* Check the default Access Control List (ACL) for the installation directory ie. `getfacl <PathToYourInstallDirectory>`
55
* If group permissions allow write access, consider setting the default ACL group permissions to just rx
66
* `setfacl -d -m"group::rx" <PathToYourInstallDirectory>`
7-
* Run `bash ./install-desc-python.sh <path to installation> <name of yaml file>`
87

9-
Example: `bash ./install-desc-python.sh $SCRATCH/test-install desc-python-env-nersc-install-nobuildinfo.yml`
8+
Run the installation script from the `desc-python` directory
9+
```
10+
cd desc-python
11+
bash ./conda/install-desc-python.sh <path to installation>
12+
```
13+
14+
Example: `bash ./conda/install-from-lock.sh $SCRATCH/test-install`
15+
16+
Set up a symlink named `current` pointing to your new installation
17+
```
18+
cd <PathToYourInstallDirectory>
19+
ln -s <buildDirectory>/py current
20+
```
1021

1122
## Environment Set Up After Installation
1223

13-
To prepare your environment to use the conda environment:
24+
To prepare your environment to use the conda environment, copy the desc-python/jupyter-kernels/setup/setup_current_python.sh` to a convenient location, check the setting of `DESC_INST_DIR` in the script and then do:
1425

1526
```
16-
source <path to installation>/etc/profile.d/conda.sh
17-
conda activate base
27+
source setup_current_python.sh
1828
```
1929

20-
When finished with the conda environment, do: `conda deactivate`
21-

0 commit comments

Comments
 (0)