[slurm-users] Show job command after completion with sacct
Marcin Stolarek
stolarek.marcin at gmail.com
Sun Dec 10 17:53:10 MST 2017
You can use slurmctl prologue to save it the way you want.
cheers,
Marcin
2017-11-30 0:25 GMT+01:00 Chris Samuel <chris at csamuel.org>:
> On 30/11/17 8:57 am, Jacob Chappell wrote:
>
> Using "scontrol show jobid X" I can see info about running jobs, including
>> the command used to launch the job, the user's working directory, values of
>> stdout, stdin, stderr, etc.
>>
>
> Note that the announcement for 17.11.0 mentions that the job script
> will no longer appear in "scontrol show job", it's been moved to
> scontrol write batch_file $FILE (don't know if that means you can
> write it to stdout any more).
>
> With Slurm accounting configured, sacct seems to show *some* of this
>> information about jobs that have completed. However, I don't seem to see
>> the "Command" or "WorkDir" field in sacct. Is it possible to record this
>> information also for jobs that have completed?
>>
>
> I don't believe that is recorded in the database, you'd need
> to request that as a feature request from SchedMD.
>
> Best of luck!
> Chris
> --
> Chris Samuel : http://www.csamuel.org/ : Melbourne, VIC
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20171211/7f01ed6a/attachment-0001.html>
More information about the slurm-users
mailing list