Hao, I think it's a shell-escaping problem. I'm assuming you're using bash. When I run this: export _condor_START=((Owner=="xxx")||(Owner=="yyy")) I get "-bash: syntax error near unexpected token `('" which would explain why Condor complains about START not being defined. On the other hand, when I run this: export _condor_START=Owner=="xxx"||Owner=="yyy" It seems to work. Checking the actual value, though, gives this: [~]$ echo $_condor_START Owner==xxx Which means START is defined for Condor, but to something that won't evaluate to true (at least not in the case you want). Try wrapping it in single quotes: export _condor_START='((Owner=="xxx")||(Owner=="yyy"))' That gives me this, which is what Condor needs to see: [~]$ echo $_condor_START ((Owner=="xxx")||(Owner=="yyy")) Regards, Doug -- =================================== Douglas Clayton phone: 919.647.9648 Cycle Computing, LLC Leader in Utility Supercomputing
http://www.cyclecomputing.com On May 14, 2012, at 6:19 AM, Hao Liu wrote:
|