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
In order to list the work directory of past jobs that are no longer accessible via squeue or scontrol, you can use sacct:
squeue
scontrol
sacct
sacct -S 2020-08-10 -u myUserName --format "jobid,jobname%20,workdir%70"
Lists job id, job name and work directory of all jobs of user myUserName since August 10th, 2020.
myUserName