Changes between Version 4 and Version 5 of qcg_usage_examples
- Timestamp:
- 09/20/11 20:53:05 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
qcg_usage_examples
v4 v5 1 1 [[PageOutline]] 2 2 3 Poniższy przykład prezentuje opis eksperymentu (QCG-Broker Job Profile) polegającego na wykonaniu zestawu zadań (parameter sweep) uruchamiających unixowe polecenie ''cal'' (kalendarz) dla zadanego przedziału miesięcy (od stycznia do grudnia z pominięciem marca i czerwca).3 Poniższy przykład prezentuje opis eksperymentu (QCG-Broker Job Profile) polegającego na wykonaniu zestawu zadań (parameter sweep) uruchamiających unixowe polecenie ''cal'' (kalendarz) dla zadanego przedziału miesięcy (od stycznia do lipca z pominięciem marca i czerwca). 4 4 5 5 {{{ … … 32 32 <loop> 33 33 <start>1</start> 34 <end> 12</end>34 <end>7</end> 35 35 <step>1</step> 36 36 <except> … … 86 86 87 87 = job_info = 88 * `job_info <jobId> <showJobProfile>` - wyświetlenie informacji o danym eksperymencie. Argument `<showJobProfile>` argument of boolean type specifies whether the Job Profile should be displayed or not.88 * `job_info <jobId> <showJobProfile>` - wyświetlenie informacji o danym eksperymencie. Argument `<showJobProfile>` określa czy ma być wyświetlony opis exksperymentu (domyślną wartością jest ''false''). 89 89 {{{ 90 90 #!div style="font-size: 90%" … … 100 100 SubmissionTime: Mon May 16 14:55:54 CEST 2011 101 101 FinishTime: Mon May 16 14:56:42 CEST 2011 102 Number of tasks: 10103 Tasks: calendar_PSit0 calendar_PSit1 calendar_PSit2 calendar_PSit3 calendar_PSit4 calendar_PSit5 calendar_PSit6 calendar_PSit7 calendar_PSit8 calendar_PSit9104 }}} 105 {{{#!sh 106 $ qcg-client job_info 1305550554579_calendar_example_5366 102 Number of tasks: 5 103 Tasks: calendar_PSit0 calendar_PSit1 calendar_PSit2 calendar_PSit3 calendar_PSit4 104 }}} 105 {{{#!sh 106 $ qcg-client job_info 1305550554579_calendar_example_5366 true 107 107 UserDN = /C=PL/O=GRID/O=PSNC/CN=Tomasz Piontek 108 108 ProxyLifetime = 0 Days 11 Hours 58 Minutes 6 Seconds … … 114 114 SubmissionTime: Mon May 16 14:55:54 CEST 2011 115 115 FinishTime: Mon May 16 14:56:42 CEST 2011 116 Number of tasks: 10117 Tasks: calendar_PSit0 calendar_PSit1 calendar_PSit2 calendar_PSit3 calendar_PSit4 calendar_PSit5 calendar_PSit6 calendar_PSit7 calendar_PSit8 calendar_PSit9118 DescriptionType: GRMS116 Number of tasks: 5 117 Tasks: calendar_PSit0 calendar_PSit1 calendar_PSit2 calendar_PSit3 calendar_PSit4 118 DescriptionType: QCG 119 119 UserDescription: 120 120 <qcgJob appId="calendar_example"> … … 144 144 <loop> 145 145 <start>1</start> 146 <end> 12</end>146 <end>7</end> 147 147 <step>1</step> 148 148 <except> … … 259 259 </execution> 260 260 </task> 261 <task persistent="true" taskId="calendar_PSit5">262 <execution type="single">263 <executable>264 <execFile>265 <file>266 <location type="URL">file:////usr/bin/cal</location>267 </file>268 </execFile>269 </executable>270 <arguments>271 <value>8.0</value>272 <value>2010</value>273 </arguments>274 <stdout>275 <file>276 <location type="URL">${TASK_DIR}/stdout.txt</location>277 </file>278 </stdout>279 </execution>280 </task>281 <task persistent="true" taskId="calendar_PSit6">282 <execution type="single">283 <executable>284 <execFile>285 <file>286 <location type="URL">file:////usr/bin/cal</location>287 </file>288 </execFile>289 </executable>290 <arguments>291 <value>9.0</value>292 <value>2010</value>293 </arguments>294 <stdout>295 <file>296 <location type="URL">${TASK_DIR}/stdout.txt</location>297 </file>298 </stdout>299 </execution>300 </task>301 <task persistent="true" taskId="calendar_PSit7">302 <execution type="single">303 <executable>304 <execFile>305 <file>306 <location type="URL">file:////usr/bin/cal</location>307 </file>308 </execFile>309 </executable>310 <arguments>311 <value>10.0</value>312 <value>2010</value>313 </arguments>314 <stdout>315 <file>316 <location type="URL">${TASK_DIR}/stdout.txt</location>317 </file>318 </stdout>319 </execution>320 </task>321 <task persistent="true" taskId="calendar_PSit8">322 <execution type="single">323 <executable>324 <execFile>325 <file>326 <location type="URL">file:////usr/bin/cal</location>327 </file>328 </execFile>329 </executable>330 <arguments>331 <value>11.0</value>332 <value>2010</value>333 </arguments>334 <stdout>335 <file>336 <location type="URL">${TASK_DIR}/stdout.txt</location>337 </file>338 </stdout>339 </execution>340 </task>341 <task persistent="true" taskId="calendar_PSit9">342 <execution type="single">343 <executable>344 <execFile>345 <file>346 <location type="URL">file:////usr/bin/cal</location>347 </file>348 </execFile>349 </executable>350 <arguments>351 <value>12.0</value>352 <value>2010</value>353 </arguments>354 <stdout>355 <file>356 <location type="URL">${TASK_DIR}/stdout.txt</location>357 </file>358 </stdout>359 </execution>360 </task>361 261 </qcgJob> 362 262 }}} 363 263 }}} 364 264 = tasks_statuses = 365 * `tasks_statuses <jobId>` - lists tasks constituting the given job with their statuses.265 * `tasks_statuses <jobId>` - wyświetla listę zadań wchodzących w skład eksperymentu wraz z ich statusami. 366 266 {{{ 367 267 #!div style="font-size: 90%" … … 371 271 ProxyLifetime = 0 Days 11 Hours 41 Minutes 30 Seconds 372 272 373 Number of tasks: 10273 Number of tasks: 5 374 274 Tasks statuses: 375 calendar_PSit7 : FINISHED376 calendar_PSit6 : FINISHED377 calendar_PSit5 : FINISHED378 275 calendar_PSit4 : FINISHED 379 276 calendar_PSit3 : FINISHED … … 381 278 calendar_PSit1 : FINISHED 382 279 calendar_PSit0 : FINISHED 383 calendar_PSit9 : FINISHED384 calendar_PSit8 : FINISHED385 280 ------ SUMMARY -------- 386 Number of tasks: 10387 FINISHED : 10281 Number of tasks: 5 282 FINISHED : 5 388 283 }}} 389 284 }}} 390 285 391 286 = task_info = 392 * `task_info <jobId> <taskId> ` - displays information about the given job393 {{{ 394 #!div style="font-size: 90%" 395 {{{#!sh 396 qcg-client task_info 1305550554579_calendar_example_5366 calendar_PSit0 287 * `task_info <jobId> <taskId> [<showJobProfile>]` - wyświetla informację o danym zadaniu. 288 {{{ 289 #!div style="font-size: 90%" 290 {{{#!sh 291 qcg-client task_info 1305550554579_calendar_example_5366 calendar_PSit0 true 397 292 UserDN = /C=PL/O=GRID/O=PSNC/CN=Tomasz Piontek 398 293 ProxyLifetime = 0 Days 11 Hours 40 Minutes 11 Seconds