Hi,

There's a bug at  as_mysql_rollup.c, line 951  in slurm  2.3.2, 2.3.3
and 2.4.0-pre2:

if (!a_usage->id == associd) {

should be

if (a_usage->id == associd) {


In other case just proportional idle reservation  time is counted for
the assoc since two a_usage records for the same assoc are created, one
with cputime used by jobs of the assoc and other with proportional idle
cputime of the reservation. When this a_usage records are inserted in
the DB, the last one will destroy the first one.


By the way, I can see that reservation time not used by anyone is
proportional added to each assoc listed on reservation record. I wonder
if there should be a check there for, in case the assoc has not a user
name (so this assoc is an account), getting the assoc list  from this
account and then adding the proportional idle reservation time to those
assocs.



WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.

http://www.bsc.es/disclaimer.htm

Reply via email to