Search
Page 1 of 7. Showing 68 results (0.024 seconds)
Generating agendas
The qb::genframes() function returns a reference to a hash array, keyed to individual frames. This array is called an "agenda." Qb::genframes() contains a parser that can…submit-p-agenda-job.pl
# (normal priority) job will skip those agenda items, since they'll already be # processed by the 1st job. # some voodoo to find the path to the Qube API "qb" module on any platform…jobSubmit_cmdrangeOutputPaths.py
# # ====================================================== import os, sys # Make sure that qb module is in the python path if 'QBDIR' in os.environ: sys.path.append('%s/api/python' % os.environ…Basic python job submission II. Frames
Next, we will submit a job with frames, or, in Qube!-speak, "agenda items". Follow the code comments below: # As in the last example, we will need the os, sys, and qb…Perl API Reference
"; use qb; qb::bottom(@ids) qb::genchunks Purpose Generates a work agenda based on an input frame specification divided into fixed width chunks. Prototype qb…jobSubmit06.py
'); import qb def main(): job = {} job['name'] = 'python parent job' job['cpus'] = 2 job['prototype'] = 'cmdrange' package = {} job['package'] = package…callback3.pl
. # ##################################################################################### # # this an example of setting up 2 jobs where the frames and job status are # dependent upon each other. # use lib "../../api/perl"; use qb; my $FRAME_RANGE = "1-10"; my…Simple Job Type back end
the (Supervisor) frame server: The qb::requestwork() call blocks the subjob until it gets an agenda item from the Supervisor. We'll call this a frame. Before we handle the frame, check its…test_submit.py
socket try: import qb except: if 'QBDIR' in os.environ: QBDIR = os.environ['QBDIR'] else: if os.name == 'posix': if os.uname()[0] == 'Darwin…submit-p-agenda-job.py
('/Applications/pfx/qube/api/python'); else: sys.path.append('/usr/local/pfx/qube/api/python'); import qb # This script demonstrates how to submit an agenda-based job (in this case…