Dear Sema, You need to set up accounting first:
https://slurm.schedmd.com/accounting.html You obviously won't have data for jobs which ran before accounting was set up. When you have done this, you will be able to do something like sacct -j 123456 -o jobid,elapsed for subsequent jobs. Read 'man sacct' for more info. Regards Loris Sema Atasever <[email protected]> writes: > Re: [slurm-dev] Re: Elapsed time for slurm job > > Dear Loris, > > When i try this command (sacct -o 2893,elapsed) i get this error message > unfortunately: > > SLURM accounting storage is disabled > > How to solve this problem? > > Regards, Sema. > > On Mon, Jul 24, 2017 at 4:25 PM, Loris Bennett <[email protected]> > wrote: > > Sema Atasever <[email protected]> writes: > > > Elapsed time for slurm job > > > > Dear Friends, > > > > How can i retrieve elapsed time if the slurm job has completed? > > > > Thanks in advance. > > sacct -o jobid,elapsed > > See 'man sacct' or 'sacct -e' for the full list of fields. > > Cheers, > > Loris > > -- > Dr. Loris Bennett (Mr.) > ZEDAT, Freie Universität Berlin Email [email protected] > > -- Dr. Loris Bennett (Mr.) ZEDAT, Freie Universität Berlin Email [email protected]
