add wclimit overrun protection
git-svn-id: svn://opensvn.adaptivecomputing.com/maui/trunk@47 3f5042e3-fb1d-0410-be18-d6ca2573e517
This commit is contained in:
parent
6cf129f4e2
commit
6f9e440ec3
@ -1 +1 @@
|
||||
#define MSCHED_VERSION "maui-3.2.6p14-snap.1129921819"
|
||||
#define MSCHED_VERSION "maui-3.2.6p14-snap.1130608625"
|
||||
|
@ -63,6 +63,7 @@ int MLimitEnforceAll(
|
||||
JobWCX = J->Cred.C->F.Overrun;
|
||||
|
||||
if ((JobWCX >= 0) &&
|
||||
(J->WCLimit > 0) &&
|
||||
(MSched.Time > J->StartTime) &&
|
||||
((unsigned long)(MSched.Time - J->StartTime) > (J->WCLimit + J->SWallTime + JobWCX)))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user