From f8f49a33ae0f2452a00b25931b33ecd2a394e101 Mon Sep 17 00:00:00 2001 From: josh Date: Wed, 27 Jun 2007 20:04:10 +0000 Subject: [PATCH] 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 --- src/moab/MPriority.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/moab/MPriority.c b/src/moab/MPriority.c index 81ebd26..af324f8 100644 --- a/src/moab/MPriority.c +++ b/src/moab/MPriority.c @@ -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); }