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

Re: [HTCondor-users] Directing jobs to certain nodes.



Thanks everyone!

Using your input and co-worker Steve T., we pieced together a configuration that we believe will work. Weâre waiting for the single reconfigured node to drain first before knowing for sure.

On the worker node:
IsDESNode = True
STARTD_ATTRS = IsDESNode, $(STARTD_ATTRS)
START = ($(START) && JobClass=!=UNDEFINED && JobClass=="DESâ)

âand the entire submit file:

universe = grid
grid_resource = condor server02.fnal.gov server.fnal.gov:9619
executable = test.sh
output = test.out
error = test.err
log = test.log

ShouldTransferFiles = YES
WhenToTransferOutput = ON_EXIT

use_x509userproxy = true
+Owner=undefined

+JobClass="DES"
+remote_requirements = (IsDESNode =!=UNDEFINED && IsDESNODE==True )

queue


Paul

> On Dec 21, 2015, at 2:45 PM, Iain Bradford Steers <iain.steers@xxxxxxx> wrote:
> 
> Hi Paul,
> 
> From the looks of what you want to achieve the +IsDESNode = True line in your submit file needs removed.
> 
> All that line does is add the key-value pair to your job classed.
> 
> Which then looks like it might confuse your Requirements line.
> 
> Cheers, Iain
> 
>> On Dec 21, 2015, at 20:27, Paul E Tader <ptader@xxxxxxxx> wrote:
>> 
>> Hello everyone,
>> 
>> We want to send jobs to a subset of our nodes. Only these jobs should run on these nodes. Iâve read though the docs and tried several variations of the configuration below but I still canât get my jobs to run only on the re-configured nodes.
>> 
>> # condor_version
>> $CondorVersion: 8.2.8 Aug 03 2015 $
>> $CondorPlatform: X86_64-CentOS_6.6 $
>> 
>> In our nodes configuration:
>> IsDESNode = True
>> STARTD_ATTRS = IsDESNode, $(STARTD_ATTRS)
>> STARTD_EXPRS = $(STARTD_EXPRS)
>> START = ($(START))
>> 
>> # condor_config_val -dump |grep -i des
>> IsDESNode = True
>> 
>> âand in my submit file
>> +IsDESNode = True
>> +Requirements = (IsDESNode =?= True)
>> 
>> The jobs runs, but on other nodes. Any incorrect syntax or missing?  Thanks for any help or tips.
>> 
>> Paul
>> 
>> _______________________________________________
>> HTCondor-users mailing list
>> To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
>> subject: Unsubscribe
>> You can also unsubscribe by visiting
>> https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
>> 
>> The archives can be found at:
>> https://lists.cs.wisc.edu/archive/htcondor-users/
> 
> _______________________________________________
> HTCondor-users mailing list
> To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
> 
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/htcondor-users/

Attachment: smime.p7s
Description: S/MIME cryptographic signature