From Documentation
Revision as of 15:49, 29 January 2019 by Edward (Talk | contribs) (Created page with "{{Draft}} = Accessing Jupyter Notebook with the Graham Visualization Node = == Introduction == ==Installing Jupyter Notebook== For more details on the Jupyter software packag...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Template:Draft

Accessing Jupyter Notebook with the Graham Visualization Node

Introduction

Installing Jupyter Notebook

For more details on the Jupyter software package visit the Jupyter wiki page.

These instructions install Jupyter Notebook with the pip command in a Python virtual environment in your home directory. The following instructions are for Python 3.5, but you can also install the application for a different version by loading a different Python module.

  1. Load the Python module.
    Template:Command2
  2. Create a new Python virtual environment.
    Template:Command2
  3. Activate your newly created Python virtual environment.
    Template:Command2
  4. Install Jupyter Notebook in your new virtual environment.
    Template:Command2
  5. In the virtual environment, create a wrapper script that launches Jupyter Notebook.
    Template:Command2
  6. Finally, make the script executable.
    Template:Command2

TigerVNC (Windows, MacOS, Fedora, and newer Unbuntu/Debian)

For MacOS and Windows, tigervnc viewer can be downloaded from the tigervnc GitHub site. Scroll down to the latest release tag, follow the link to the bintray site, and download either the TigerVNC dmg file for MacOS or the vncviewer exe file for Windows. For best results update to the latest version periodically.

For Fedora, the tigervnc client is available in the default packages

sudo yum install tigervnc

and likewise for newer Ubuntu/Debian

sudo apt-get install tigervnc-viewer

File:TigervncConnectionDetails.PNG

Once tigervnc is installed on your computer, connect to the Graham viz node by running the viewer. Once the Connection Details popup appears type gra-vdi.computecanada.ca in the VNC server: field. The hostname should be saved for next time but if not click the "Save As" button in the popup preferences and save it as a loadable configuration for the next time you start the viewer. If you cannot locate tigerVNC Viewer in your application menu on linux try opening a terminal and running the following command:

vncviewer gra-vdi.computecanada.ca

Image: 500 pixels

You are now connected to the visualization node. Enter your ComputeCanada username and password when prompted. You will now have access to a linux desktop environment with remote (graham) file system access. You can now follow these instructions to launch, and connect to, your Jupyter instance.