diff --git a/doc/man/man1/sacctmgr.1 b/doc/man/man1/sacctmgr.1 index cab5a52f23d8e990d63a6ffae7810ed8afc99d4c..5b5bdba4842edab97ab5aed57c51056a82ae04ab 100644 --- a/doc/man/man1/sacctmgr.1 +++ b/doc/man/man1/sacctmgr.1 @@ -1079,7 +1079,8 @@ Maximum number of nodes each job is able to use. .TP \fIMinCPUs\fP -Minimum number of CPUs each job is allowed to use. +Minimum number of CPUs each job running under this QOS must request. +Otherwise the job will pend until modified. .TP \fIMaxNodesPerUser\fP @@ -1264,7 +1265,8 @@ To clear a previously set value use the modify command with a new value of \-1. .TP \fIMinCPUs\fP -Minimum number of CPUs each job is allowed to use. +Minimum number of CPUs each job running under this QOS must request. +Otherwise the job will pend until modified. To clear a previously set value use the modify command with a new value of \-1. diff --git a/src/common/assoc_mgr.c b/src/common/assoc_mgr.c index 538fe019071be4c99b03d4c5803d0a0da715fd48..7832d8c7f259a6ce35384ef6ea0846d4ede046c8 100644 --- a/src/common/assoc_mgr.c +++ b/src/common/assoc_mgr.c @@ -3428,7 +3428,7 @@ extern int assoc_mgr_update_qos(slurmdb_update_object_t *update) rec->max_wall_pj = object->max_wall_pj; } - if (object->min_cpus_pj != NO_VAL) + if (object->min_cpus_pj != NO_VAL) rec->min_cpus_pj = object->min_cpus_pj; if (object->preempt_bitstr) {