Information Technology Reference
In-Depth Information
execution. In OurGrid, the job description files (JDF) is used to specify these
subsets. This file is interpreted by the middleware, which then performs the
actions needed to execute each instance.
Fig. 4. Job submission and execution scheme in OurGrid
Figure 4 shows the proposed approach using OurGrid. Considering a job as a
subset of instances and a task as one of these instances, various jobs and tasks
can be specified and submitted for execution. The middleware is in charge of
finding available resources (local or remote) and sending the jobs for execution.
Once the job execution is finished, the results are retrieved automatically and
stored in the broker that submitted it.
job :
label : mcell-fernet-scenario -1
task:
init :
put job.mcell.sh job.mcell.sh
put mcell.fernet.tar.bz2 mcell.fernet.tar.bz2
remote: sh job.mcell.sh
final :
get out_point.txt out_point.txt
Listing 1.1. JDF file example
The listing 1.1 shows an example of a JDF file used in the simulations. The
tags job and label declare a new job for execution and give it a name for
control purposes. put and get are used to indicate the files to be uploaded and
downloaded, and remote determines the commands to be executed in the worker
nodes.
 
Search WWH ::




Custom Search