IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 5 and Version 6 of pantasks_controller_interactions


Ignore:
Timestamp:
Oct 4, 2012, 1:21:04 PM (14 years ago)
Author:
eugene
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pantasks_controller_interactions

    v5 v6  
    221221messages are sent to the controller:
    222222
    223  jobstack exit : the controller thread checks for the set of completed
     223 * jobstack exit : the controller thread checks for the set of completed
    224224  jobs (which did not crash) by sending this command.  The response is
    225225  a list of jobs ready for harvest.
    226226
    227 * jobstack crash : the controller thread checks for the set of
     227 * jobstack crash : the controller thread checks for the set of
    228228  complete jobs which crashed by sending this command.  The response
    229229  is a list of jobs ready for harvest.
    230230
    231 * delete : jobs which have completed and for which the stderr/stdout
     231 * delete : jobs which have completed and for which the stderr/stdout
    232232  have been received can be deleted from the controller.  For
    233233  'pcontrol', this is necessary to free up resources managing the
    234234  specific job.
    235235
    236 * check job : once the controller gets a list of jobs which have
     236 * check job : once the controller gets a list of jobs which have
    237237  exited or crashed, pantasks loops over those jobs, harvesting their
    238238  results.  this command is used to get the needed stats (size of
    239239  stderr buffer, size of stdout buffer, exit status, etc). 
    240240
    241 * job : Submit a job to the controller.  this command is used by the
     241 * job : Submit a job to the controller.  this command is used by the
    242242  function SubmitControllerJob to send a new job to the controller.
    243243  the function appends options such as +host, -nice as needed.  the
     
    245245  interactions.
    246246
    247 * quit : shutdown the controller
    248 
    249 ---
    250 
    251 pantasks & condor
     247 * quit : shutdown the controller
     248
     249=== Pantasks & Condor ===
    252250
    253251There are three classes of pcontrol operations which pantasks
    254252currently perform:
    255253
    256 * submit jobs to pcontrol
    257 * detect completion and harvest job output
    258 * manage the hosts used by pcontrol
     254 * submit jobs to pcontrol
     255 * detect completion and harvest job output
     256 * manage the hosts used by pcontrol
    259257
    260258The communication between pantasks and pcontrol uses a pipe; pcontrol
     
    273271able to respect the limit on the number of mistargeted jobs currently
    274272active.
     273
     274---
    275275
    276276^1^ : note that the command 'controller status' includes the job and^