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

[HTCondor-users] python api: submitting spool jobs



Hi,

Iâve been trying (and failing) to submit spool jobs with the python api. Whatâs the correct workflow for the Schedd.spool() method? The docs suggest that the ad_list argument should be the list returned by the jobs() method on the submit result object. However there is no such method mentioned in the docs, nor does it appear to exist:

In [18]: submit_results.num_procs()
                         cluster()    first_proc()
                         clusterad()  num_procs()


The cluster_ad isnât enough. I naively tried to use a job list returned from a Schedd.query() based on the SubmitResult.cluster() but that doesnât work because the paths are based on the spool Iwd. Am I missing something?

cheers,
Ben