8
Marko Stanković, Siniša Ivković (ETF) Radomir Radojičić, Luka Ilić (Meteos) The Source-Sink Model: A DataFlow Implementation (work in progress) University of Belgrade School of Electrical Engineering (ETF) A project co-funded by Serbian Government and SMEs

Marko Stanković, Siniša Ivković (ETF) Radomir Radojičić, Luka Ilić (Meteos) The Source-Sink Model: A DataFlow Implementation (work in progress) University

Embed Size (px)

Citation preview

Page 1: Marko Stanković, Siniša Ivković (ETF) Radomir Radojičić, Luka Ilić (Meteos) The Source-Sink Model: A DataFlow Implementation (work in progress) University

Marko Stanković, Siniša Ivković (ETF)

Radomir Radojičić, Luka Ilić (Meteos)

The Source-Sink Model:A DataFlow Implementation

(work in progress)

University of BelgradeSchool of Electrical Engineering (ETF)

A project co-funded by Serbian Government and SMEs

Page 2: Marko Stanković, Siniša Ivković (ETF) Radomir Radojičić, Luka Ilić (Meteos) The Source-Sink Model: A DataFlow Implementation (work in progress) University

2/8

Contents

• Eta model

• Source-sink model

• Method of implementation

• Results so far

• Next Steps

Page 3: Marko Stanković, Siniša Ivković (ETF) Radomir Radojičić, Luka Ilić (Meteos) The Source-Sink Model: A DataFlow Implementation (work in progress) University

3/8

The Eta Model

• State-of-the-art atmospheric model

• Developed in the ’70s in the ex-YU

• η (eta) – the vertical coordinate

• ηs = (pref(zs)-pt) / (pr(z=0)−pt)

• Horizontal coordinates: Arakawa E-grid

• Preventing pressure-gradient force errors due to steep topography

Page 4: Marko Stanković, Siniša Ivković (ETF) Radomir Radojičić, Luka Ilić (Meteos) The Source-Sink Model: A DataFlow Implementation (work in progress) University

4/8

The Source-Sink Model

• Shallow-water equations model

• Defined on Arakawa E-grid

• Process of geostrophic adjustment

• Four main components:1. Continuity equation (Mesinger, Janjić)

2. Updating the height

3. Equation of motion

4. Updating the speed

Page 5: Marko Stanković, Siniša Ivković (ETF) Radomir Radojičić, Luka Ilić (Meteos) The Source-Sink Model: A DataFlow Implementation (work in progress) University

5/8

Method of Implementation

• Move all the calculation to the DFE

• All data stored on DFE

• Initial iteration is streamed from host

• Its results go to RAM on card

• Iterations are done locally

• Final iteration’s results streamed to host

Page 6: Marko Stanković, Siniša Ivković (ETF) Radomir Radojičić, Luka Ilić (Meteos) The Source-Sink Model: A DataFlow Implementation (work in progress) University

6/8

Results so Far

• Loop calculating four variables

• Same execution time on host and DFE

• After implementing more code– Expected DFE exec time: Almost constant– Expected host exec time: Rises linearly

More code -> More speed-up!

Page 7: Marko Stanković, Siniša Ivković (ETF) Radomir Radojičić, Luka Ilić (Meteos) The Source-Sink Model: A DataFlow Implementation (work in progress) University

7/8

Next Steps (due: March 31, 2013)

• Finishing the implementation

• Performing the final measurements

Future Work:

• Arbitrary number of sources and sinks

Page 8: Marko Stanković, Siniša Ivković (ETF) Radomir Radojičić, Luka Ilić (Meteos) The Source-Sink Model: A DataFlow Implementation (work in progress) University

8/8

Thank you!

Questions?

Marko Stanković ([email protected])Siniša Ivković ([email protected])

Radomir Radojičić ([email protected])Luka Ilić ([email protected])