diff --git a/src/moab/MRes.c b/src/moab/MRes.c index 473c516..88e8857 100644 --- a/src/moab/MRes.c +++ b/src/moab/MRes.c @@ -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);