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

Re: [HTCondor-users] [Python bindings] Submitted job stuck on hold for Spooling input data files



Michele, 

 

I think the problem is that you are not passing needed arguments to job.jobs().

In order to spool to the correct job,  the jobs method needs to be passed the clusterid and number of jobs that were submitted.  You can get that information from the SubmitResult  like this

res = scheduler.submit(job, count=number_of_jobs, spool=True)

job_ads = [j for j in job.jobs(count=res.num_procs(), clusterid=res.cluster(), procid=res.first_proc())]

 

-tj