Skip to content

Commit

Permalink
fixed dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
AnonNick committed Aug 12, 2024
1 parent fbd1a9b commit cfd2e11
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions tiegcmrun/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
numpy
netCDF4
jinja2
xarray
7 changes: 5 additions & 2 deletions tiegcmrun/setEnvironment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,17 @@ if [ -z "$CONDA_ENV" ]; then
if [ "$SYSTEM" == "pleiades" ]; then
export CONDA_PKGS_DIRS=/nobackup/$USER/.conda/pkgs
fi
conda activate "$CONDA_ENVINP"
if [ "$SYSTEM" == "pleiades" ]; then
source activate "$CONDA_ENVINP"
else
conda activate "$CONDA_ENVINP"
fi
pip install -r "${REQUIREMENTSTXT}"
else
if [ "$SYSTEM" == "pleiades" ]; then
source activate "$CONDA_ENVINP"
else
conda activate "$CONDA_ENVINP"

fi
pip install -r "${REQUIREMENTSTXT}"
# INSTALLREQ=FALSE
Expand Down

0 comments on commit cfd2e11

Please sign in to comment.