One could do that - but I imagine such a thing would be a separate library.
For the bindings, I think this level of interface is appropriate (perhaps with the exception of calling CreateJobAd(); I've found malformed ads can really muck with the schedd). I want to provide a well-designed, safe, reliable, minimal interface to the insides of libcondor_utils. This foundation would then serve as something others can build upon.
I worry about providing "too much" functionality in the bindings module, as the logical extreme is to completely re-implement all of the Condor client tools. I want to steer clear of that.
Brian
what about using condor_submit -dump to convert a submit file into
a classad, then submit it via the raw classad interface?
-tj
On 1/7/2013 10:30 AM, Jaime Frey wrote:
Submitting via a raw ClassAd interface is a
touch "fun" as you get to figure out which magic attributes
are required in the job (see https://htcondor-wiki.cs.wisc.edu/index.cgi/tktview?tn=3406). However, I don't plan on re-implementing
condor_submit, so this interface will likely remain
developers-only.
You should check out the function CreateJobAd(). It
creates and returns a job ad with all of the attributes
set like the schedd expects for a new job.
Thanks and regards,
Jaime Frey
UW-Madison HTCondor Project
_______________________________________________
HTCondor-devel mailing list
HTCondor-devel@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-devel
_______________________________________________ HTCondor-devel mailing list HTCondor-devel@xxxxxxxxxxx https://lists.cs.wisc.edu/mailman/listinfo/htcondor-devel |