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))


-- 
 Christopher Samuel        Senior Systems Administrator
 VLSCI - Victorian Life Sciences Computation Initiative
 Email: sam...@unimelb.edu.au Phone: +61 (0)3 903 55545
 http://www.vlsci.org.au/      http://twitter.com/vlsci

Reply via email to