[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] DAGman VARS uses -append, bypassing submit conditionals
- Date: Tue, 16 Apr 2019 15:48:33 +0000
- From: John M Knoeller <johnkn@xxxxxxxxxxx>
- Subject: Re: [HTCondor-users] DAGman VARS uses -append, bypassing submit conditionals
That's an interesting request. What would you think about a dagman configuration option that says
"pass VARS as a submit prefix statements rather than as a submit append statements"
So you would be able to opt in to VARS as prefix, but not no a per-node basis.
would that work for you?
From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> On Behalf Of Michael Pelletier
Sent: Tuesday, April 16, 2019 9:55 AM
To: HTCondor-Users Mail List (htcondor-users@xxxxxxxxxxx) <htcondor-users@xxxxxxxxxxx>
Subject: [HTCondor-users] DAGman VARS uses -append, bypassing submit conditionals
While working on a DAGman workflow to accelerate FPGA layout optimization, I came across an interesting issue.
Since there's only a handful of differences between different stages of the workflow, I set up a list of "if / endif" conditionals thinking that I could use a DAGman VARS statement to choose the right mode of operation of the shared submit description file.
However, DAGman appears to be set up to use the "-append" option for its "condor_submit" calls, which means that "MODE=1" is not set until after all of the if/endif statements have already been evaluated, and since the parser does only one pass on conditionals - as you would expect - the "-append" option means that DAGman VARS can't be used to control submit conditionals.
Is there a way to prepend VARS at submit time? If not, can we consider this a feature request?
I got around it by using a collection of stub submit files which set the MODE and then include the common submit, but it'd be nice to have one file instead of seven.
Michael V. Pelletier
Digital Transformation & Innovation
Integrated Defense Systems
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
You can also unsubscribe by visiting
The archives can be found at: