diff --git a/NEWS b/NEWS index 1cce27e6cf69e45a86874115311ec0283af2c4c0..28d775857ea0dec832ee3f117fc934c36dbe667f 100644 --- a/NEWS +++ b/NEWS @@ -131,6 +131,7 @@ documents those changes that are of interest to users and admins. -- Fix bug in sview layout if node count less than configured grid_x_width. -- Modify PAM module to prefer to use SLURM library with same major release number that it was built with. + -- Permit gres count configuration of zero. * Changes in SLURM 2.3.2 ======================== diff --git a/src/common/gres.c b/src/common/gres.c index 6b583f28ea1f762befed2b76151813791b9e2ffe..4a59265cf3e98b59033851b12aa0142dcd05cd00 100644 --- a/src/common/gres.c +++ b/src/common/gres.c @@ -691,8 +691,6 @@ static int _parse_gres_config(void **dest, slurm_parser_enum_t type, fatal("Invalid gres data for %s, Count=%s", p->name, tmp_str); } - if (tmp_long == 0) - fatal("Invalid gres data for %s, Count=0", p->name); if (p->count && (p->count != tmp_long)) { fatal("Invalid gres data for %s, Count does not match " "File value", p->name);