Jupyterhub is a multi-user server to serve Jupyter Notebooks to a large number of users. It is integrated with Mistral's batch scheduling system to allocate computing resources and launch Jupyter Notebooks directly on the HPC system. It therefore also supports the execution of parallel computation.
The preset spawner loads the classical notebook mode. To switch it to the jupyterlab mode we simply need to go the URL and add /lab
before /tree
:
classical notebook: https://jupyterhub.dkrz.de/user/k204229/preset/tree/home/dkrz/k204229? jupyterlab: https://jupyterhub.dkrz.de/user/k204229/preset/lab/tree/home/dkrz/k204229?
Once the session is open, we can navigate through our folder structure via web or also via virtual terminal. It allows us to choose among multiple python preset kernels, one R kernel and one Julia kernel as well, but we also have the choice to load our own environment. Naturally we can open and run our jupyter notebook files here.
We can use Jupyterhub as a simple text editor as well, but we could also connect some local IDE (e.g. VS Code) remotely with some kernel in DKRZ.
There are a few points you should be aware of when working with Jupyter Notebooks on the jupyterhub server: