generate job description language to implement periodic releases
RITM0638375 has the misleading title of 'Please add the following principals to the rexbatch .k5login on jobsub01 and jobsub02'
The actual request, according to Parag in the ticket is:
Additional comments (customer communication) 2018-01-22 14:52:30
After discussing with HTCondor team here is what you want in the condor JDL. I haven't tested it so someone (Dennis or Marc or Shreyas) needs to test it.
- Supporting attributes that need to be added to JDL are shown by + sign
- OriginalMemory = <Value of --memory>
- GraceMemory = Increment request_memory by this amount if job was put on
+OriginalMemory = 2000
+GraceMemory = 2000
+MaxAllowedMemory = $(OriginalMemory) + $(GraceMemory)
request_memory = ifthenelse(isUndefined(MemoryUsage), OriginalMemory, MaxAllowedMemory)
periodic_release = (HoldReasonCode =?= 34) && (RequestMemory < MaxAllowedMemory)