Changes between Version 5 and Version 6 of pantasks_controller_interactions
- Timestamp:
- Oct 4, 2012, 1:21:04 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pantasks_controller_interactions
v5 v6 221 221 messages are sent to the controller: 222 222 223 jobstack exit : the controller thread checks for the set of completed223 * jobstack exit : the controller thread checks for the set of completed 224 224 jobs (which did not crash) by sending this command. The response is 225 225 a list of jobs ready for harvest. 226 226 227 * jobstack crash : the controller thread checks for the set of227 * jobstack crash : the controller thread checks for the set of 228 228 complete jobs which crashed by sending this command. The response 229 229 is a list of jobs ready for harvest. 230 230 231 * delete : jobs which have completed and for which the stderr/stdout231 * delete : jobs which have completed and for which the stderr/stdout 232 232 have been received can be deleted from the controller. For 233 233 'pcontrol', this is necessary to free up resources managing the 234 234 specific job. 235 235 236 * check job : once the controller gets a list of jobs which have236 * check job : once the controller gets a list of jobs which have 237 237 exited or crashed, pantasks loops over those jobs, harvesting their 238 238 results. this command is used to get the needed stats (size of 239 239 stderr buffer, size of stdout buffer, exit status, etc). 240 240 241 * job : Submit a job to the controller. this command is used by the241 * job : Submit a job to the controller. this command is used by the 242 242 function SubmitControllerJob to send a new job to the controller. 243 243 the function appends options such as +host, -nice as needed. the … … 245 245 interactions. 246 246 247 * quit : shutdown the controller 248 249 --- 250 251 pantasks & condor 247 * quit : shutdown the controller 248 249 === Pantasks & Condor === 252 250 253 251 There are three classes of pcontrol operations which pantasks 254 252 currently perform: 255 253 256 * submit jobs to pcontrol257 * detect completion and harvest job output258 * manage the hosts used by pcontrol254 * submit jobs to pcontrol 255 * detect completion and harvest job output 256 * manage the hosts used by pcontrol 259 257 260 258 The communication between pantasks and pcontrol uses a pipe; pcontrol … … 273 271 able to respect the limit on the number of mistargeted jobs currently 274 272 active. 273 274 --- 275 275 276 276 ^1^ : note that the command 'controller status' includes the job and^
