[slurm-users] SLURM's reservations

De Giorgi Jean-Claude jean-claude.degiorgi at epfl.ch
Tue Apr 17 03:39:51 MDT 2018


Hello Daniel,

Thank you for your information.
That’s very helpful.

Regards,
Jean-Claude


From: slurm-users <slurm-users-bounces at lists.schedmd.com> on behalf of Daniel Grimwood <daniel.grimwood at pawsey.org.au>
Reply-To: Slurm User Community List <slurm-users at lists.schedmd.com>
Date: Tuesday, 17 April 2018 at 05:10
To: 'Slurm User Community List' <slurm-users at lists.schedmd.com>
Subject: Re: [slurm-users] SLURM's reservations

Hi Jean-Claude,

Within an ugly Perl script (since dictionaries are easy in Perl), I run:
sreport -n -p -M \"$cluster\" reservation Utilization start=$startdate end=$enddate -t hours Format=Name,ReservationID,Associations,TotalTime,Nodes,Allocated,Start,End

and then
sacct -n -a -M \"$cluster\" -S $startdate -E $enddate -p --format=jobid,user,CPUTimeRaw,AssocID,ReservationID -X -T

and then match up the ReservationID numbers, to see to what extent the reservations actually get used.

With regards,
Daniel.


From: slurm-users [mailto:slurm-users-bounces at lists.schedmd.com] On Behalf Of De Giorgi Jean-Claude
Sent: Monday, 16 April 2018 10:52 PM
To: Slurm User Community List <slurm-users at lists.schedmd.com>
Subject: Re: [slurm-users] SLURM's reservations

Here it is,

The command line to get the previous reservation is:
sreport reservation utilization start=2018-02-10T10:00:00

According to the man page, I should get these headers:
Allocated, Associations, Cluster, Count, CPUTime, End, Flags, Idle, Name, Nodes, ReservationId, Start, TotalTime
But I get only these ones:
Cluster      Name               Start                 End            Allocated                 Idle

I try to put a “verbose” somewhere (or a “-v” ), but it doesn’t change anything.

My SLURM version is 17.02.7  .

If anyone has more usage examples/explanations, very welcome.




Regards,
Jean-Claude


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20180417/e91bc161/attachment.html>


More information about the slurm-users mailing list