| | 2 | The Jupyter Notebook is a web application that allows you to create and share documents that contain live code, equations, visualizations and explanatory text. |
| | 3 | |
| | 4 | 1. Login to Cypress with port-forwarding |
| | 5 | {{{ |
| | 6 | [user@local ~]$ ssh -L 8888:127.0.0.1:8888 userID@cypress.tulane.edu |
| | 7 | }}} |
| | 8 | |
| | 9 | 2. 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 |
| | 12 | Requesting 1 node(s) task(s) to normal queue of defq partition |
| | 13 | 1 task(s)/node, 1 cpu(s)/task, 2 MIC device(s)/node |
| | 14 | Time: 08 (hr) 00 (min). |
| | 15 | Submitted batch job 282455 |
| | 16 | JOBID=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 |
| | 20 | Last login: Wed Aug 24 11:46:09 2016 from cypress2.cm.cluster |
| | 21 | |
| | 22 | }}} |
| | 23 | |
| | 24 | 3. 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 | |
| | 30 | 4. 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 | |
| | 34 | Ctrl+c to shutdown ''jupyter notebook''. |