[slurm-users] Information about finished jobs

Ole Holm Nielsen Ole.H.Nielsen at fysik.dtu.dk
Tue Jun 15 11:18:11 UTC 2021


On 6/15/21 12:07 PM, Peter Kjellström wrote:
> On Mon, 14 Jun 2021 09:33:02 +0200 (CEST)
> Arthur Gilly <arthur.gilly at helmholtz-muenchen.de> wrote:
> 
>> Hi all,
>>
>> A related question, on my setup, scontrol show job displays the
>> standard output, standard error redirections as well as the wd,
>> whereas this info is lost after completion when sacct is required. Is
>> this something that's configurable so that this info is preserved
>> with sacct?
> 
> Working directory is available at least (sacct -o workdir). To see
> everything there is an "all". So something like this shows all fields
> with '|' (parsable -P) and one line per job (-X):
> 
>   sacct -j JOBID -X -P -o all

My script "showjob" in 
https://github.com/OleHolmNielsen/Slurm_tools/tree/master/jobs shows also 
the completed job's working directory from the database (using sacct -o 
workdir).

/Ole



More information about the slurm-users mailing list