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

Re: [HTCondor-users] python api: submitting spool jobs



Hi Ben,

I think you just need to pass the entire submit_results variable to Schedd.spool().

-Cole Bollig

From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> on behalf of Ben Jones <ben.dylan.jones@xxxxxxxxx>
Sent: Thursday, November 14, 2024 8:55 AM
To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Subject: [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
_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at: https://www-auth.cs.wisc.edu/lists/htcondor-users/