Accessing Jupyter Notebook with the Graham Visualization Node
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.
- Load the Python module.
- Create a new Python virtual environment.
- Activate your newly created Python virtual environment.
- Install Jupyter Notebook in your new virtual environment.
- In the virtual environment, create a wrapper script that launches Jupyter Notebook.
- Finally, make the script executable.
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
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:
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.