On Thu, Jun 18, 2009 at 06:02:05AM +0200, Åke Sandgren wrote:
> > We run a slightly older version of Maui, and if these issues has been
> > fixed, I would immediately upgrade.
>
> REJECTNEGPRIOJOBS FALSE
> ENABLENEGJOBPRIORITY TRUE
>
> is what you want. Not sure in which version they showed up but at least
> from 3.2.6p12
Maybe I'm misreading the source, but this does not seem to do anything.
In MPriority.c MJobGetStartPriority() ther are tons of calls to ABS()
and I find this code suspect:
if (FSTargetUsage > 0.0)
{
SFactor[mpsFU] = FSTargetUsage -
(J->Cred.U->F.FSUsage[0] + J->Cred.U->F.FSFactor) /
(GP->F.FSUsage[0] + GP->F.FSFactor) * 100.0;
switch(FSMode)
{
case mfstCeiling: SFactor[mpsFU] = MIN(SFactor[mpsFU],0.0);
break;
case mfstFloor: SFactor[mpsFU] = MAX(SFactor[mpsFU],0.0);
break;
case mfstCapAbs: SFactor[mpsFU] = 0.0; break;
case mfstCapRel: SFactor[mpsFU] = 0.0; break;
}
}
}
I am using the ceiling FSMode.
Later, all of the priority subcomponents are calculated with:
for (index = 1;index < MAX_MPRIOSUBCOMPONENT;index++)
{
SP[index] = (APrio != 0.0) ?
ABS((double)SWeight[index] * SFactor[index]) / APrio * 100.0:
0.0;
...
}
This subroutine is vey long, and I could be missing something, but it
seems as though the fairshare values are not being calculated correctly.
-mb
--
+-----------------------------------------------
| Michael Barnes
|
| Thomas Jefferson National Accelerator Facility
| 12000 Jefferson Ave.
| Newport News, VA 23606
| (757) 269-7634
+-----------------------------------------------
_______________________________________________
mauiusers mailing list
[email protected]
http://www.supercluster.org/mailman/listinfo/mauiusers