[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Getting preemption going..



Hi Christoph,

On 3/16/20 6:10 PM, Beyer, Christoph wrote:
> nice approach, ther is a '$' missing but that is probably just an error that came in during copying to e-mail ;) 
> 
> JobExceedsMinRunTime = $(ActivationTimer) > ( MinRunTimeHours * 60)

Well, let's see if this approach will hold one we get this simple case
going and we add GPU jobs and interactive jobs into the mix...

But I think NOT placing the $ here is correct, as it (implicitly)
references a machine class ad from the startd, i.e. MY.MinRunTimeHours

as can be seen from the debug logs (when putting in "MY." explicitly):

03/16/20 17:18:54 Classad debug: 1584347473 --> 1584347473
03/16/20 17:18:54 Classad debug: [0.00811ms] JobStart --> 1584347473
03/16/20 17:18:54 Classad debug: time() --> 1584379134
03/16/20 17:18:54 Classad debug: 1584347473 --> 1584347473
03/16/20 17:18:54 Classad debug: [0.00715ms] JobStart --> 1584347473
03/16/20 17:18:54 Classad debug: [0.03600ms] ifThenElse(JobStart isnt
undefined,(time() - JobStart),0) --> 31661
03/16/20 17:18:54 Classad debug: My --> CLASSAD
03/16/20 17:18:54 Classad debug: 5 --> 5
03/16/20 17:18:54 Classad debug: [0.01287ms] My.MinRunTimeHours --> 5
03/16/20 17:18:54 Classad debug: [0.00095ms] RemoteUserPrio --> 365325
03/16/20 17:18:54 Classad debug: [0.00095ms] SubmitterUserPrio --> 226.792
03/16/20 17:18:54 Classad debug: "a3305.atlas.local" --> a3305.atlas.local
03/16/20 17:18:54 Classad debug: [0.00691ms] Machine --> a3305.atlas.local

Cheers

carsten

-- 
Dr. Carsten Aulbert, Max Planck Institute for Gravitational Physics,
CallinstraÃe 38, 30167 Hannover, Germany
Phone: +49 511 762 17185

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature