Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Pluto

First, make sure that you have set up your ssh-config such that you can ssh onto a specific node of Nocuta 2 (or Noctua 1) directly, i.e. for example via ssh n2login1 or ssh n2cn0164 (see Access for Applications like Visual Studio Code for help) and connect to the chosen node (referred to as noctuanode below).

Now, start Pluto on this login node

using Pluto
Pluto.run(launch_browser=false)

Among other things, you should get an info message like

┌ Info:
└ Go to http://localhost:1234/?secret=tsfZky4T in your browser to start writing ~ have fun!

However, the link won’t work in your local browser because Pluto is running on the cluster login node (and not on your local device).

To make the link work, we need to set up ssh port forwarding. Specifically, run the following on your local machine (if you’re on a non-Unix operating system like Windows, you may need to use a tool like, e.g., PuTTY to set up the port forwarding)

ssh -L 1234:127.0.0.1:1234 noctuanode

Here, the format is <local port>:127.0.0.1:<remote port> and noctuanode is the ssh hostname of the Noctua 2 (or Noctua 1) node that you chose above. If the Pluto-default port 1234 is already occupied on your local machine you may choose something else for <local port>.

After this, you should be able to use the link given by Pluto above in your local browser (if you’ve changed <local port> you need to change the port in the link as well) and should see the Pluto starting webpage.

  • No labels