Working interactively
Editing files on the cluster, a shell on a compute node, and JupyterLab or RStudio on one, securely.
So far, everything in this guide has been run as a batch job: you submit it, and read what it wrote afterwards. This part is about working on the cluster as you go: editing files on it from your laptop, getting a shell on a compute node, and running web apps such as JupyterLab and RStudio on a compute node, then using them from the browser on your laptop.
That last one is where the usual recipe leaves your work open to everyone else on the cluster, so most of this part is about doing it securely, each way with scripts you can run.
| Title | Description |
|---|---|
| Text editors | Editing files on the cluster in real time: editors that run in the terminal, and editors that run on your laptop with a server on the cluster, with what each costs the shared login node. |
| A shell on a compute node | srun –pty for a shell in a new allocation, salloc to keep one and run several things in it, and srun –overlap to get into a job that is already running. |
| Services on a compute node | JupyterLab, RStudio or any other web app on a compute node, used from the browser on your laptop: why the usual recipe is not secure, and five ways that are. |
No matching items