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

Re: [Condor-users] Visualizing a cyclic DAGs with dot



On Fri, 21 Aug 2009, Maria Jonas wrote:

I know that DAGMan can assist you in visualizing a DAG with dor.

I would like specify a CYCLIC graph with DAGMan instead and then visualize it with dot.

Is this possible and how?

It should be sort of possible. If you have DAGMAN_STARTUP_CYCLE_DETECT set to false (or not set at all), DAGMan won't actually check for a cycle in the graph at startup time. (The default is false because that's a pretty expensive operation.)

So DAGMan will run the workflow until it hits the point when it finds out that there's a cycle. If you have it set up to generate a DOT file (see http://www.cs.wisc.edu/condor/manual/v7.3/2_10DAGMan_Applications.html#SECTION003109000000000000000) you should get something you can view in dot. I suspect that you won't get an update right at the end, though.

I don't think we've ever tried this, so take this info with a grain of salt. But I think it's worth trying, anyhow.

Kent Wenger
Condor Team