... | ... | @@ -138,6 +138,24 @@ $ tail -f slurm.12345.out |
|
|
...job outut...
|
|
|
```
|
|
|
|
|
|
### Login on a compute node
|
|
|
|
|
|
Once you job is running on a specific node, your are allowed to log into that node. Here, we see that the job is running on node `p087`:
|
|
|
```
|
|
|
$ squeue -u alainm
|
|
|
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON)
|
|
|
15292926 fdr fargo alainm R 0:05 1 p087
|
|
|
$ ssh p087
|
|
|
Warning: Permanently added 'p087' (ECDSA) to the list of known hosts.
|
|
|
Last login: Wed Aug 14 16:42:00 2019 from pollux.cluster
|
|
|
[alainm@p087 ~]$ top -u alainm
|
|
|
...
|
|
|
52335 alainm 20 0 3089912 99696 R 500.0 0.4 7:06.94 52331 0 511400 fargOCA
|
|
|
52337 alainm 20 0 3086708 99428 R 500.0 0.4 7:07.00 52331 0 508196 fargOCA
|
|
|
52336 alainm 20 0 3084596 99676 R 500.0 0.4 7:05.66 52331 0 506084 fargOCA
|
|
|
52334 alainm 20 0 3091056 99192 R 499.0 0.4 7:06.31 52331 0 512544 fargOCA
|
|
|
53230 alainm 20 0 64640 1568 R 2.0 0.0 0:00.04 53068 0 1324 top
|
|
|
```
|
|
|
|
|
|
[^1]: if both are used, the command line option takes precedence.
|
|
|
[^2]: to be preferred to redirection. |
|
|
\ No newline at end of file |