added info about conda environments and modules

This commit is contained in:
2019-07-16 10:34:27 +02:00
parent a6b27ebe4d
commit 658ffa419d

View File

@ -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
@ -59,6 +59,21 @@ 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 There exist a number of useful [contributed but unofficial
@ -80,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>.