Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] DAGman -appends VARS, which trips up submit conditionals
- Date: Sat, 02 Feb 2019 02:51:09 +0000
- From: Michael Pelletier <Michael.V.Pelletier@xxxxxxxxxxxx>
- Subject: Re: [HTCondor-users] DAGman -appends VARS, which trips up submit conditionals
I seem to have hit upon a workaround, which is to create a stub submit file for each allowable mode in the "if" statements which sets the desired variable, then includes the conditional-ized submit description. The users will still be able to use condor_submit mode=one original.submit, but DAGman can use the stub submits instead.
JOB one mode_one_stub.submit
With this stub file:
----
MODE=one
Include : original.submit
----
Rather than:
JOB one original.submit
VARS one MODE="one"
It's vexing to have these extra files around, though, so if there's another way to do it that keeps things down to a single submit file, that'd be great.
-Michael Pelletier.