[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



Hi Zach,

ah, yes - quotation marks do the trick! :)

I have submitted from a test scheduler running currently on
  8.6.9-1
(had it last week on 8.6.10-1 but downgraded it recently because of some
issues (which were -in the end- unrelated to Condor) )

Cheers and thanks,
  Thomas

On 2018-04-04 16:22, Zach Miller wrote:
> 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.
> 
> 
> _______________________________________________
> 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: signature.asc
Description: OpenPGP digital signature