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

Re: [HTCondor-users] Prevent preemption on specific type of jobs

Yes this is possible if you control the configuration of the execute node  your PREEMPTION_REQUIREMENTS _expression_ is evaluated in the context of SLOT and attributes of the job that is currently running can be pushed into the slot using 

The manual mentions this specifically 


From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> on behalf of duduhandelman@xxxxxxxxxxx <duduhandelman@xxxxxxxxxxx>
Sent: Tuesday, April 20, 2021 9:11 AM
To: htcondor-users@xxxxxxxxxxx <htcondor-users@xxxxxxxxxxx>
Subject: [HTCondor-users] Prevent preemption on specific type of jobs
Hi all,
I wish to prevent preemption of specific type of jobs, For example jobs with DAGNodeName = (somkind of regexp).

Is it possible to add it in any way to the preemption_requirments?

Many Thanks