[slurm-users] [External] Get original script of a job
pbisbal at pppl.gov
Fri Mar 5 16:46:02 UTC 2021
I have this same problem - a user writes to me about a problem they're
having with Slurm, and instead of pasting the script into the support
ticket or e-mail, give me the path to it. When finally get to looking at
it, it's obviously they've changed it since reporting the issue, so I
have no forensic information for my investigation.
Once a job completes, Slurm doesn't store that information anywhere. The
working directory is stored in the sacct data in the field WorkDir, but
the actual command information isn't saved anywhere.
On 3/5/21 5:29 AM, Alberto Morillas, Angelines wrote:
> I would like to know if it will be possible to get the script that was
> used to send a job.
> I know that when I send a job with scontroI can get the path and the
> name of the script used to send this job, but normally the users
> change theirs scripts and sometimes all was wrong after that, so is
> there any possibility to reproduce the script of an old job???
> Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the slurm-users