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

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



Thanks John.
Looks perfect. 

Get Outlook for Android


From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> on behalf of John M Knoeller via HTCondor-users <htcondor-users@xxxxxxxxxxx>
Sent: Wednesday, April 21, 2021, 02:46
To: HTCondor-Users Mail List
Cc: John M Knoeller
Subject: 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 
STARTD_JOB_EXPRS

The manual mentions this specifically 
Configuration Macros — HTCondor Manual 9.0.0 documentation

-tj

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
David.