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

Re: [HTCondor-users] monitor for dagman job to finish



On Tue, 29 Apr 2014, Jiande Wang wrote:

On Apr 29, 2014, at 5:11 PM, "R. Kent Wenger" <wenger@xxxxxxxxxxx> wrote:

2. You can put a FINAL node into your DAG. A FINAL node is always run at the end of the workflow, even if the workflow fails. So you can do error checking, etc., in your FINAL node.

In CONDOR manual, it says this kind of method does not work for dagman with parent/child relation.

Yes, the final node cannot have parents or children, because it's run at the end of the run, no matter how far through the DAG you get. So, for example, if a bunch of nodes fail and only half of the DAG finishes, the final node still gets run before DAGMan leaves the queue. If the final node had any specific parent, that would violate these semantics.

Kent