Alex,

On 01/27/12 04:04, Alejandro Lucero Palau wrote:
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.

Thanks for the heads up on this. It looks like this has been around for a while now (older than 2.3.2). It will be in 2.3.4.

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.
This is a good idea. Like you say it could go through and find all the user associations below the parent account (could be multiple levels) and spread it over them and only use the account association if no users are present (which would probably only happen very rarely). Let me know if you have time to work on it.

Danny



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