Skip to content. | Skip to navigation

Personal tools
Log in

DIstributed Computing Environments (DICE) Team
We are a group of computer scientists and IT experts from the Department of Computer Science AGH and ACC Cyfronet AGH. We are a curiosity- and research-driven team, specializing in large-scale distributed computing, HPC, Web and Cloud technologies. We develop new methods, tools and environments and we apply these solutions in e-Science, healthcare and industrial domains.

You are here: Home Projects Projects full descriptions Mapper-files tutorial 2

Tutorial 2: Bulding and running tightly coupled MUSCLE-based simulation on the example of Irrigation Canals

About MAD,MaMe, EW

The following video is an example of applying the Multiscale Application Designer and GridSpace Experiment Workbench to the Irrigation Canals simulation (thanks to Mohamed Ben Belgacem and Bastien Chopard, University of Geneva, Switzerland). Please change the quality to HD. For viewing it directly in YouTube use this link:












MAD, MaMe, EW tutorial

Introduction and Life Demo of MAD, MaMe and EW with with canals simulation

Assigments: Working with 3-segment canal simulation

Note: We recommend to use Firefox browser

Step 1: Multiscale Application Designer - playing with MML

1. Open


2. Push "Open from repository" button as indicated above.
3. Choose "Canal_1D_3Sections_Gate_Spill" MML and click Open.


4. You should get gMML view of three SW1D models connected by gate and spillway . You can see parameters in the bottom of the window.


5. Now, click "Open in Experiment Workbench" button - new window with list of available executors (available resources) should pop up. This exercise will be conducted on machine



Step 2 - Executing experiment

1. Login to with appropriate login and password.
2. You should see generated experiment containing three snippets: 1)muscle, 2)canal movie maker and 3)mencoder movie maker. Click on the first snippet to see its contents


3. Now click run button of the first snippet as indicated in the picture below. The activity indicator should turn red.


4. Once simulation is finished the activity indicator should turn gray again. You should see output files appearing on the left side of the window.


5. Try to run next snippets in the same way. Second snippet should produce 500 images (one per iteration) in a Movie_Frame_Encoder_in_img_id-XXX directory


6. Third snippet produces movie from images and places it under the name Movie_Frame_Encoder_out_avi_movie_id-XXX.


7. Movie can be fetched using the browser and viewed by movie player installed in your system. In the movie you can observe how different components of the simulation (shallow water segments, gate and spillway) participate together in a water flow.



Step 3 Running distributed snippet execution

In this step we will show how to distribute snippet execution. The first snippet (MUSCLE) will be run on zeus machine as in step 2. The second and the third snippet (CanalImagesMaker and Mencoder movie maker) will be run on the second machine.

1. Log in to another machine from GridSpace Experiment workbench. Click on the small black arrow in the rigth top corner of the window as indicated in the picture below. Choose another executor.


2. Choose executor.


3. Now, you can switch executors assigned to snippets. Do it for CanalImagesmaker and Mencoder snippets



4. You can also switch between executors and see file systems on each of them. Please do it as indicated on pictures below.



5. Now run second and third snippet on executor. You should get output files on the left side of the window


NOTE! This web site uses cookies and similar technologies (if you do not change the browser settings, you agree to this).

cyfronet agh