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

Re: [Condor-users] custom machine classad attributes



On Thursday, July 21, 2011 at 4:31 PM, Rowe, Thomas wrote:
Nevermind. The only problem appears to be that I was missing quotation
marks around the value.

MYTHINGY = "blah"

Then it works. Condor just silently ignores the line rather than give an
error?

It's not an error. They just mean different things.

MYTHING = "blah"

Means: set an attribute named MYTHING to the string value "blah".


MYTHING = blah

Means: set an attribute named MYTHING to be a reference to an attribute named blah. The reference isn't resolved until MYTHING is used in an _expression_ IIRC.


Regards,
- Ian

---
Ian Chesal

Cycle Computing, LLC
Leader in Open Compute Solutions for Clouds, Servers, and Desktops
Enterprise Condor Support and Management Tools

http://www.cyclecomputing.com
http://www.cyclecloud.com
http://twitter.com/cyclecomputing