How to run ZEN-garden on the EULER cluster #169
Replies: 2 comments 1 reply
-
https://scicomp.ethz.ch/wiki/How_to_access_the_cluster_with_MobaXterm |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
+++ THIS IS OUTDATED, PLEASE FOLLOW DISCUSSION #186 +++
Prerequisites:
Installation:
git clone https://github.com/RRE-ETH/ZEN-garden.git
.$ module load gcc/6.3.0 python/3.8.5
$ python -m venv --system-site-packages zen-garden
$ source zen-garden/bin/activate
For deactivation:
$ deactivate zen-garden
pip list --format=freeze > requirements.txt
.pip install -r requirements.txt
(this is the basic workaround for not using conda on the cluster, which is recommended not to use.) Find the requirements.txt here: requirements.txt$ pip install ecmwflibs
$ pip install eccodes==1.3.1
$ pip install cfgrib
pip install gurobipy==9.5.1
module load gurobi/9.5.1
$ cd ZEN-garden
git chekout <your_branch>
$ bsub -n 42 -R "span[hosts=1]" -R "model==EPYC_7H12" -R "rusage[mem=3200]" -W "24:00" python compile.py
requirements.txt
with slurm:
$ sbatch -n 42 --ntasks-per-node=1 --constraint=EPYC_7H12 --mem-per-cpu=3200 -t 02:00 --wrap="python -m zen_garden --dataset <dataset name>"
LSF to Slurm
If you are done, don't forget to exit mobaxterm regularly:
$ deactivate
(the zen-garden environment)$ exit
Before the next start, always load the python and gurobi modules first:
$ module load gcc/6.3.0 python/3.8.5
$ module load gurobi/9.5.1
Use the cluster, leverage performance.▶️ 🦖
🥚
Beta Was this translation helpful? Give feedback.
All reactions