Subject: [HTCondor-users] "if defined" fails for VARS from DAG
It seems as though VARS defined in a DAG get carried over into the
node's job file, but don't make 'if defined' true. Here is a test
ÂÂÂ executable = /usr/bin/echo
ÂÂÂ if defined A
ÂÂÂ ÂÂ arguments = "defined A=$(A)"
ÂÂÂ ÂÂ arguments = "undefined A=$(A)"
ÂÂÂ output = test.out
ÂÂÂ VARS test A="42"
ÂÂÂ JOB test test.job
Now, 'condor_submit A=99 test.job' correctly results in 'defined
A=99', whereas 'condor_submit_dag test.dag' results in 'undefined
A=42'. This is unexpected: A is undefined, yet appears to have value