In [1]:
name = '2016-02-12-jupyter-grace-update'
title = 'Update on using Jupyter Notebook on Grace'
tags = 'jupyter, hpc, anaconda'
author = 'Denis Sergeev'

In [2]:
from nb_tools import connect_notebook_to_post
from IPython.core.display import HTML

html = connect_notebook_to_post(name, title, tags, author)

Today's meeting was a walk-through of how to create Python environment using Anaconda on Grace and how to spawn a remote Python kernel from Jupyter.

As a result, here is an update of the old post. The update is about:

  • Using remote_ikernel utility instead of rk (the latter is only available on Linux and lacks some options required by Grace)

  • Using Grace's interactive queue instead of login nodes (which are not for computations!)

  • Packing all the necessary set-up commands into a bunch of scripts

<div class="alert alert-warning", style="font-size: 120%"> remote_ikernel is still not fully compatible with Windows! Update to follow. </div>

To cut a long story short, the instructions are available in our GitHub repository: grace-python.

You have to download the scripts or git-clone the repo. The README.md will get you started.

Any comments/complaints/suggestions are welcomed.


In [3]:
HTML(html)


Out[3]:

This post was written as an IPython (Jupyter) notebook. You can view or download it using nbviewer.