Browse Source

Update 'README.md'

Pierre-Yves Barriat 6 years ago
parent
commit
8e284425d4
1 changed files with 22 additions and 3 deletions
  1. 22 3
      README.md

+ 22 - 3
README.md

@@ -70,12 +70,27 @@ Finally, run `./utils/install_modulerc.sh`
 
 ## Python2 packages
 
-Fix `/opt/modules/all/GEOS/3.6.1-intel-2018.lua` by adding `setenv("GEOS_DIR", root)`
+Fix `/opt/modules/all/GEOS/3.6.2-foss-2017b-Python-2.7.14.lua` by adding `setenv("GEOS_DIR", root)`
 
 ```bash
-module load NCL PROJ ; pip install geos netcdf4 cdo geoval cartopy iris matplotlib ipython pyproj scikit-image pillow pandas xarray joblib six gdal shapely rasterio geopandas pytest boto3 salem motionless progressbar2 fiona geopandas configobj https://github.com/matplotlib/basemap/archive/v1.1.0.tar.gz; module purge
+module load GDAL/2.2.3-foss-2017b-Python-2.7.14 GEOS/3.6.2-foss-2017b-Python-2.7.14
+pip install --upgrade pip
+
+pip install geos netcdf4 cdo geoval cartopy iris matplotlib ipython pyproj scikit-image pillow pandas xarray joblib six gdal shapely rasterio geopandas pytest boto3 salem motionless progressbar2 fiona geopandas configobj https://github.com/matplotlib/basemap/archive/v1.1.0.tar.gz
+
+module purge
 ```
 
+Fix `/opt/modules/all/Python/2.7.14-foss-2017b.lua` by adding:
+
+> if not isloaded("GDAL/2.2.3-foss-2017b-Python-2.7.14") then
+>    load("GDAL/2.2.3-foss-2017b-Python-2.7.14")
+>end
+>
+>if not isloaded("GEOS/3.6.2-foss-2017b-Python-2.7.14") then
+>    load("GEOS/3.6.2-foss-2017b-Python-2.7.14")
+>end
+
 ## Python3 issue
 
 Check if you have an issue with Python3:
@@ -98,7 +113,11 @@ vimdiff /opt/software/Python/3.6.1-intel-2018/lib/python3.6/hashlib.py utils/has
 Fix `/opt/modules/all/GEOS/3.6.1-intel-2018-Python-3.6.1.lua` by adding `setenv("GEOS_DIR", root)`
 
 ```bash
-module load GDAL/2.2.0-intel-2018-Python-3.6.1 PROJ; pip install geos netcdf4 cdo geoval cartopy matplotlib ipython pyproj scikit-image pillow pandas xarray joblib six gdal shapely rasterio geopandas pytest boto3 salem motionless progressbar2 fiona geopandas configobj https://github.com/matplotlib/basemap/archive/v1.1.0.tar.gz; module purge
+module load GDAL/2.2.0-intel-2018-Python-3.6.1 PROJ
+
+pip install geos netcdf4 cdo geoval cartopy matplotlib ipython pyproj scikit-image pillow pandas xarray joblib six gdal shapely rasterio geopandas pytest boto3 salem motionless progressbar2 fiona geopandas configobj https://github.com/matplotlib/basemap/archive/v1.1.0.tar.gz
+
+module purge
 ```
 
 ## Matlab 2013a