Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] Extra quotes in ClassAd attribute name
- Date: Thu, 25 Jan 2024 16:43:00 +0000
- From: Jaime Frey <jfrey@xxxxxxxxxxx>
- Subject: Re: [HTCondor-users] Extra quotes in ClassAd attribute name
In current versions of HTCondor, this is the proper thing to put in your submit file:
request_cpus = 1
batch_queue = batch
want_io_proxy = true
But you can't mechanically translate these into attributes in a ClassAd or back into submit file commands.
- Jaime
> On Jan 24, 2024, at 3:12âPM, Marco Mambelli via HTCondor-users <htcondor-users@xxxxxxxxxxx> wrote:
>
> These are attributes to add to the condor submit file:
> request_cpus = 1
> +queue = "batch"
> +WantIOProxy = true
>
> That I'd like to publish as classad attributes (in the glidefactory classad) after adding a prefix, so they become:
> GlideinSubmitrequest_cpus = 1
> GlideinSubmit+queue = "batch"
> GlideinSubmit+WantIOProxy = true
>
> Is it there a standard way so that I could encode the plus so that the receiver reading the classad can get back to the original lines for the submit file?
>
> Thanks,
> Marco
>
>
>> On Jan 24, 2024, at 14:41, Todd L Miller via HTCondor-users <htcondor-users@xxxxxxxxxxx> wrote:
>>
>>> It is a bit confusing. Is it a bug or desired feature?
>>
>> As per the manual --
>>
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__htcondor.readthedocs.io_en_latest_classads_classad-2Dmechanism.html-23attributes&d=DwICAg&c=gRgGjJ3BkIsb5y6s49QqsA&r=EF06-Wh4L9CNLgD8bnIjNQ&m=Us89JX41mxxKSMU-WAqEEAZ1jhk2K38iCWGPRLh2f7KyN2gn4WOIUy9waFqDIdBQ&s=fVxecDYybMhvAaax9s5hJQS9KErWOqlW6w-eoLgwhGg&e=
>> -- the bug is that HTCondor isn't rejecting ClassAd attribute names with a '+' in them out of hand.
>>
>>> If it is desired, are there other characters causing the quoting?
>>
>> Presumably anything that's not an alphabetic character (in the ASCII sense, I presume), a digit, or an underscore. '+' is probably particularly bad because it would clearly cause an ambiguous parse in an expression (is it adding two attributes or a single attribute reference?).
>>
>> -- ToddM
>> _______________________________________________
>> 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://urldefense.proofpoint.com/v2/url?u=https-3A__lists.cs.wisc.edu_mailman_listinfo_htcondor-2Dusers&d=DwICAg&c=gRgGjJ3BkIsb5y6s49QqsA&r=EF06-Wh4L9CNLgD8bnIjNQ&m=Us89JX41mxxKSMU-WAqEEAZ1jhk2K38iCWGPRLh2f7KyN2gn4WOIUy9waFqDIdBQ&s=GNdvfbLmDvyjLZcq_0sgCr9TqF8e_uHqJr31emVB-5o&e=
>> The archives can be found at:
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.cs.wisc.edu_archive_htcondor-2Dusers_&d=DwICAg&c=gRgGjJ3BkIsb5y6s49QqsA&r=EF06-Wh4L9CNLgD8bnIjNQ&m=Us89JX41mxxKSMU-WAqEEAZ1jhk2K38iCWGPRLh2f7KyN2gn4WOIUy9waFqDIdBQ&s=ywrUF1h90wiD1L8WvrtI1_SbVz2eTMYBELO6OihpENs&e=
>
>
> _______________________________________________
> 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/