File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ running on the cluster.
1818
1919 ``` bash
2020 # for creating a personal environment
21- source scripts/stability-cluster/env_creation.sh ${USER}
21+ source scripts/stability-cluster/env_creation.sh jack/ jack/
2222
2323 # for creating an specific experiment environment
24- source scripts/stability-cluster/env_creation.sh experiments/my-experiment
24+ source scripts/stability-cluster/env_creation.sh experiments/my-experiment jack/
2525 ```
Original file line number Diff line number Diff line change 11#! /bin/bash
2+ # ## This script creates a conda environment for chemnlp
3+ # ## The first arg ($1) is the prefix directory where the environment is saved
4+ # ## The second arg ($2) is the directory to use when building the environment
5+
26# # Must already have miniconda installed!
37export CONDA_ENV_PATH=/fsx/proj-chemnlp/$1 /conda/env/chemnlp-standard
48export PYTHON_VER=3.8
@@ -13,7 +17,7 @@ conda activate ${CONDA_ENV_PATH}
1317
1418# Python requirements
1519# # cd into your directory inside of proj-chemnlp
16- cd /fsx/proj-chemnlp/${USER}
20+ cd /fsx/proj-chemnlp/$2
1721
1822# # clone + submodules (ok if exists)
1923[ ! -d ' chemnlp' ] && git clone --recurse-submodules --remote-submodules git@github.com:OpenBioML/chemnlp.git
You can’t perform that action at this time.
0 commit comments