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

Re: [HTCondor-users] odd behavior of condor_qedit



I believe that I have found the solution to this in JobRouter context.
Use EVALSET, not SET !

On 15/04/2026 01:52, Stefano Belforte wrote:

how may I add an element to my list
DESIRED_SITES = "T1_US_FNAL,T3_US_FNALLPC"
?

i.e.

I should not use:
SET DESIRED_SITES=strcat(DESIRED_SITES,",T2_US_MIT")
which replaces the DESIRED_SITES ad with a recursive expression,

but:
EVALSET DESIRED_SITES=strcat(DESIRED_SITES,",T2_US_MIT")
which evaluates the RHS to a string using current value of the ad
and then sets the ad to the new string

Thanks for your suggestions and patience !

Stefano