Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] Getting tangled in $$() and $$([])
- Date: Thu, 13 Jul 2017 21:41:44 +0000
- From: Jaime Frey <jfrey@xxxxxxxxxxx>
- Subject: Re: [HTCondor-users] Getting tangled in $$() and $$([])
> On Jul 11, 2017, at 3:24 PM, Michael Pelletier <Michael.V.Pelletier@xxxxxxxxxxxx> wrote:
>
> Basically what I'm trying to do is change the input arguments if NumJobStarts > 1, in order to add a snapshot file argument from an attribute generated in a PreCmd and delivered via condor_chirp. But it seems like in order to do this I'd need to specify the Args directly as a +Args ClassAd expression as opposed to a submit description arguments command.
>
> The $() is only good for machine attributes, as the documentation describes, but I take it that $$([]) is also similarly restricted to machine attributes even though you can specify "TARGET" in there?
With $$([]), the expression is evaluated as if it appeared in the job ad, with the machine ad available as a TARGET. That is, attributes with no scoping prefix are looked up first in the job ad, and then the machine ad.
- Jaime