[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
The condor manual is very good, but it has no examples. It would be
great for a new user to have some examples, or cookbook types of
guides. Right now, specifically, I am a looking for examples of
running jobs using the API.
Here is my use case:
I have a python script and it kicks off a bunch of threads. Each of
those threads kicks off another bunch of threads. Each of those
threads runs a python script using Popen. Currently this is run from
cron on one host. I would like to move this to condor to take
advantage of multiple machines and achieve parallelism.
My thought was that I would modify the script to instead of running
threads to use the condor API to run jobs. Similarly, those jobs would
use the API to run jobs. And those jobs would use the API to run the
script that was run with Popen.
Does using the API for this seem like the best way? Can anyone point
me at an example for using the API?