RIT will permanently shut down the RIT Wiki (Confluence wiki) on February 2, 2024. Review the Wiki Shut Down Overview for information on alternative tools, exporting content from the wiki, and other FAQs.
...
- ssh into the cluster ssh -X <userID>@sporcsubmit.rc.rit.edu
- start a sinterative job with the configuration that you will need (e.g. memory, cores, time, gres)
- load jupyter notebook
- spack load py-notebook/hfaavup or the version you require
- to find other versions use spack find py-notebook
- start jupyter notebook jupyter notebook --ip=0.0.0.0 --no-browser
[demo@skl-a-47 ~]$ jupyter notebook --ip=0.0.0.0 --no-browser
[I 10:47:16.816 NotebookApp] The port 8888 is already in use, trying another port.
[I 10:47:16.820 NotebookApp] Serving notebooks from local directory: /home/slpits
[I 10:47:16.820 NotebookApp] The Jupyter Notebook is running at:
[I 10:47:16.820 NotebookApp] http://skl-a-47.rc.rit.edu:8889/?token=803f723f3d20e5e93d24af7073c822c3e77387ce7e15e5cd
[I 10:47:16.820 NotebookApp] or http://127.0.0.1:8889/?token=803f723f3d20e5e93d24af7073c822c3e77387ce7e15e5cd
[I 10:47:16.820 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 10:47:16.823 NotebookApp]
To access the notebook, open this file in a browser:
file:///home/slpits/.local/share/jupyter/runtime/nbserver-27411-open.html
Or copy and paste one of these URLs:
http://skl-a-47.rc.rit.edu:8889/?token=803f723f3d20e5e93d24af7073c822c3e77387ce7e15e5cd
or http://127.0.0.1:8889/?token=803f723f3d20e5e93d24af7073c822c3e77387ce7e15e5cd
[I 10:56:29.944 NotebookApp] 302 GET /?token=803f723f3d20e5e93d24af7073c822c3e77387ce7e15e5cd (129.21.171.201) 0.50ms - From a new local terminal window ssh into sporcsubmit using the -L flag
- ssh -L<port ssh <userID>@sporcsubmit.rc.rit.edu -L <port number>:skl-a-47.rc.rit.edu:<port number> sporcsubmit.rc.rit.edu in our example the port number = 8889
- To access the notebook, copy and paste the appropriate URL from the output above into a browser.
...