FIX: fixed the construction of a group fairshare component when percent based fairshare is enabled

git-svn-id: svn://opensvn.adaptivecomputing.com/maui/trunk@90 3f5042e3-fb1d-0410-be18-d6ca2573e517
This commit is contained in:
josh 2007-06-27 20:04:10 +00:00
parent 95c2e6c639
commit f8f49a33ae

View File

@ -808,7 +808,7 @@ int MJobGetStartPriority(
{
if (MSched.PercentBasedFS == TRUE)
{
SFactor[mpsFU] = 1.0 -
SFactor[mpsFG] = 1.0 -
(((J->Cred.G->F.FSUsage[0] + J->Cred.G->F.FSFactor) /
(GP->F.FSUsage[0] + GP->F.FSFactor) * 100.0)/FSTargetUsage);
}