Jupyter: Difference between revisions

From AG Euler Wiki
Jump to navigation Jump to search
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
==What are Jupyter Notebooks?==
==What are Jupyter Notebooks?==


Jupyter notebooks are browser based environments for editing, compiling and executing code. For a brief overview, see [http://www.nature.com/news/interactive-notebooks-sharing-the-code-1.16261 this Nature News article]. Until quite recently, these were developed exclusively for coding Python, although support has since expanded to accommodate a number of other languages. For a full list of language kernels, see [https://github.com/ipython/ipython/wiki/IPython-kernels-for-other-languages here]. Note that Igor Pro is not supported, and that many of these kernels are in alpha state and are not suitable for daily use.
Jupyter notebooks are browser based environments for editing, compiling and executing code. For a brief overview, see [http://www.nature.com/news/interactive-notebooks-sharing-the-code-1.16261 this Nature News article]. Until quite recently, these were developed exclusively for coding Python, although support has since expanded to accommodate a number of other languages. For a full list of language kernels, see [https://github.com/ipython/ipython/wiki/IPython-kernels-for-other-languages here]. Note that Igor Pro is not supported, and that many of these kernels are in alpha state and not suitable for daily use.


==How do I access the AG Euler Jupyter Notebooks?==
==Which notebook servers are currently running?==
We are currently running two Jupyter notebook servers in the CIN network, dubbed [https://en.wikipedia.org/wiki/Callisto_(moon) Callisto] and [https://en.wikipedia.org/wiki/Titan_(moon) Titan]. Callisto is geared towards stability and is the recommended environment for those who wish to write standard Python scripts. It comes with the [https://www.scipy.org/about.html scipy stack] preinstalled, which should be adequate for most scientific computing problems. The Callisto server will only be taken down after 6pm on Fridays, if at all, and should be functional again by the following morning.


We are currently running two Jupyter notebook servers in the CIN network, dubbed [https://en.wikipedia.org/wiki/Callisto_(moon) Callisto] and [https://en.wikipedia.org/wiki/Titan_(moon) Titan]. Callisto is geared towards stability and is the recommended environment for those who wish to write standard Python scripts. It comes with the [https://www.scipy.org/about.html scipy stack] preinstalled, which should be adequate for most scientific computing problems. Alongside this is a more experimental notebook server called Titan, which will be used for testing new computational tools including additional language kernels, parallelisation platforms such as Apache Spark, GPU integration via CUDA - among other things. Titan will be down more frequently as new features are implemented and tested.  
Alongside this is a more experimental notebook server called Titan, which will be used for testing advanced features which accelerate the performance of code in Python (LLVM/Numba, Spark, CUDA, etc). Titan will be down more frequently as new features are implemented and tested. If you have any features you would like to try out let me know (luke.e.rogerson@gmail.com). If the implementations are sufficiently stable, we can migrate the content to Callisto at a later date.


In order to access these, you will have to specify the correct Putty configuration. An easy to use portable Putty will be uploaded here sometime in the near future, but for those who wish to access the servers now, you need to do the following:
==How do I access the AG Euler Jupyter Notebooks?==
 
# Open Putty, load your Cluster access configuration
 
# Under Category, click the '+' to expand ssh
 
# Click tunnels, and add the following:
 
## Destination 172.29.0.131:1610 .. Source: 1610
 
## Destination 172.29.0.131:1655 .. Source: 1655
 
# Save your configuration in the session tab
 
# Open the updated configuration by double clicking on it
 
vi. Use your CIN user account to log into the headnode


v. Enter "ssh 'cn31'" to access the Euler group node where the servers are running
To access the notebooks, you will have to specify the correct Putty configuration. A preconfigured file is available, and details for manual set up are given below.  
If you forget the access details - each server is named after a moon, the year of its discovery is the localhost number, and the password is the planet which the moon orbits. If at any time you cannot remember the password or localhost address, refer to the wikipedia pages for the namesakes of the respective servers.


vi. Enter either https://localhost:1655 or https://localhost:1610 to access Callisto or Titan respectively. This should then take you to a login screen (or directly to the directories).
===Preconfigured Portable Putty===
[[File:AG Euler - Portable Putty - 13.10.2015.zip]]


v. Enter the password for the server (Case sensitive - Callisto: jupiter, Titan: saturn)
===Manually Configure Putty===


If at any time you cannot remember the password or localhost address, refer to the wikipedia page for the respective servers. Each server is named after a moon, the year of its discovery is the localhost number, and the password is the planet which the moon orbits.
#Open Putty, load your Cluster access configuration
#Under Category, click the '+' to expand ssh
#Click tunnels, and add the following:
##Destination 172.29.0.131:1610 .. Source: 1610
##Destination 172.29.0.131:1655 .. Source: 1655
#Save your configuration in the session tab
#Open the updated configuration by double clicking on it
#Use your CIN user account to log into the headnode
#Enter "ssh 'cn31'" to access the Euler group node where the servers are running
#Enter either https://localhost:1610 or https://localhost:1655 to access Callisto or Titan respectively. This should then take you to a login screen (or directly to the directories).
# Enter the password for the server (Case sensitive - Callisto: jupiter, Titan: saturn)

Latest revision as of 15:43, 13 October 2015

What are Jupyter Notebooks?

Jupyter notebooks are browser based environments for editing, compiling and executing code. For a brief overview, see this Nature News article. Until quite recently, these were developed exclusively for coding Python, although support has since expanded to accommodate a number of other languages. For a full list of language kernels, see here. Note that Igor Pro is not supported, and that many of these kernels are in alpha state and not suitable for daily use.

Which notebook servers are currently running?

We are currently running two Jupyter notebook servers in the CIN network, dubbed Callisto and Titan. Callisto is geared towards stability and is the recommended environment for those who wish to write standard Python scripts. It comes with the scipy stack preinstalled, which should be adequate for most scientific computing problems. The Callisto server will only be taken down after 6pm on Fridays, if at all, and should be functional again by the following morning.

Alongside this is a more experimental notebook server called Titan, which will be used for testing advanced features which accelerate the performance of code in Python (LLVM/Numba, Spark, CUDA, etc). Titan will be down more frequently as new features are implemented and tested. If you have any features you would like to try out let me know (luke.e.rogerson@gmail.com). If the implementations are sufficiently stable, we can migrate the content to Callisto at a later date.

How do I access the AG Euler Jupyter Notebooks?

To access the notebooks, you will have to specify the correct Putty configuration. A preconfigured file is available, and details for manual set up are given below. If you forget the access details - each server is named after a moon, the year of its discovery is the localhost number, and the password is the planet which the moon orbits. If at any time you cannot remember the password or localhost address, refer to the wikipedia pages for the namesakes of the respective servers.

Preconfigured Portable Putty

File:AG Euler - Portable Putty - 13.10.2015.zip

Manually Configure Putty

  1. Open Putty, load your Cluster access configuration
  2. Under Category, click the '+' to expand ssh
  3. Click tunnels, and add the following:
    1. Destination 172.29.0.131:1610 .. Source: 1610
    2. Destination 172.29.0.131:1655 .. Source: 1655
  4. Save your configuration in the session tab
  5. Open the updated configuration by double clicking on it
  6. Use your CIN user account to log into the headnode
  7. Enter "ssh 'cn31'" to access the Euler group node where the servers are running
  8. Enter either https://localhost:1610 or https://localhost:1655 to access Callisto or Titan respectively. This should then take you to a login screen (or directly to the directories).
  9. Enter the password for the server (Case sensitive - Callisto: jupiter, Titan: saturn)