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

Re: [HTCondor-users] Is there any python bindings/ exposed API that works similar to condor_submit_dag



Yes; it was a added in 8.9.3. Unfortunately, you're looking at an outdated manual.

The method you need is documented here:Â https://htcondor.readthedocs.io/en/v8_9_5/apis/python-bindings/api/htcondor.html#htcondor.Submit.from_dagÂÂ

There are some usage examples in the 8.9 series release notes:Â https://htcondor.readthedocs.io/en/v8_9_5/version-history/development-release-series-89.html#development-release-series-8-9Â

Basically, htcondor.Submit.from_dag produces a Submit object that can be submitted through the normal Python binding submit mechanism for regular jobs.


Josh Karpel


On Thu, Jan 16, 2020 at 5:13 AM Htcondor user <htcondor.user@xxxxxxxxx> wrote:

Hi Team,

Â

I am trying to use python bindings and able to use Collector, Schedd classes & successfully submitted jobs as well.

Â

Now I want a functionality similar to cmd- condor_submit_dagÂbut using Python bindings exposed API's.


Till now i followed below link: (inÂModule enums -> SubsystemType-> i can see "values may beÂDagman

https://research.cs.wisc.edu/htcondor/manual/v8.6/6_7Python_Bindings.html


Dagman python API is exposed?

If Yes, can any one please share some document which describes available methods of dagman class/ any sample example?


If No, any other alternative API's exposed?ÂHow can i achieve sameÂcondor_submit_dag functionality without using cmd.Â


Thanks in advance.


_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/