I submitted several jobs via SLURM to our school\'s HPC cluster. Because the shell scripts all have the same name, so the job names appear exactly the same. It looks like
<
You can use the scontrol
command to see the job details. $ scontrol show job
For example, for a running job on our SLURM cluster:
$ scontrol show job 1665191
JobId=1665191 Name=tasktest
...
Shared=OK Contiguous=0 Licenses=(null) Network=(null)
Command=/lustre/work/.../slurm_test/task.submit
WorkDir=/lustre/work/.../slurm_test
You are looking for the last line, WorkDir
.