Skip to content

Instructions to install CLIMADA on ETH clusters outdated #1309

Description

@luseverin

I realized that the informations to install CLIMADA on Euler in the developer guide (https://climada-python.readthedocs.io/en/latest/development/Guide_Euler.html) are no longer up-to-date. I have followed the instructions from https://gitlab.ethz.ch/climada/climada-on-euler, (posted on slack) and it worked. I have gathered a few issues I encountered during the install + added some notes below. @carmensteinmann I think you also had some issues with CLIMADA on Euler recently, so in case you have other tips or issues that you want to share feel free to add them here. @emanuel-schmid would you like me to update the developer's guide with this new set of instructions or is this still work in progress?

Install CLIMADA for a specific branch

  1. Follow instructions to install climada 6.1 (https://gitlab.ethz.ch/climada/climada-on-euler)
  2. Checkout target climada or climada_petals branch
  3. Activate virtual environment using source ./use-climada.sh [ENVDIR] [VERSION]
  4. pip install -e path/to/climada_python/or/climada_petals

Compatibility

Use CLIMADA in a jupyter notebook

  • The set-up of the jupyter server was failing due to some missing R command (/cluster/software/others/services/jupyterhub/scripts/jupyterlab.sh: line 21: R: command not found) but adding r/4.3.2 \ to the scripts/load-climada-modules.sh fixed the issue:
#!/bin/bash

module purge
module load \
  gcc/12.2.0 \
  stack/2024-06 \
  python/3.11.6 \
  hdf5/1.14.3 \
  geos/3.9.1 \
  sqlite/3.43.2 \
  eccodes/2.25.0 \
  gdal/3.6.3 \
  r/4.3.2 \
  eth_proxy

@emanuel-schmid is there a reason why this was not there in the first place and will this cause issues?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions