Update Connect on a running job's node authored by Alain O' Miniussi's avatar Alain O' Miniussi
...@@ -24,19 +24,17 @@ For this example, we consider a [dummy job](https://gitlab.oca.eu/DSI/HPC/-/blob ...@@ -24,19 +24,17 @@ For this example, we consider a [dummy job](https://gitlab.oca.eu/DSI/HPC/-/blob
sleep 300 sleep 300
``` ```
We submit it, and look at the node(s) on which it running:
``` ```
#[ctchiling@pollux running]# sbatch sleep.slurm #[ctchiling@pollux running]# sbatch sleep.slurm
Submitted batch job 33691086 Submitted batch job 33691086
[ctchiling@pollux running]# squeue -u ctchiling [ctchiling@pollux running]# squeue -u ctchiling
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON) JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON)
33691090 x40 waste ctchilin R 0:08 1 x011 33691090 x40 waste ctchilin R 0:08 1 x011
``` ```
Now you can enter in the x011 node: Now you can connect to the allocated x011 node:
``` ```
#[ctchiling@x011 ~]$ ssh x011 #[ctchiling@x011 ~]$ ssh x011
#Last login: Thu Feb 18 17:25:49 2021 from pollux #Last login: Thu Feb 18 17:25:49 2021 from pollux
... ...
......