Skip to content

Commit

Permalink
update euler guide (CLIMADA-project#880)
Browse files Browse the repository at this point in the history
  • Loading branch information
emanuel-schmid authored and gdeskos committed Jun 30, 2024
1 parent b2b0872 commit c0e6526
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions doc/guide/Guide_Euler.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"Use the new software stack. Unless you have already done so, run `set_software_stack.sh new`.\n",
"\n",
"```bash\n",
"module load gcc/8.2.0 python/3.10.4 hdf5/1.10.1 gdal/3.4.3 geos/3.9.1 proj/8.2.1 libspatialindex/1.9.3 netcdf/4.6.3 eccodes/2.31.0 zlib/1.2.9 libtiff/4.2.0 sqlite/3.35.5\n",
"module load gcc/8.2.0 python/3.11.2 hdf5/1.10.1 gdal/3.4.3 geos/3.9.1 proj/8.2.1 libspatialindex/1.9.3 netcdf/4.6.3 eccodes/2.31.0 zlib/1.2.9 libtiff/4.2.0 sqlite/3.35.5\n",
"```\n",
"\n",
"You need to execute this every time you login to Euler before Climada can be used. \n",
Expand Down Expand Up @@ -414,7 +414,7 @@
"\n",
"```\n",
"module purge\n",
"module load StdEnv gcc/8.2.0 python_gpu/3.10.4 eth_proxy r/4.2.2 julia/1.8.5 hdf5/1.10.1 gdal/3.4.3 geos/3.9.1 proj/8.2.1 libspatialindex/1.9.3 netcdf/4.6.3 eccodes/2.31.0 zlib/1.2.9 libtiff/4.2.0 sqlite/3.35.5\n",
"module load StdEnv gcc/8.2.0 python_gpu/3.11.2 eth_proxy hdf5/1.10.1 gdal/3.4.3 geos/3.9.1 proj/8.2.1 libspatialindex/1.9.3 netcdf/4.6.3 eccodes/2.31.0 zlib/1.2.9 libtiff/4.2.0 sqlite/3.35.5\n",
"```\n",
"\n",
"Then login to https://jupyter.euler.hpc.ethz.ch/ and start a JupyterLab server."
Expand Down Expand Up @@ -451,12 +451,19 @@
"- Make sure your python environment is activated.\n",
"- Run `pip install --upgrade MISSING_MODULE`.\n",
"\n",
"### 2. Upgrading from Python 3.9 to 3.10\n",
"### 2. Upgrading from Python 3.9 or 3.10\n",
"\n",
"Virtual environments created with Python 3.9 are i.g. not working for Python 3.10.\n",
"Virtual environments created are i.g. only working for the Python version they were created with.\n",
"In particular Python kernels from 3.9 environments will fail to connect in a Jupyter notebook on https://jupyter.euler.hpc.ethz.ch/.\n",
"\n",
"- It's suggested to create new environments and remove the old kernels from `~/.local/share/jupyter/kernels/`."
"- It's suggested to create new environments and remove the old kernels from `~/.local/share/jupyter/kernels/`.\n",
"\n",
"### 3. Incompatible GEOS version\n",
"\n",
"If you get a warning `UserWarning: The Shapely GEOS version (3.9.1-CAPI-1.14.2) is incompatible with the GEOS version PyGEOS was compiled with (3.9.1-CAPI-1.14.2). Conversions between both will be slow.` or similar (version numbers may vary), updating geopandas can help:\n",
"\n",
"- Create and activate a virtual environment with `venv` (s.a.)\n",
"- Run `pip install --upgrade geopandas`"
]
}
],
Expand Down

0 comments on commit c0e6526

Please sign in to comment.