Hi Chris,

Christopher Samuel <sam...@unimelb.edu.au>
writes:

> On 30/06/16 17:37, Loris Bennett wrote:
>
>> With version slurm 15.08.8, the node-oriented output of 'sinfo' is not
>> longer aggregated.  Instead I get a line for each node, even if the data
>> for multiple nodes are the same,
>
> I think it's a deliberate change, and the it's the manual page
> that is out of step. Looks like it changed around 15.08.4.
>
> $ git describe eafec3c0c0cb977361a5b10388d5469136e1ef38
> slurm-15-08-3-1-94-geafec3c
>
> commit eafec3c0c0cb977361a5b10388d5469136e1ef38
> Author: Morris Jette <je...@schedmd.com>
> Date:   Mon Nov 23 15:48:15 2015 -0800
>
>     sinfo: Print each node one separate line with -N option
>
> diff --git a/src/sinfo/sinfo.c b/src/sinfo/sinfo.c
> index 2613629..78f2857 100644
> --- a/src/sinfo/sinfo.c
> +++ b/src/sinfo/sinfo.c
> @@ -736,6 +736,9 @@ static bool _match_node_data(sinfo_data_t *sinfo_ptr, 
> node_info_t *node_ptr)
>  {
>         uint32_t tmp = 0;
>
> +       if (params.node_flag)
> +               return false;
> +
>         if (params.match_flags.hostnames_flag &&
>             (hostlist_find(sinfo_ptr->hostnames,
>                            node_ptr->node_hostname) == -1))

Thanks for looking into the issue.  I'm sure there are good reasons to
want one line per node, but equally I thought the aggregated view was
quite useful even though I've only got just over 100 nodes.  Surely
those with many thousands of nodes would like the option of having a
more compact view.  Or do they obtain similar information in a
completely different way?

Cheers,

Loris

-- 
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin         Email loris.benn...@fu-berlin.de

Reply via email to