[slurm-users] sreport question when specifying partitions=

Bill Wichser bill at princeton.edu
Wed Nov 10 17:47:31 UTC 2021


Thanks.  You are right, now that I understand the heading in the man 
page.  Not quite what I was hoping for here!  Oh well, back to the 
drawing board.

Thanks all.

Bill

On 11/10/21 12:04 PM, Michael Gutteridge wrote:
> My read of the sreport manpage on our currently installed version 
> (21.08) is that the "partitions" condition is only available for job 
> reports, not cluster reports.  The description of that condition is in 
> "OPTIONS SPECIFICALLY FOR JOB REPORTS".  For example:
> 
> sreport job SizesByAccount user=me cluster=mycluster partitions=default
> 
> I don't know of a way to do cluster reports by partition and I get a 
> similar error when running the cluster report with partitions options 
> set.  Not sure how it's working for Loris...
> 
>   - Michael
> 
> 
> On Wed, Nov 10, 2021 at 8:34 AM Loris Bennett 
> <loris.bennett at fu-berlin.de <mailto:loris.bennett at fu-berlin.de>> wrote:
> 
>     Hi Bill,
> 
>     Bill Wichser <bill at princeton.edu <mailto:bill at princeton.edu>> writes:
> 
>      > I can't seem to figure out how to do a query against a partition.
>      >
>      > sreport cluster AccountUtilizationByUser user=bill cluster=della,
>     no issues.
>      > Works as expected.
>      >
>      > sreport cluster AccountUtilizationByUser Partitions=cpu
>     cluster=della gives me
>      >
>      > Unknown condition: Partitions=cpu
>      >
>      > and then prints out the output ignorning this option.
>      >
>      >
>      > I just need an example on how to use this option.  I'm sure it's
>     my density in
>      > reading the man pages though!
> 
>     Are you sure you have the name of your partition right?  If I specify a
>     partition which does not exist, I get the behaviour you report.
> 
>     Cheers,
> 
>     Loris
> 
>     -- 
>     Dr. Loris Bennett (Herr/Mr)
>     ZEDAT, Freie Universität Berlin         Email
>     loris.bennett at fu-berlin.de <mailto:loris.bennett at fu-berlin.de>
> 



More information about the slurm-users mailing list