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

Re: [HTCondor-users] adding multiple machine/slot ClassAds to job ClassAds/SUBMIT_ATTRS



I don't get the same error you did, but it did work for me when I tried putting the list in quotes:

JobMachineAttrs = "OpSysAndVer,CondorVersion"
SUBMIT_ATTRS = $(SUBMIT_ATTRS), JobMachineAttrs

Just curious, what version of HTCondor are you running? (On the submit side)


Cheers,
-zach


> -----Original Message-----
> From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> On Behalf Of
> Thomas Hartmann
> Sent: Wednesday, April 04, 2018 8:20 AM
> To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
> Subject: [HTCondor-users] adding multiple machine/slot ClassAds to job
> ClassAds/SUBMIT_ATTRS
> 
> Hi all,
> 
> probably I am missing the wood for the trees... but I cannot add more
> than one machine class ad as submission attributes to jobs??
> 
> E.g., with just one ad [1], I can happily submit on the scheduler.
> When adding a second ad, Condor complains about not being able to parse
> the expression? [2]
> 
> Maybe somebody has an idea?
> 
> Cheers and thanks,
>   Thomas
> 
> 
> [1]
> SUBMIT_ATTRS = $(SUBMIT_ATTRS), JobMachineAttrs
> JobMachineAttrs = OpSysAndVer
> 
> 
> [2]
> SUBMIT_ATTRS = $(SUBMIT_ATTRS), JobMachineAttrs
> JobMachineAttrs = OpSysAndVer, CondorVersion
> >>
> >>
> ERROR: Parse error in expression:
> 	JobMachineAttrs = OpSysAndVer, CondorVersion
> Error in config file SUBMIT_ATTRS or SUBMIT_EXPRS value. Aborting submit.