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

Re: [Condor-users] DAGman in WS-API ?



Matias Alberto Gavinowich wrote:
Hi,

I am designing a new application that uses Condor and thus I am
researching on the features provided by each component I might use.

I have successfully used Condor DAGman from the command line
(condor_submit_dag), but as my app is in Java I'd rather communicate
to condor using the WS-API. However, when reading the manual at
http://www.cs.wisc.edu/condor/manual/v7.0/4_4Application_Program.html#SECTION00541000000000000000
I don't find a way to specify dependencies among jobs.

Are DAGs supported in the WS-API like in the command line? I would
appreciate it if someone could clarify this for me and perhaps give me
some pointers to information that could help me get it running.

As a side question, if DAGs can be submitted, I'd really like to be
able to retrieve DOT information for that DAG, the same I do by
including a 'DOT file_name'  line in the condor submission file when I
do it from the command line.

Thank you for your help,

Matt

DAGs are supported. Essentially you submit condor_dagman itself as a Scheduler Universe job along with all the data it needs.

There is information on this somewhere in the list archives. The general idea is to submit your DAG and look at the class ad (condor_q -l) for condor_dagman. There are some extra attribute you need to send along (like Env).

If you can't dig up the information let me know and I'll have a look.

Best,


matt