Skip to content

Commit

Permalink
set up shared conda env on scc
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobe90 committed Jun 7, 2024
1 parent 8672a67 commit e0564e3
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 e0564e3

Please sign in to comment.