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

Re: [Condor-users] Classads and matchmakiing



Hi Mark,

I think you need to remove the square brackets here:
> +testType = "$$([TEST_TYPE])"


However, the $$() macro will re-match each time, so I don't think this
will get your jobs to "stay on the color they started with" if the job
pre-empts and is moved around.



> Requirements =  (TEST_TYPE =!= UNDEFINED) && ((MY.testType =?= "") || 
> (MY.testType =?= UNDEFINED) || (MY.testType == TEST_TYPE))
> 
> The problem is that this never matches. I was hoping that since the $$() 
> construct only evaluates after a match has been made then either 
> (MY.testType =?= "") or (MY.testType =?= UNDEFINED) would evaluate to 
> true on the initial submission, with (MY.testType == TEST_TYPE) becoming 
> true for a specific TEST_TYPE in any subsequent rescheduled event.
> 
> Apparently I'm doing something silly, so would any kind soul like to 
> point out my mistake?
> 
> Best regards,
> Mark