Contents Index

Chapter 7
Application Programming Interfaces (APIs)

There are several ways of interacting with the HTCondor system. Depending on your application and resources, the interfaces to HTCondor listed below may be useful for your installation. Generally speaking, to submit jobs from a program or web service, or to monitor HTCondor, the python bindings are the easiest approach. Chirp provides a convenient way for a running job to update information about itself to its job ad, or to remotely read or write files from the executing job on the worker node to/from the submitting machine.

Older programs which have SOAP bindings may find the HTCondor SOAP interfaces useful.

If you have developed an interface to HTCondor, please consider sharing it with the HTCondor community.

 7.1 Python Bindings
  7.1.1 htcondor Module
  7.1.2 Sample Code using the htcondor Python Module
  7.1.3 ClassAd Module
  7.1.4 Sample Code using the classad Module
 7.2 Chirp
 7.3 The HTCondor User and Job Log Reader API
  7.3.1 Constants and Enumerated Types
  7.3.2 Constructors and Destructors
  7.3.3 Initializers
  7.3.4 Primary Methods
  7.3.5 Accessors
  7.3.6 Methods for saving and restoring persistent reader state
  7.3.7 Save state to persistent storage
  7.3.8 Restore state from persistent storage
  7.3.9 API Reference
  7.3.10 Access to the persistent state data
  7.3.11 Future persistence API
 7.4 The Command Line Interface
 7.5 The DRMAA API
  7.5.1 Implementation Details
     Contents Index