From 658ffa419d5401890843c93aa100a36a65ed4303 Mon Sep 17 00:00:00 2001 From: Derek Feichtinger Date: Tue, 16 Jul 2019 10:34:27 +0200 Subject: [PATCH] added info about conda environments and modules --- pages/merlin6/jupyterhub/jupyterhub.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/pages/merlin6/jupyterhub/jupyterhub.md b/pages/merlin6/jupyterhub/jupyterhub.md index bb67f88..a6a0332 100644 --- a/pages/merlin6/jupyterhub/jupyterhub.md +++ b/pages/merlin6/jupyterhub/jupyterhub.md @@ -2,7 +2,7 @@ title: Jupyterhub on Merlin #tags: #keywords: -last_updated: 12 July 2019 +last_updated: 16 July 2019 #summary: "" sidebar: merlin6_sidebar 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. +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 There exist a number of useful [contributed but unofficial @@ -80,5 +95,5 @@ Especially the following extensions make working with larger notebooks easier ## 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 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 .