Running Jupyter on Snowy¶
Info
- You can run Python in
jupyter-notebook
orjupyter-lab
, which provide a web interface with possibility of inline figures and debugging. jupyter-lab
is installed in thepython
modules>=3.10.8
.- You may also install your own version of
jupyter-notebook
orjupyter-lab
if you have certain version requirements.
1. Connect to Rackham using ThinLinc.¶
You may download the ThinLinc client from here: https://www.cendio.com/thinlinc/download
You may also use the web browser to connect: https://rackham-gui.uppmax.uu.se You need to set up 2FA for the ThinLinc web.
2. Open a terminal in ThinLinc and ask for an interactive session to Snowy.¶
Note: We have a magnetic 10-node reservation for today: uppmax2024-2-21
.
Is the GPU visible?
3. Load the needed modules¶
And start the Jupyter notebook:
4. Open the notebook.¶
Solution 1:¶
Click on any of the links. This will open a Jupyter notebook in a Firefox browser on Rackham.
Solution 2:¶
Instead of opening Jupyter in a browser in ThinLinc, you may use the browser on your computer. You need to use ssh-tunnelling for this:
If you cannot open the notebook using the links above, try changing it to:
localhost:<port>/?token<tokenID>
Example: localhost:8000/?token=ab8a98df7b6606316849015daebaca5d2fa6331d32a47446