Page Content
Batch Distribution – A Tool to Run a Batch of Computation Jobs Distributed
Christian Hoene
Telecommunication Networks Group
TU-Berlin
June 8th, 2004
Description |
Quantitative stochastic simulations are useful tools for studying performance of stochastic dynamic systems, but they can consume much time and computing resources. To overcome these limits, parallel or distributed computation is needed. The tool BatchDistribution distributes a batch of computation jobs (e.g. simulations) on a multiple computers. BatchDistribution has some advantages:
|
Usage |
Download the distribution file from www2.tkn.tu-berlin.de/equipment/bd/release.zip (version June 14th, 2004) and unzip it in a directory of your choice. If not yet available, install ssh and java. Create a file, which contains a list of all computers, which you like to use. Ensure that you can log on the computers without any password query and warning message. Make a file containing a list of command lines, which describe the jobs. Next, start “BatchDistribution” with: java –cp <Dir of BatchDistribution/classes> bd.Main <list of hosts> <list of jobs> Next, a window pops up (fig 1.) and contains status information. After all jobs have been finished, the working directory contains log files with the standard and error output of the jobs, e.g. _home_hoene_voip_simus_test2_remote__home_hoene_voip_audio_3_c_m01s42_sw_512309488_on_verleihnix.out.0 _home_hoene_voip_simus_test2_remote__home_hoene_voip_audio_3_c_m01s42_sw_512309488_on_verleihnix.err.0 If no output has been produced, no file is stored. If you want to run a single command on every computer, use the following command: java –cp <Dir of BatchDistribution/classes> bd.RunEverywhere <list of hosts> “<command including arguments>” |
Requirements |
The tool uses ssh to log on the other computer. The input of pass words or phrases is not possible during runtime. Therefore, an automatic log in is required. To allow ssh to connect to another computer, the following steps have to be performed.
|
Remarks |
This software is open source. The software webpage is www2.tkn.tu-berlin.de/equipment/bd/. Please send bugs and remarks to hoene@tkn.tu-berlin.de. |
Zusatzinformationen / Extras
Quick Access:
Schnellnavigation zur Seite über Nummerneingabe