Changes between Version 1 and Version 2 of cypress/JupyterNode


Ignore:
Timestamp:
08/24/16 13:35:01 (8 years ago)
Author:
fuji
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • cypress/JupyterNode

    v1 v2  
    11== Jupyter Notebook ==
     2The ​Jupyter Notebook is a web application that allows you to create and share documents that contain live code, equations, visualizations and explanatory text.
     3
     41. Login to Cypress with port-forwarding
     5{{{
     6[user@local ~]$ ssh -L 8888:127.0.0.1:8888 userID@cypress.tulane.edu
     7}}}
     8
     92. Move to a directory you want to work on, start an interactive session with port-forwarding.
     10{{{
     11[userID@cypress2 Python]$ idev --port=8888:8888 -t 8 -c 1
     12Requesting 1 node(s)  task(s) to normal queue of defq partition
     131 task(s)/node, 1 cpu(s)/task, 2 MIC device(s)/node
     14Time: 08 (hr) 00 (min).
     15Submitted batch job 282455
     16JOBID=282455 begin on cypress01-093
     17--> Creating interactive terminal session (login) on node cypress01-093.
     18--> You have 08 (hr) 00 (min).
     19--> Assigned Host List : /tmp/idev_nodes_file_fuji
     20Last login: Wed Aug 24 11:46:09 2016 from cypress2.cm.cluster
     21
     22}}}
     23
     243. Load module and start jypyter nodebook server.
     25{{{
     26[userID@cypress01-093 Python]$ module load anaconda
     27[userID@cypress01-093 Python]$ jupyter notebook
     28}}}
     29
     304. Access [http://localhost:8888/] with your local web browser.
     31
     32'''Note: your ''jupyter notebook'' session will be kill when the idev-session time exceeds the walltime limit (that is 8 hours in the example above).'''
     33
     34Ctrl+c to shutdown ''jupyter notebook''.