Hi John, I am not trying to come up with a counter using periodic hold/release. Instead I want to use it in periodic release.
Job can be held for N number of times for M number of reasons, different reason each time. All I am interested is in counting how many times the job is on hold with a given code I am interested
in. Just using NumJobStarts does not help as I cannot assume that the job is put on hold for only the specific reason. _____________________________________________ Parag Mhashilkar Fermi National Accelerator Laboratory WWW: www.fnal.gov Phone: 1 (630) 840-6530 Fax: 1 (630) 840-3109 _____________________________________________ From:
HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> on behalf of John M Knoeller <johnkn@xxxxxxxxxxx> There is no way for you to add your own counters using Periodic hold/release statements, but you can make use of an existing counter IF you can assume that the only reason a job would be
evicted from a slot is because it was put on hold. In that case, you can use NumJobStarts <= 1 to check to see if the job has been started at least once already. Since we only evaluate periodic release when the job is on hold this will probably work very well in practice. -tj From: HTCondor-users [mailto:htcondor-users-bounces@xxxxxxxxxxx]
On Behalf Of Parag A Mhashilkar Hi Steve, This solution is not generic enough to use for me and requires extra configuration which I am trying to avoid. _____________________________________________ Parag Mhashilkar Fermi National Accelerator Laboratory WWW:
www.fnal.gov Phone: 1 (630) 840-6530 Fax: 1 (630) 840-3109 _____________________________________________ From:
HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> on behalf of Steven C Timm <timm@xxxxxxxx>
Can you configure it to have
LastHoldReason0 LastHoldREason1 LastHoldReason2 and so forth, with corresponding codes and subcodes, that should be possible to do. Then you could look at all of those, and see. Steve Timm From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx>
on behalf of Parag A Mhashilkar <parag@xxxxxxxx>
Hi, I want to set a periodic release for a job in case the job is held with code 34 only so I can request more memory next time when it is released. However, I want the periodic_release
to be triggered only once for these set of jobs. I got most of the logic figured out, but am missing on how to put the counter in place for number of times the job was held with holdcode 34. Is there a macro or standard job classad attribute I am missing?
_____________________________________________ Parag Mhashilkar Fermi National Accelerator Laboratory WWW:
www.fnal.gov Phone: 1 (630) 840-6530 Fax: 1 (630) 840-3109 _____________________________________________ |