From 57fb92262659460714ae8149ad5465fdcc226659 Mon Sep 17 00:00:00 2001
From: Falco Weichselbaum <f.weichselbaum@fz-juelich.de>
Date: Tue, 26 Oct 2021 18:29:57 +0200
Subject: [PATCH] reduced requirements_JUWELS_additionals to only not available
 (after mlt_modules_juwels are loaded), removed duplicated 'pip install -r'
 and uncommented matplotlib==3.2.0 and pandas==1.0.1 installations

---
 HPC_setup/requirements_JUWELS_additionals.txt | 61 +------------------
 HPC_setup/setup_venv_juwels.sh                |  6 +-
 2 files changed, 5 insertions(+), 62 deletions(-)

diff --git a/HPC_setup/requirements_JUWELS_additionals.txt b/HPC_setup/requirements_JUWELS_additionals.txt
index 193ed6f0..ebfac3cd 100644
--- a/HPC_setup/requirements_JUWELS_additionals.txt
+++ b/HPC_setup/requirements_JUWELS_additionals.txt
@@ -1,70 +1,15 @@
-tensorflow==2.5.0
-numpy==1.19.5
-six==1.15.0
-absl-py==0.11.0
-aiohttp==3.7.4
-appdirs==1.4.4
-astor==0.8.1
 astropy==4.1
-attrs==20.3.0
 bottleneck==1.3.2
 cached-property==1.5.2
-certifi==2020.12.5
-cftime==1.4.1
-cchardet==2.1.7
-coverage==5.4
-cycler==0.10.0
-dask==2.22.0
-dill==0.3.3
-fsspec==0.8.5
-gast==0.4.0
-grpcio==1.34.0
-h5py==3.1.0
-idna==2.10
-importlib-metadata==3.4.0
 iniconfig==1.1.1
-ipython==7.28.0
-kiwisolver==1.3.1
-locket==0.2.1
-Markdown==3.3.3
-matplotlib==3.3.4
-mock==4.0.3
-netCDF4==1.5.5.1
 ordered-set==4.0.2
-packaging==20.9
-pandas==1.1.5
-partd==1.1.0
-patsy==0.5.1
-Pillow==8.1.0
-pluggy==0.13.1
-protobuf==3.15.0
-psutil==5.8.0
-py==1.10.0
-pydot==1.4.2
-pyparsing==2.4.7
 pyshp==2.1.3
-pytest==6.2.2
-pytest-cov==2.11.1
 pytest-html==3.1.1
 pytest-lazy-fixture==0.6.3
 pytest-metadata==1.11.0
 pytest-sugar==0.9.4
-python-dateutil==2.8.1
-pytz==2021.1
-PyYAML==5.4.1
-requests==2.25.1
-scipy==1.5.2
-seaborn==0.11.1
---no-binary shapely Shapely==1.7.0
-statsmodels==0.12.2
 tabulate==0.8.8
-termcolor==1.1.0
-toml==0.10.2
-toolz==0.11.1
-typing-extensions==3.7.4.3
-urllib3==1.26.3
-Werkzeug==1.0.1
 wget==3.2
-xarray==0.16.2
-zipp==3.4.0
-#Cartopy==0.18.0
\ No newline at end of file
+--no-binary shapely Shapely==1.7.0
+
+#Cartopy==0.18.0
diff --git a/HPC_setup/setup_venv_juwels.sh b/HPC_setup/setup_venv_juwels.sh
index 7788c124..b4936e76 100755
--- a/HPC_setup/setup_venv_juwels.sh
+++ b/HPC_setup/setup_venv_juwels.sh
@@ -29,10 +29,8 @@ echo "##### START INSTALLING requirements_JUWELS_additionals.txt #####"
 pip install -r ${cur}/requirements_JUWELS_additionals.txt
 echo "##### FINISH INSTALLING requirements_JUWELS_additionals.txt #####"
 
-pip install -r ${cur}/requirements_JUWELS_additionals.txt
-pip install netcdf4
-pip install --ignore-installed matplotlib==3.2.0
-pip install --ignore-installed pandas==1.0.1
+# pip install --ignore-installed matplotlib==3.2.0
+# pip install --ignore-installed pandas==1.0.1
 pip install -U typing_extensions
 
 # Comment: Maybe we have to export PYTHONPATH a second time ater activating the venv (after job allocation)
-- 
GitLab