BatchSystem-SBSBatchSystem-SBS is a simple batch system. | |
Download |
BatchSystem-SBS Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Alexandre Masselot
- Publisher web site:
- http://search.cpan.org/~alexmass/BatchSystem-SBS-0.38/lib/BatchSystem/SBS/DefaultScheduler.pm
BatchSystem-SBS Tags
BatchSystem-SBS Description
BatchSystem-SBS is a simple batch system. BatchSystem-SBS is a simple batch system.SYNOPSISa short example#edit examples/sbsconfig-examples-1.xml to put your own local machines (it can be a good idea, if you have not a cluster, to enter your local machine with different addresses (localhost, 123.156.78.90, hostname) to see sommething a bit more realistic... #System status #in a side term, to see every second the watch -n 1 ../scripts/sbs-scheduler-print.pl --config=sbsconfig-examples-1.xml #to submit or dozen or so scripts on queue 'single' ../scripts/sbs-batch-submit.pl --config=sbsconfig-examples-1.xml --queue=single --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh #and on a higher priority queue ../scripts/sbs-batch-submit.pl --config=sbsconfig-examples-1.xml --queue=single_high --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh --command=a.sh #to update ../scripts/sbs-scheduler-update.pl --config=sbsconfig-examples-1.xml #to check data consistency (and solve main problems ../scripts/sbs-scheduler-check.pl #to remove a job --config=sbsconfig-examples-1.xml ../scripts/sbs-batch-remove --config=sbsconfig-examples-1.xml yourjobid submiting commandYou can submit either comman or scripts. Script submited on a resource of type 'machine' will be sshed on the host Once a resource is attributed to a job, the script is transformed, changing the following varaibles (see examples/*.sh) $(machinefile} (for cluster type resource) ${nbmachines} (for cluster type resource) ${host} (for machine type resource) ${jobid} At submition time, a directory with the job number (incremented integer) is created, where stdout/err will be written. There will also have a batch.properties file (pids, start time etc. etc.) Requirements: · Perl
BatchSystem-SBS Related Software