Changeset 49 for trunk/oarutils/oar-parexec
- Timestamp:
- Dec 13, 2011, 9:23:31 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/oarutils/oar-parexec
r47 r49 415 415 These jobs could be launch by: 416 416 417 oarsub -n test -l /core=6,walltime=04:00:00 "oar-parexec -f ./subjob.list.txt" 417 oarsub -n test -l /core=6,walltime=04:00:00 \ 418 "oar-parexec -f ./subjob.list.txt" 418 419 419 420 =head2 Folder job … … 425 426 A very simple job could be: 426 427 427 oarsub -n test -l /core=6,walltime=04:00:00 "oar-parexec -d ./subjob.d -c 'sleep 10; env'" 428 oarsub -n test -l /core=6,walltime=04:00:00 \ 429 "oar-parexec -d ./subjob.d -c 'sleep 10; env'" 428 430 429 431 The command C<env> will be excuted in all folder F<test1>, F<test2>... after a 10s pause. … … 442 444 Example with parallel small job on 2 core: 443 445 444 oarsub -n test -l /core=6,walltime=04:00:00 "oar-parexec -j 2 -f ./subjob.list.txt" 446 oarsub -n test -l /core=6,walltime=04:00:00 \ 447 "oar-parexec -j 2 -f ./subjob.list.txt" 445 448 446 449 =head2 Tracing and master crash … … 451 454 and not re-run these job the second and next time. 452 455 453 oarsub -n test -l /core=6,walltime=04:00:00 "oar-parexec -f ./subjob.list.txt -l ./subjob.list.log" 456 oarsub -n test -l /core=6,walltime=04:00:00 \ 457 "oar-parexec -f ./subjob.list.txt -l ./subjob.list.log" 454 458 455 459 After a crash or an C<oardel> command, 456 460 you can then re-run the same command that will end to execute the jobs in the list 457 461 458 oarsub -n test -l /core=6,walltime=04:00:00 "oar-parexec -f ./subjob.list.txt -l ./subjob.list.log" 462 oarsub -n test -l /core=6,walltime=04:00:00 \ 463 "oar-parexec -f ./subjob.list.txt -l ./subjob.list.log" 459 464 460 465 C<logtrace> file are just plain file. … … 473 478 After being checkpointed, C<oar-parexec> do not start any new small job. 474 479 475 oarsub -t idempotent -n test -l /core=6,walltime=04:00:00 --checkpoint 720 \ 480 oarsub -t idempotent -n test \ 481 -l /core=6,walltime=04:00:00 \ 482 --checkpoint 720 \ 476 483 "oar-parexec -f ./subjob.list.txt -l ./subjob.list.log" 477 484
Note: See TracChangeset
for help on using the changeset viewer.