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

Re: [Condor-users] C API



I will stick to your suggestion; I will use a a wrapper for condor_q
and condor_submit.


On Mon, May 24, 2010 at 3:39 AM, Matt Hope <Matt.Hope@xxxxxxxxxxxxxxx> wrote:
> If one was available I think quite a few people would love it!
>
> You basically need to talk classads for the read aspects (various libraries to do the heavy lifting there do exist) i.e. condor_q/condor_status and submit file format[1] for condor_submit.
>
> None of that was available when I wrapped the condor_q/submit/status commands in a .Net wrapper sadly, I would think there are quite a few, slightly broken in different ways, classad parsing implementations out there :).
>
> Since condor is properly open source you could in theory take the guts of DaemonCore plus the specifics for various commands to talk over the wire to the schedd. But you would not find it easy to separate the various concerns out, and very little chance of sharing code by anything other than copy paste if you wanted to be able to integrate upstream changes into yours (even git has it's limits on merges).
>
> In theory if someone did a good enough job condor might accept a patch that did this, but it would be a significant support surface dependency that they may not want to deal with.
>
> [1] you can now pass the whole thing on stdin so you don't have to use the filesystem for that
>
> Matt
>
> -----Original Message-----
> From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Mag Gam
> Sent: 24 May 2010 05:33
> To: Condor-Users Mail List
> Subject: [Condor-users] C API
>
> Is there a native C API for condor?
>
> Instead of me using condor_q and condor_submit I would like to do this via C.
> _______________________________________________
> Condor-users mailing list
> To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
>
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/condor-users/
>
> ----
> Gloucester Research Limited believes the information provided herein is reliable. While every care has been taken to ensure accuracy, the information is furnished to the recipients with no warranty as to the completeness and accuracy of its contents and on condition that any errors or omissions shall not be made the basis for any claim, demand or cause for action.
> The information in this email is intended only for the named recipient.  If you are not the intended recipient please notify us immediately and do not copy, distribute or take action based on this e-mail.
> All messages sent to and from this email address will be logged by Gloucester Research Ltd and are subject to archival storage, monitoring, review and disclosure.
> Gloucester Research Limited, 5th Floor, Whittington House, 19-30 Alfred Place, London WC1E 7EA.
> Gloucester Research Limited is a company registered in England and Wales with company number 04267560.
> ----
>
> _______________________________________________
> Condor-users mailing list
> To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
>
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/condor-users/
>