...
- Install your own version of python to run jupyter. Instructions go on another page.
- Install jupyter
- Start up jupyter
Code Block language bash title Get an allocation on a compute node. Write down the name of the assigned compute node login001: srun --pty --x11=first -p interactive bash alpha001:
Code Block title Start jupyter on the compute node. It will display the port # the software is running on, usually 8888 alpha001: jupyter notebook --no-browser [NotebookApp] The Jupyter Notebook is running at: http://localhost:8888/ [NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
- Access jupyter
Code Block language bash title Now setup forwarding from your workstation thru the headnode to the assigned compute node, in this example it is alpha001 Your Workstation: ssh sdough01@login.cluster.tufts.edu -L 8888:localhost:8888 ssh alpha001 -L 8888:localhost:8888
Point the browser on your workstation to http://localhost:8888/ and the jupyter web interface should come up.
- Do computation, do science!
- Exit jupyter
Code Block title Don't forget to exit jupyter so it isn't taking up resources The Jupyter Notebook is running at: http://localhost:8888/ Shutdown this notebook server (y/[n])? y [C 14:19:54.199 NotebookApp] Shutdown confirmed [I 14:19:54.199 NotebookApp] Shutting down kernels
Project Home Page