Skip to content
Advertisement

How to find from where a job is submitted in SLURM?

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

JavaScript

How can I know from which directory a job is submitted so that I can differentiate the jobs?

Advertisement

Answer

You can use the scontrol command to see the job details. $ scontrol show job <jobid>

For example, for a running job on our SLURM cluster:

JavaScript

You are looking for the last line, WorkDir.

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement