Merge branch 'master' of https://git.psi.ch/lsm-hpce/lsm-hpce.gitpages.psi.ch
This commit is contained in:
commit
6779bb422a
@ -2,7 +2,7 @@
|
|||||||
title: Jupyterhub on Merlin
|
title: Jupyterhub on Merlin
|
||||||
#tags:
|
#tags:
|
||||||
#keywords:
|
#keywords:
|
||||||
last_updated: 12 July 2019
|
last_updated: 16 July 2019
|
||||||
#summary: ""
|
#summary: ""
|
||||||
sidebar: merlin6_sidebar
|
sidebar: merlin6_sidebar
|
||||||
permalink: /merlin6/jupyterhub.html
|
permalink: /merlin6/jupyterhub.html
|
||||||
@ -45,7 +45,8 @@ left. You can read about its features [on the official website](https://jupyterl
|
|||||||
However, if you prefer the classical notebook UI or you want to use some feature which has not yet been implemented in the
|
However, if you prefer the classical notebook UI or you want to use some feature which has not yet been implemented in the
|
||||||
new interface, you can switch to it by using the **"Launch Classic Notebook"** command from the left sidebar of JupyterLab.
|
new interface, you can switch to it by using the **"Launch Classic Notebook"** command from the left sidebar of JupyterLab.
|
||||||
|
|
||||||

|
{% include image.html file="jupyter-launch-classic.png" caption="Launch Classic Notebook" max-width=501 %}
|
||||||
|
|
||||||
|
|
||||||
## Jupyter software environments - running different kernels
|
## Jupyter software environments - running different kernels
|
||||||
|
|
||||||
@ -58,17 +59,34 @@ E.g. in this test installation we provide two environments targeted at data scie
|
|||||||
|
|
||||||
When you create a new notebook you will be asked to specify which kernel you want to use. It is also possible to switch the kernel of a running notebook, but you will lose the state of the current kernel, so you will have to recalculate the notebook cells with this new kernel.
|
When you create a new notebook you will be asked to specify which kernel you want to use. It is also possible to switch the kernel of a running notebook, but you will lose the state of the current kernel, so you will have to recalculate the notebook cells with this new kernel.
|
||||||
|
|
||||||
|
These environments are also available for standard work in a shell session. You can activate an environment in a normal merlin terminal session by using the `module` (q.v. [using Pmodules](using-modules.html)) command to load anaconda python, and from there using the `conda` command to switch to the desired environment
|
||||||
|
|
||||||
|
```
|
||||||
|
module use unstable
|
||||||
|
module load anaconda/2019.03
|
||||||
|
conda activate datascience_py36
|
||||||
|
```
|
||||||
|
|
||||||
|
When the `anaconda` module has been loaded, you can list the available environments by executing
|
||||||
|
|
||||||
|
```
|
||||||
|
conda info -e
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Using nbextensions for adding features to your notebook
|
## Using nbextensions for adding features to your notebook
|
||||||
|
|
||||||
There exist a number of useful [contributed but unofficial extensions](https://jupyter-contrib-nbextensions.readthedocs.io/en/latest/index.html)
|
There exist a number of useful [contributed but unofficial
|
||||||
that make working in your notebook easier. These regrettably are not yet supported from
|
extensions](https://jupyter-contrib-nbextensions.readthedocs.io/en/latest/index.html)
|
||||||
within the JupyterLab UI, but you can activate them through the Classic Notebook interface (see above)
|
that add useful features to your notebooks. These regrettably are not
|
||||||
|
yet supported from within the JupyterLab UI, but you can activate them
|
||||||
|
through the Classic Notebook interface (see above)
|
||||||
|
|
||||||
<!-- ([see above](##JupyterLab-and-Classic-Notebook-user-interfaces)) -->
|
<!-- ([see above](##JupyterLab-and-Classic-Notebook-user-interfaces)) -->
|
||||||
|
|
||||||
From the classic Notebook UI you can access the available extensions in a separate tab as displayed in this screenshot:
|
From the classic Notebook UI you can access the available extensions in a separate tab as displayed in this screenshot:
|
||||||
|
|
||||||

|
{% include image.html file="jupyter-nbextensions.png" caption="Launch Classic Notebook" max-width=586 %}
|
||||||
|
|
||||||
Especially the following extensions make working with larger notebooks easier
|
Especially the following extensions make working with larger notebooks easier
|
||||||
* **Table of Contents**: Displays a TOC on the left and you can also configure it
|
* **Table of Contents**: Displays a TOC on the left and you can also configure it
|
||||||
@ -77,5 +95,5 @@ Especially the following extensions make working with larger notebooks easier
|
|||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|
||||||
In case of problems or request, please either submit a **[PSI Service Now](https://psi.service-now.com/psisp)** incident containing *"Merlin Jupyterhub"* as part of the subject, or contact us by mail through <merlin-admins@lists.psi.ch> using the kind of subject line.
|
In case of problems or request, please either submit a **[PSI Service Now](https://psi.service-now.com/psisp)** incident containing *"Merlin Jupyterhub"* as part of the subject, or contact us by mail through <merlin-admins@lists.psi.ch>.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user