The attached small patch fixes the output of two log entrys so that the
logged time is correct (instead of always 00:00:00).
There is also a problem with the "search for 'spanning' resources" part
of the MJobGetEStartTime since it will return a bogus EStartTime value
due to the fact that BestStartTime is never set in that part of the code
and *EStartTime is still set to BestStartTime.
There is no "if (JobStartTime < BestStartTime)" check in the spanning
part of the code.
--
Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden
Internet: [EMAIL PROTECTED] Phone: +46 90 7866134 Fax: +46 90 7866126
Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se
diff -Bru site/src/moab/MJob.c amd64_deb31/src/moab/MJob.c
--- site/src/moab/MJob.c 2005-09-23 22:10:41.000000000 +0200
+++ amd64_deb31/src/moab/MJob.c 2006-01-26 17:56:41.000000000 +0100
@@ -7363,7 +7363,7 @@
BestTaskCount,
EP->Name,
J->Name,
- MULToTString(*EStartTime - MSched.Time));
+ MULToTString(BestStartTime - MSched.Time));
/* apply locality constraints */
@@ -7598,7 +7598,7 @@
DBG(2,fSCHED) DPrint("INFO: located resources for %d tasks for spanning job %s at time %s in range %d\n",
J->Request.TC,
J->Name,
- MULToTString(*EStartTime - MSched.Time),
+ MULToTString(BestRange[rindex].StartTime - MSched.Time),
rindex);
if (MJobAllocMNL(
_______________________________________________
mauiusers mailing list
[email protected]
http://www.supercluster.org/mailman/listinfo/mauiusers