|
|
You can connect by SSH to Turing node which were assigned to one of your jobs so that you can monitor the execution of your calculations with tools such as `top` or `nvidia-smi` (for example).
|
|
|
|
|
|
When one of your jobs is running, the compute nodes assigned to it are visible with the command `squeue -j <job_id>` or `squeue -u $USER` :
|
|
|
|
|
|
```
|
|
|
$ squeue -u $USER
|
|
|
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON)
|
|
|
2042259 gpus my_job my_login R 01:42 12 turing01
|
|
|
```
|
|
|
|
|
|
In this example, job # `2042259` is running on turing01. You can connect via `ssh` with the following command:
|
|
|
|
|
|
```
|
|
|
$ ssh turing01
|
|
|
```
|
|
|
|
|
|
Note that you will be automatically disconnected from the node when your job is finished.
|
|
|
|
|
|
If you try to connect to a node on which none of your jobs is running, you will obtain the following error message:
|
|
|
|
|
|
```
|
|
|
[randria@login02 ~]$ ssh turing01
|
|
|
Access denied: user randria (uid=1014) has no active jobs.
|
|
|
Connection closed by 172.30.0.54
|
|
|
``` |
|
|
\ No newline at end of file |