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

[HTCondor-users] PREEMPTION_RANK undefined variables

I am trying to set the PREEMPTION_RANK in my config file but the inputs are undefined. I set in my config:


PREEMPTION_RANK = debug((ifThenElse(isUndefined(RemoteUserPrio), 0, RemoteUserPrio) * 1000000) - ifThenElse(isUndefined(TotalJobRunTime), 0, TotalJobRunTime))


In the Negotiator Log, I am getting:


11/08/21 12:39:14 Classad debug: RemoteUserPrio --> UNDEFINED

11/08/21 12:39:14 Classad debug: isUndefined(RemoteUserPrio) --> TRUE

11/08/21 12:39:14 Classad debug: ifThenElse(isUndefined(RemoteUserPrio),0,RemoteUserPrio) --> 0

11/08/21 12:39:14 Classad debug: TotalJobRunTime --> UNDEFINED

11/08/21 12:39:14 Classad debug: isUndefined(TotalJobRunTime) --> TRUE

11/08/21 12:39:14 Classad debug: ifThenElse(isUndefined(TotalJobRunTime),0,TotalJobRunTime) --> 0

11/08/21 12:39:14 Classad debug: (ifThenElse(isUndefined(RemoteUserPrio),0,RemoteUserPrio) * 1000000) - ifThenElse(isUndefined(TotalJobRunTime),0,TotalJobRunTime) --> 0


Is there a different variable I could use for RemoteUserPrio and TotalJobRuntime?


I am using version 8.8.12




This communication (both the message and any attachments or links) is confidential and only intended for the use of the person or persons to whom it is addressed unless we have expressly authorized otherwise. It also may contain information that is protected by solicitor-client privilege. If you are reading this communication and are not an addressee or authorized representative of an addressee, we hereby notify you that any distribution, copying or other use of it without our express authorization is strictly prohibited. If you have received this communication in error, please delete both the message and any attachments from your system and notify us immediately by e-mail or phone. In addition, we note that this communication and its transmission of data have not been secured by encryption. Therefore, we are not able to confirm or guarantee that the communication has not been intercepted, amended, or read by an unintended third party.