grondo / sqlog

SLURM job completion log database and query tool
GNU General Public License v2.0
9 stars 5 forks source link

slurm-joblog.pl should use $ENV{NODECNT} if set by slurm? #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently slurm-joblog.pl sets nodecount based on a nodelist

    # set nodecount to 0 if no nodelist is specified,
    # otherwise count the number of nodes
    $conf{nodecount} = ($conf{nodes} =~ /^\s*$/) ? 0 : expand($conf{nodes});

Newer versions of SLURM seem to set a NODECNT variable for the script,
and it seems like a better idea to use that.

Original issue reported on code.google.com by mark.gro...@gmail.com on 26 Apr 2011 at 1:36

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r141.

Original comment by mark.gro...@gmail.com on 11 Jul 2011 at 10:31