Both sides previous revision Previous revision Next revision | Previous revision |
connec2jupyterhub [2021/04/13 11:49] – etorma | connec2jupyterhub [2023/09/28 14:06] (current) – etorma |
---|
* To access it you only need to go to it's login page [[https://jupyterhub.dkrz.de/hub/login]] and enter DKRZ's username and password. | * To access it you only need to go to it's login page [[https://jupyterhub.dkrz.de/hub/login]] and enter DKRZ's username and password. |
| |
* Once there we have two Spawner options to start a session: //preset// and //advanced//. | * Once there we have two Spawner options to start a session within **Levante**: //preset// and //advanced//. |
| |
* If we choose the **//preset//** the info that we will fill is the following one: | * If we choose the **//preset//** the info that we will fill is the following one: |
* job profile: //miklip// | * job profile: //5 GB Interactive 12hr (e.g.)// |
* account: //bmx825// | * account: //bm1159// |
* Reservation: //ClimXtreme// (**NOTE: only at the day of the workshop**, 2021.04.15, otherwise empty) | * Reservation: //empty// |
* Quality of Service (QoS): //empty// | * Quality of Service (QoS): //empty// |
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'': | 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'': |
{{ :climxtreme:jupyter-preset.gif?nolink |}} \\ | {{ :climxtreme:jupyter-preset.gif?nolink |}} \\ |
| |
* The **//advanced//** session is especially for advanced users with a certain knowledge of Mistral and Slurm configuration (thorough info about all the advanced options can be found [[https://jupyterhub.gitlab-pages.dkrz.de/jupyterhub-docs/spawner_options.html#advanced|here]]). Among many other options it offers us the possibility to choose between //Jupyter notebook, Jupyterlab// and //Terminal// session. The essential parameters that we will need to fill up to open a session with similar characteristics as the //preset// but using //Jupyerlab// are the following ones: | * The **//advanced//** session is especially for advanced users with a certain knowledge of Mistral and Slurm configuration (thorough info about all the advanced options can be found [[https://docs.dkrz.de/doc/software&services/jupyterhub/spawner_options.html#advanced|here]]). Among many other options it offers us the possibility to choose between //Jupyter notebook, Jupyterlab// and //Terminal// session. The essential parameters that we will need to fill up to open a session with similar characteristics as the //preset// but using //Jupyerlab// are the following ones: |
* account: //bmx825// | * account: //bmx825// |
* partition: //Miklip// | * partition: //Miklip// |
\\ | \\ |
| |
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 [[https://jupyterhub.gitlab-pages.dkrz.de/jupyterhub-docs/kernels.html#use-your-own-kernel|our own environment]]. Naturally we can open and run our jupyter notebook files here. | 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 [[https://docs.dkrz.de/doc/software&services/jupyterhub/kernels.html#use-your-own-kernel|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) [[https://jupyterhub.gitlab-pages.dkrz.de/jupyterhub-docs/posts/2020/vscoderemote.html|remotely with some kernel in DKRZ]]. | We can use Jupyterhub as a simple text editor as well, but we could also connect some local IDE (e.g. VS Code) [[https://docs.dkrz.de/blog/2020/vscoderemote.html|remotely with some kernel in DKRZ]]. |
| |
===== Important Notes ===== | ===== Important Notes ===== |