Skip to content

Latest commit

 

History

History
38 lines (31 loc) · 2.05 KB

setup_levante.md

File metadata and controls

38 lines (31 loc) · 2.05 KB

setup for levante.dkrz.de

For mistral.dkrz.de follow the same guide.

On levante clone the github repository:

git clone https://github.com/observingClouds/xbitinfo.git
cd xbitinfo

Create a new conda environment and register the python kernel:

module load python3
mamba env create -f environment.yml  # use conda on mistral
source activate bitinfo
python -m ipykernel install --user --name bitinfo --display-name=bitinfo

Create ~/jupyter_preload on the supercomputer:

source activate bitinfo

Get jupyter with start-jupyter script from DKRZ on your laptop:

wget https://gitlab.dkrz.de/k204213/ssh_scripts/-/raw/master/start-jupyter

Personalize the following lines:

  • L59: SJ_ACCTCODE=mh0727 with your account number
  • L65: SJ_USERNAME=m300524 with your username
  • L70: SJ_COMMAND=lab for using jupyter notebook or jupyter lab
  • L90: SJ_INCFILE="jupyter_preload"
  • L96: SJ_FRONTEND_HOST="levante.dkrz.de" (keep as is for mistral)

Now start-jupyter (overwriting script options is possible in the command line, see available options): sh start-jupyter