Skip to content

Commit

Permalink
Merge pull request #12 from BU-Spark/scc-setup-jepstein6.7.2024
Browse files Browse the repository at this point in the history
set up shared conda env on scc
  • Loading branch information
zacharymeurer authored Jun 10, 2024
2 parents b4bf6df + e0564e3 commit 7659c11
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scc-config/.condarc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
envs_dirs:
- /rprojectnb/sparkpit/pit-seasonwatch/
- ~/.conda/envs
pkgs_dirs:
- /rprojectnb/sparkpit/pit-seasonwatch/seasonwatch-ml-pkgs
- ~/.conda/pkgs
env_prompt: ({name})
12 changes: 12 additions & 0 deletions scc-config/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# SCC Conda Environment setup
```
# project directory
cd /restricted/projectnb/sparkpit/pit-seasonwatch/pitne-season-watch
# initialize .condarc
bash scc-config/setup-condarc.sh
# activate seasonwatch-ml conda environment
module load miniconda/23.11.0
conda activate /restricted/projectnb/sparkpit/pit-seasonwatch/seasonwatch-ml
```
3 changes: 3 additions & 0 deletions scc-config/setup-condarc.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
cd "$(dirname "$0")"
cp ./.condarc ~/.condarc

0 comments on commit 7659c11

Please sign in to comment.