Air Pollution Application
First we will explain the functionatility of the application and then we will describe step by step the tutorial exercise.
The air pollution application uses an
Eulerian Model (called STEM-II) to simulate the environment of As Pontes Power
Plant in A Coruņa (
Fig. 1. Input parameters plugin
First, we must launch the Migrating Desktop (http://ras.man.poznan.pl/crossgrid/), click on the Start Jobs Wizard button and select the Air Pollution application. The input parameters plugin of the application will be shown (Fig. 1).
The input parameters of the model can be set in this plugin. These parameters are the date, the start hour and the number of hours of the simulation. Besides, a flag for the execution of an only transport simulation or a simulation with chemical reactions can be set.
In the Description Tab (Fig. 2) we can write a brief description of our simulation and specify the path of the executable (It is already installed in the testbed)
Fig. 2. Description Tab
Fig. 3. Resources Tab
In the Resources Tab (Fig.3) we can specify the node where we want to execute the application, the jobtype, the number of processors and other parameters (not required for this exercise).
Finally, in the files tab (Fig. 4) we have to specify the input an output files of our application. For this exercise the user must only specify an output file that contains the graphical representation of the pollutant concentration after each temporal iteration of the program. (This is the mapadebits.bmp file in Fig. 4).
We also have to specify the type of the file (out in our case), and a refresh period (5 or 10 seconds). This refresh period indicates how often the file is downloaded. This is used for a refreshable output purposes, the first step in the interactivity.
Fig. 4. Files Tab
Fig. 5. Job Monitoring Dialog
After all the input parameters have been set, we can submit the application to the Grid. From the Job monitoring Dialog (Fig.5) we can see the status of the job. We must refresh this status manually pressing the refresh or refresh all buttons.
When the status of the job turn to be running, our application will be executing in the grid and we will be able to see the output by pressing the button Visualize (Fig 6).
Fig. 6. Application Viewer (Output Plugin)
For a refreshable visualization of the image we must press the Details button in the Job Monitoring Dialog window. A new window with several tabs will be open (Fig. 7). We must select the tab files, select the file that we have chosen as output and press the button visualize. A new window with the output will be opened (Fig. 8). This image can be refreshed automatically setting a refresh period and pressing the apply button.
Fig. 7. Job Monitoring Dialog
Fig. 8. File Viewer