You can use slurmctl prologue to save it the way you want. cheers, Marcin
2017-11-30 0:25 GMT+01:00 Chris Samuel <ch...@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 > >