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

[HTCondor-users] Disable preemption for an Accounting group



Hi,

 

I would like to have a PREEMPTION_REQUIREMENTS _expression_ that is always false for one specific accounting group, and evaluates the user priority for all the other jobs.

I have tried this:

 

PREEMPTION_REQUIREMENTS = (TARGET.AcctGroup != "no_preempt") && (RemoteUserPrio > TARGET.SubmitterUserPrio * 1.2)

PREEMPTION_REQUIREMENTS = (TARGET.AccountingGroup != "no_preempt") && (RemoteUserPrio > TARGET.SubmitterUserPrio * 1.2)

PREEMPTION_REQUIREMENTS = (TARGET.AccountingGroup != UNDEFINED && TARGET.AccountingGroup != "no_preempt") && (RemoteUserPrio > TARGET.SubmitterUserPrio * 1.2)

PREEMPTION_REQUIREMENTS = (TARGET.AcctgGroup != UNDEFINED && TARGET.AcctgGroup != "no_preempt") && (RemoteUserPrio > TARGET.SubmitterUserPrio * 1.2)

 

 

But with these expressions nothing is preempted anymore, as if they were always false…

 

Thanks,

 

Gaëtan Geffroy