Skip to content

Commit 7659c11

Browse files
Merge pull request #12 from BU-Spark/scc-setup-jepstein6.7.2024
set up shared conda env on scc
2 parents b4bf6df + e0564e3 commit 7659c11

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

scc-config/.condarc

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
envs_dirs:
2+
- /rprojectnb/sparkpit/pit-seasonwatch/
3+
- ~/.conda/envs
4+
pkgs_dirs:
5+
- /rprojectnb/sparkpit/pit-seasonwatch/seasonwatch-ml-pkgs
6+
- ~/.conda/pkgs
7+
env_prompt: ({name})

scc-config/README.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# SCC Conda Environment setup
2+
```
3+
# project directory
4+
cd /restricted/projectnb/sparkpit/pit-seasonwatch/pitne-season-watch
5+
6+
# initialize .condarc
7+
bash scc-config/setup-condarc.sh
8+
9+
# activate seasonwatch-ml conda environment
10+
module load miniconda/23.11.0
11+
conda activate /restricted/projectnb/sparkpit/pit-seasonwatch/seasonwatch-ml
12+
```

scc-config/setup-condarc.sh

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
cd "$(dirname "$0")"
3+
cp ./.condarc ~/.condarc

0 commit comments

Comments
 (0)