fix reservation allocation charging
git-svn-id: svn://opensvn.adaptivecomputing.com/maui/trunk@37 3f5042e3-fb1d-0410-be18-d6ca2573e517
This commit is contained in:
parent
0775101d18
commit
9f7048fa71
@ -166,8 +166,10 @@ int MResCreate(
|
||||
strcmp(CAName,NONE))
|
||||
{
|
||||
MAcctAdd(CAName,&R->A);
|
||||
|
||||
/* prevent checkpointed rsv's from double creating AM reservations */
|
||||
|
||||
if (MSched.Iteration > 0)
|
||||
if (MSched.Iteration >= 0)
|
||||
{
|
||||
if (StartTime > MSched.Time)
|
||||
WallTime = MIN(MAM[0].FlushInterval,EndTime - StartTime);
|
||||
|
Loading…
Reference in New Issue
Block a user