I can't, for the life of me, figure out what I'm missing in order to submit a job with chunks via the Python API. Here is my workflow:
job = {} job['name'] = 'test chunk'
job['cpus'] = 10
job['priority'] = 5000
job['prototype'] = 'cmdrange'
package = {} job['package'] = package
job['package']['cmdline'] = 'echo QB_FRAME_START QB_FRAME_END'
job['package']['padding'] = 0 job['package']['rangeChunkSize'] = 5 job['package']['range'] = '1-100'
job['package']['rangePartitions'] = None
range = '1-100'
agenda = qb.genframes( range )
job['agenda'] = agenda
submit = []
submit.append(job)
submitted = qb.submit( submit )
When I submit the job, it's listed in the GUI as a normal, non-chunking job. Do I have to do something specific to the agenda genframes?
If I re-submit this job from within the GUI, chunks IS in fact on, and numchunks IS set to 5. Is my custom agenda overriding the chunks?
AG