[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] dagman api
- Date: Fri, 25 Oct 2013 11:47:08 -0500
- From: Todd Tannenbaum <tannenba@xxxxxxxxxxx>
- Subject: Re: [HTCondor-users] dagman api
On 10/25/2013 7:27 AM, Keith Brown wrote:
I suppose my intention was to build a Python API for it but it seems if I
call subprocess in python to condor_dag_man, I think that should be
I think you likely want your python code to call condor_submit_dag (to
submit a workflow), not invoke condor_dagman directly yourself.
What condor_submit_dag does is create a regular condor_submit submit
file that tells HTCondor to run condor_dagman as a scheduler universe
job, passing your dag specification file as input to condor_dagman. If
you really don't like the idea of Python spawning condor_submit_dag, you
could use the HTCondor Python APIs to submit dagman as a scheduler
universe job the same way that condor_submit_dag does.
On Thu, Oct 24, 2013 at 4:35 PM, R. Kent Wenger <wenger@xxxxxxxxxxx> wrote:
On Thu, 24 Oct 2013, Todd Tannenbaum wrote:
and the parse logic for a DAGMan submit file looks to be at
Yes, that's the code that parses the DAG files.
You may also want to take a look at AddNode() in dagman_commands.cpp.
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@cs.**wisc.edu<htcondor-users-request@xxxxxxxxxxx>with a
You can also unsubscribe by visiting
The archives can be found at:
Todd Tannenbaum <tannenba@xxxxxxxxxxx> University of Wisconsin-Madison
Center for High Throughput Computing Department of Computer Sciences
HTCondor Technical Lead 1210 W. Dayton St. Rm #4257
Phone: (608) 263-7132 Madison, WI 53706-1685