[slurm-users] Re: Job information if job is completed

2025-06-17 Thread Paul Edmon via slurm-users
My understand from talking with the Slurm devs is that the reason why the scontrol and sacct are different formats goes back to the origins of those two commands in the misty past. Basically they were written by two different devs looking at two different things in different ways as one is quer

[slurm-users] Re: Implementing a "soft" wall clock limit

2025-06-17 Thread Michael DiDomenico via slurm-users
there is one reason to have a hard time limit. garbage collection. if your institution is like mine, visiting academics often come and go and many full-timers are "forgetful" of what they startup. at some point someone has to clean all that up On Tue, Jun 17, 2025 at 8:18 AM Davide DelVento via

[slurm-users] Re: Job information if job is completed

2025-06-17 Thread Ole Holm Nielsen via slurm-users
We developed a script "showjob" which will obtain all interesting information from Slurm for jobs that are pending, running, or completed. You may try this tool: https://github.com/OleHolmNielsen/Slurm_tools/blob/master/jobs/showjob Best regards, Ole On 6/17/25 13:42, Davide DelVento via slur

[slurm-users] Re: Implementing a "soft" wall clock limit

2025-06-17 Thread Davide DelVento via slurm-users
This conversation is drifting a bit away from my initial questions and covering various other related topics. In fact I do agree with almost everything written in the last few messages. However, that is somewhat orthogonal to my initial request, which I now understand has the answer "not possible w

[slurm-users] Re: Job information if job is completed

2025-06-17 Thread Davide DelVento via slurm-users
Yeah, that's an annoying thing which I have not understood why has been designed that way. The information is there and it can be queried, just with a different command and spitting it out in a different format. The syntax is sacct -j XXX which gives you only some fields, or sacct -o fields,you

[slurm-users] Re: Job information if job is completed

2025-06-17 Thread Eric Le Lay via slurm-users
Hi Gestió, you can try `sacct -B -j YOUR_JOB_ID` to get the submit script, and `sacct --env-vars -j YOUR_JOB_ID` for the environment. You need to have set `AccountingStoreFlags: job_comment,job_env,job_extra,job_script` in slurm.conf to store respective data. Otherwise it will not be availabl

[slurm-users] Job information if job is completed

2025-06-17 Thread Gestió Servidors via slurm-users
Hello, Is there any way to get all information (like submit script or submit node) from a job that is completed? Something like "scontrol show jobid=XXX" when job is "running" or "pending". I need to inspect the submit script of a job but I only know job_id. Thanks. -- slurm-users mailing l