SlideShare ist ein Scribd-Unternehmen logo
1 von 13
Massively parallel Landscape-
         Evolution Modelling using General
         Purpose Graphical Processing Units
             A.S. McGough, S. Liang, M. Rapoportas,
              D. Maddy, A. Trueman J. Wainwright,
                   R. Grey and G. Kumar Vinod
                          19th December 2012
                         HiPC 2012 Pune, India




 School of                       Student Research   Department of
Computing                        Scholarships and    Geography
  Science                           Expeditions
Landscape Evolution Modeling
• Landscapes change over time due to water
   – Physical and Chemical Weathering require water to break down material
   – Higher energy flowing water both Erodes and Transports material until
     decreasing energy conditions result in Deposition of material
• These processes take a long time
   – Many glacial-Interglacial Cycles
       • Cycles are ~100ka for last 800ka, prior to 800ka cycles were ~40ka in length
• We want to use retrodiction to work out how the landscape has changed
• Use a simulation to model how the landscape changes
   – 3D Landscape is descretized as a 2D grid (x,y) with cell values representing surface
     heights (z) derived from a digital elevation model (DEM)


                                                            31   22   32


                                                       33   32   25   33   34


                                                       29   26   27   39   36


                                                       27   26   41   44   50


                                                       45   44   40   51   55


                                                            39   44   46
Landscape Evolution Modeling
                    Each iteration of the simulation:
       How much material will be removed?
       How much material will be deposited?
Each step is ‘fairly’ fast…
But we want to do lots of them
120K to 1M years                    Erosion/
On landscapes of 6-46M cells.      Deposition
If we could simulate 1 year                       Flow
in 1 minute this would take                      Routing
83 – 694 days!
(assuming 1 year = 1 iteration,
may need more)                                             Current sequential version
                                      Flow
                                                           is much slower than this…
                                  Accumulation
Execution analysis of Sequential LEM
• We started from an existing LEM
   – 51x100 cells took 72 hours
      • estimate for 25M cells 64,000 years
   – This was in-optimal code
      • Reduced execution time from 72 to 4.7 hours
      • 64,000 years down to 300 years
• But this is still not enough for our needs
• Performance Analysis:
• ~74% of time
  spent routing
  and accumulating
• Need orders of
  magnitude
  speedup
   – So look at these
Parallel Flow Routing
• Each cell can be done independently of all others
   – SFD                                              3 2 4
       • 100% flow to the lowest neighbour
                                                      7 5 8
   – MFD
                                                      7 1 9
       • Flow is proportioned between all lower
         neighbours                                   3 2 4
                                                      7 5 8
                                                      7 1 9
• Almost linear speed-up
   – Problems with code divergence
       • CUDA Warps split when code contains a fork
Parallel Accumulation: Correct Flow

• Iterate:
    – Do not compute a cell until it has no incorrect cells
      flowing into it
    – Sum all inputs and add self

     Flow Routing                   Accumulation                  Correct
                                5 6       7 14 19
                                4 1       6   3 1
                                3     1   1   2 2
                                1     1   1 1      1
                                2     1   1   2    4

Cell values are not normally 1, but the value from the flow routing
Not the whole story…
• Sinks and Plateaus




• Can’t work out flow routing on sinks and plateaus
• Need to ‘fake’ a flow routing
   – Fill a sink until it can flow out
   – Fake flow directions on a plateau to the outlet
• Single flow direction vs multiple flow direction
   – MFD is better but much more complex
Parallel Plateau routing

• Need to find the outflow of a plateau and flow all
  water to it
• A common solution is to use a breadth first search
  algorithm
   – Parallel implementation
   – Though result does look ‘unnatural’
   – Alternative patterns are possible – but acceptable
• We are investigating alternative solutions
Sink filling
• Dealing with a single sink is (relatively) simple
    – Fill sink until we end up with a plateau
• But what if we have multiple nested sinks?
• Implemented parallel version of the sink filling algorithm proposed by
  Arger et al [2003]
    – Identify each sink (parallel)
    – Determine which cells flow into this sink - watershed (parallel)
    – Determine the lowest cell joining each pair of sinks (parallel/sequential)
    – Work out how high cells in each sink need to be raised to allow all cells to
      flow out of the DEM (sequential)
    – Fill all sink cells to this height (parallel)
GPGPU Solution
• Massively parallel version of the LEM
   – For Direction (including plateau and sinks) and
     Accumulation
      • Process has now been parallelized
   – on NVIDIA Fermi based graphics cards
      • Tesla C2050, GTX580
   – ~two orders of magnitude speedup over the optimized
     sequential code (up to 46m cells)
   – CUDA based
                                            Card     Memory   Cores
                                            GTX580   3GB      512
                                            C2050    3GB      448
Results

• Overall performance



                               (millions)




• Flow Direction
  – Inc sink & plateau
• Flow Accumulation
Results

• Comparison over
  iterations




                          • Correct flow
                            completion profile
QUESTIONS?

             A.S. McGough, S. Liang, M. Rapoportas,
              D. Maddy, A. Trueman, J. Wainwright,
                    R. Grey, G. Kumar Vinod

                    stephen.mcgough@ncl.ac.uk




 School of                    Student Research        Department of
Computing                     Scholarships and         Geography
  Science                        Expeditions

Weitere ähnliche Inhalte

Ähnlich wie Massively Parallel Landscape-Evolution Modelling using General Purpose Graphical Processing Units

DSD-INT 2014 - Symposium Next Generation Hydro Software (NGHS) - How to set u...
DSD-INT 2014 - Symposium Next Generation Hydro Software (NGHS) - How to set u...DSD-INT 2014 - Symposium Next Generation Hydro Software (NGHS) - How to set u...
DSD-INT 2014 - Symposium Next Generation Hydro Software (NGHS) - How to set u...
Deltares
 
Vessel Traffic Model
Vessel Traffic ModelVessel Traffic Model
Vessel Traffic Model
Safak Ozkan
 
Crysis Next-Gen Effects (GDC 2008)
Crysis Next-Gen Effects (GDC 2008)Crysis Next-Gen Effects (GDC 2008)
Crysis Next-Gen Effects (GDC 2008)
Tiago Sousa
 
Reactive Deformation of Path for Navigation Among Dynamic Obstacles
Reactive Deformation of Path for Navigation Among Dynamic ObstaclesReactive Deformation of Path for Navigation Among Dynamic Obstacles
Reactive Deformation of Path for Navigation Among Dynamic Obstacles
Anand Taralika
 

Ähnlich wie Massively Parallel Landscape-Evolution Modelling using General Purpose Graphical Processing Units (20)

Nearest Neighbor Customer Insight
Nearest Neighbor Customer InsightNearest Neighbor Customer Insight
Nearest Neighbor Customer Insight
 
ACM 2013-02-25
ACM 2013-02-25ACM 2013-02-25
ACM 2013-02-25
 
Discretization.pptx
Discretization.pptxDiscretization.pptx
Discretization.pptx
 
Part 3 Practical CFD(1).pdf
Part 3 Practical CFD(1).pdfPart 3 Practical CFD(1).pdf
Part 3 Practical CFD(1).pdf
 
GROUNDWATER MODELING SYSTEM
GROUNDWATER MODELING SYSTEMGROUNDWATER MODELING SYSTEM
GROUNDWATER MODELING SYSTEM
 
DSD-INT 2023 Example of unstructured MODFLOW 6 modelling in California - Romero
DSD-INT 2023 Example of unstructured MODFLOW 6 modelling in California - RomeroDSD-INT 2023 Example of unstructured MODFLOW 6 modelling in California - Romero
DSD-INT 2023 Example of unstructured MODFLOW 6 modelling in California - Romero
 
DSD-INT 2014 - Symposium Next Generation Hydro Software (NGHS) - How to set u...
DSD-INT 2014 - Symposium Next Generation Hydro Software (NGHS) - How to set u...DSD-INT 2014 - Symposium Next Generation Hydro Software (NGHS) - How to set u...
DSD-INT 2014 - Symposium Next Generation Hydro Software (NGHS) - How to set u...
 
Graph processing
Graph processingGraph processing
Graph processing
 
Cloud Computing: Safe Haven from the Data Deluge? AGBT 2011
Cloud Computing: Safe Haven from the Data Deluge? AGBT 2011Cloud Computing: Safe Haven from the Data Deluge? AGBT 2011
Cloud Computing: Safe Haven from the Data Deluge? AGBT 2011
 
DGGS & Python @ GeoPython 2017
DGGS & Python @ GeoPython 2017DGGS & Python @ GeoPython 2017
DGGS & Python @ GeoPython 2017
 
DevoFlow - Scaling Flow Management for High-Performance Networks
DevoFlow - Scaling Flow Management for High-Performance NetworksDevoFlow - Scaling Flow Management for High-Performance Networks
DevoFlow - Scaling Flow Management for High-Performance Networks
 
Vessel Traffic Model
Vessel Traffic ModelVessel Traffic Model
Vessel Traffic Model
 
Hedera - Dynamic Flow Scheduling for Data Center Networks, an Application of ...
Hedera - Dynamic Flow Scheduling for Data Center Networks, an Application of ...Hedera - Dynamic Flow Scheduling for Data Center Networks, an Application of ...
Hedera - Dynamic Flow Scheduling for Data Center Networks, an Application of ...
 
03 darcys law
03 darcys law03 darcys law
03 darcys law
 
Ecss des
Ecss desEcss des
Ecss des
 
Crysis Next-Gen Effects (GDC 2008)
Crysis Next-Gen Effects (GDC 2008)Crysis Next-Gen Effects (GDC 2008)
Crysis Next-Gen Effects (GDC 2008)
 
The Power of Motif Counting Theory, Algorithms, and Applications for Large Gr...
The Power of Motif Counting Theory, Algorithms, and Applications for Large Gr...The Power of Motif Counting Theory, Algorithms, and Applications for Large Gr...
The Power of Motif Counting Theory, Algorithms, and Applications for Large Gr...
 
Scaling Genomic Analyses
Scaling Genomic AnalysesScaling Genomic Analyses
Scaling Genomic Analyses
 
Modern Java Concurrency (Devoxx Nov/2011)
Modern Java Concurrency (Devoxx Nov/2011)Modern Java Concurrency (Devoxx Nov/2011)
Modern Java Concurrency (Devoxx Nov/2011)
 
Reactive Deformation of Path for Navigation Among Dynamic Obstacles
Reactive Deformation of Path for Navigation Among Dynamic ObstaclesReactive Deformation of Path for Navigation Among Dynamic Obstacles
Reactive Deformation of Path for Navigation Among Dynamic Obstacles
 

Kürzlich hochgeladen

Production Day 1.pptxjvjbvbcbcb bj bvcbj
Production Day 1.pptxjvjbvbcbcb bj bvcbjProduction Day 1.pptxjvjbvbcbcb bj bvcbj
Production Day 1.pptxjvjbvbcbcb bj bvcbj
LewisJB
 
Vip Modals Call Girls (Delhi) Rohini 9711199171✔️ Full night Service for one...
Vip  Modals Call Girls (Delhi) Rohini 9711199171✔️ Full night Service for one...Vip  Modals Call Girls (Delhi) Rohini 9711199171✔️ Full night Service for one...
Vip Modals Call Girls (Delhi) Rohini 9711199171✔️ Full night Service for one...
shivangimorya083
 
Sensual Moments: +91 9999965857 Independent Call Girls Paharganj Delhi {{ Mon...
Sensual Moments: +91 9999965857 Independent Call Girls Paharganj Delhi {{ Mon...Sensual Moments: +91 9999965857 Independent Call Girls Paharganj Delhi {{ Mon...
Sensual Moments: +91 9999965857 Independent Call Girls Paharganj Delhi {{ Mon...
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
 
CALL ON ➥8923113531 🔝Call Girls Nishatganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Nishatganj Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Nishatganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Nishatganj Lucknow best sexual service
anilsa9823
 
Call Girls Hoodi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hoodi Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hoodi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hoodi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
amitlee9823
 
Zeeman Effect normal and Anomalous zeeman effect
Zeeman Effect normal and Anomalous zeeman effectZeeman Effect normal and Anomalous zeeman effect
Zeeman Effect normal and Anomalous zeeman effect
PriyanshuRawat56
 
Escorts Service Cambridge Layout ☎ 7737669865☎ Book Your One night Stand (Ba...
Escorts Service Cambridge Layout  ☎ 7737669865☎ Book Your One night Stand (Ba...Escorts Service Cambridge Layout  ☎ 7737669865☎ Book Your One night Stand (Ba...
Escorts Service Cambridge Layout ☎ 7737669865☎ Book Your One night Stand (Ba...
amitlee9823
 
Nandini Layout Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Nandini Layout Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...Nandini Layout Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Nandini Layout Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
amitlee9823
 
Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...
Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...
Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...
Pooja Nehwal
 
CALL ON ➥8923113531 🔝Call Girls Husainganj Lucknow best Female service 🧳
CALL ON ➥8923113531 🔝Call Girls Husainganj Lucknow best Female service  🧳CALL ON ➥8923113531 🔝Call Girls Husainganj Lucknow best Female service  🧳
CALL ON ➥8923113531 🔝Call Girls Husainganj Lucknow best Female service 🧳
anilsa9823
 
Call Girls Devanahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Devanahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Devanahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Devanahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 

Kürzlich hochgeladen (20)

Motilal Oswal Gift City Fund PPT - Apr 2024.pptx
Motilal Oswal Gift City Fund PPT - Apr 2024.pptxMotilal Oswal Gift City Fund PPT - Apr 2024.pptx
Motilal Oswal Gift City Fund PPT - Apr 2024.pptx
 
Get To Know About "Lauren Prophet-Bryant''
Get To Know About "Lauren Prophet-Bryant''Get To Know About "Lauren Prophet-Bryant''
Get To Know About "Lauren Prophet-Bryant''
 
Dark Dubai Call Girls O525547819 Skin Call Girls Dubai
Dark Dubai Call Girls O525547819 Skin Call Girls DubaiDark Dubai Call Girls O525547819 Skin Call Girls Dubai
Dark Dubai Call Girls O525547819 Skin Call Girls Dubai
 
Production Day 1.pptxjvjbvbcbcb bj bvcbj
Production Day 1.pptxjvjbvbcbcb bj bvcbjProduction Day 1.pptxjvjbvbcbcb bj bvcbj
Production Day 1.pptxjvjbvbcbcb bj bvcbj
 
Vip Modals Call Girls (Delhi) Rohini 9711199171✔️ Full night Service for one...
Vip  Modals Call Girls (Delhi) Rohini 9711199171✔️ Full night Service for one...Vip  Modals Call Girls (Delhi) Rohini 9711199171✔️ Full night Service for one...
Vip Modals Call Girls (Delhi) Rohini 9711199171✔️ Full night Service for one...
 
Sensual Moments: +91 9999965857 Independent Call Girls Paharganj Delhi {{ Mon...
Sensual Moments: +91 9999965857 Independent Call Girls Paharganj Delhi {{ Mon...Sensual Moments: +91 9999965857 Independent Call Girls Paharganj Delhi {{ Mon...
Sensual Moments: +91 9999965857 Independent Call Girls Paharganj Delhi {{ Mon...
 
CALL ON ➥8923113531 🔝Call Girls Nishatganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Nishatganj Lucknow best sexual serviceCALL ON ➥8923113531 🔝Call Girls Nishatganj Lucknow best sexual service
CALL ON ➥8923113531 🔝Call Girls Nishatganj Lucknow best sexual service
 
Book Paid Saswad Call Girls Pune 8250192130Low Budget Full Independent High P...
Book Paid Saswad Call Girls Pune 8250192130Low Budget Full Independent High P...Book Paid Saswad Call Girls Pune 8250192130Low Budget Full Independent High P...
Book Paid Saswad Call Girls Pune 8250192130Low Budget Full Independent High P...
 
Joshua Minker Brand Exploration Sports Broadcaster .pptx
Joshua Minker Brand Exploration Sports Broadcaster .pptxJoshua Minker Brand Exploration Sports Broadcaster .pptx
Joshua Minker Brand Exploration Sports Broadcaster .pptx
 
Call Girls Hoodi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hoodi Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Hoodi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Hoodi Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 
Zeeman Effect normal and Anomalous zeeman effect
Zeeman Effect normal and Anomalous zeeman effectZeeman Effect normal and Anomalous zeeman effect
Zeeman Effect normal and Anomalous zeeman effect
 
Resumes, Cover Letters, and Applying Online
Resumes, Cover Letters, and Applying OnlineResumes, Cover Letters, and Applying Online
Resumes, Cover Letters, and Applying Online
 
Brand Analysis for reggaeton artist Jahzel.
Brand Analysis for reggaeton artist Jahzel.Brand Analysis for reggaeton artist Jahzel.
Brand Analysis for reggaeton artist Jahzel.
 
Escorts Service Cambridge Layout ☎ 7737669865☎ Book Your One night Stand (Ba...
Escorts Service Cambridge Layout  ☎ 7737669865☎ Book Your One night Stand (Ba...Escorts Service Cambridge Layout  ☎ 7737669865☎ Book Your One night Stand (Ba...
Escorts Service Cambridge Layout ☎ 7737669865☎ Book Your One night Stand (Ba...
 
Call Girls Alandi Road Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Alandi Road Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Alandi Road Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Alandi Road Call Me 7737669865 Budget Friendly No Advance Booking
 
VVVIP Call Girls In East Of Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In East Of Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...VVVIP Call Girls In East Of Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
VVVIP Call Girls In East Of Kailash ➡️ Delhi ➡️ 9999965857 🚀 No Advance 24HRS...
 
Nandini Layout Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Nandini Layout Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...Nandini Layout Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
Nandini Layout Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangal...
 
Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...
Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...
Dombivli Call Girls, 9892124323, Kharghar Call Girls, chembur Call Girls, Vas...
 
CALL ON ➥8923113531 🔝Call Girls Husainganj Lucknow best Female service 🧳
CALL ON ➥8923113531 🔝Call Girls Husainganj Lucknow best Female service  🧳CALL ON ➥8923113531 🔝Call Girls Husainganj Lucknow best Female service  🧳
CALL ON ➥8923113531 🔝Call Girls Husainganj Lucknow best Female service 🧳
 
Call Girls Devanahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Devanahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Devanahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Devanahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 

Massively Parallel Landscape-Evolution Modelling using General Purpose Graphical Processing Units

  • 1. Massively parallel Landscape- Evolution Modelling using General Purpose Graphical Processing Units A.S. McGough, S. Liang, M. Rapoportas, D. Maddy, A. Trueman J. Wainwright, R. Grey and G. Kumar Vinod 19th December 2012 HiPC 2012 Pune, India School of Student Research Department of Computing Scholarships and Geography Science Expeditions
  • 2. Landscape Evolution Modeling • Landscapes change over time due to water – Physical and Chemical Weathering require water to break down material – Higher energy flowing water both Erodes and Transports material until decreasing energy conditions result in Deposition of material • These processes take a long time – Many glacial-Interglacial Cycles • Cycles are ~100ka for last 800ka, prior to 800ka cycles were ~40ka in length • We want to use retrodiction to work out how the landscape has changed • Use a simulation to model how the landscape changes – 3D Landscape is descretized as a 2D grid (x,y) with cell values representing surface heights (z) derived from a digital elevation model (DEM) 31 22 32 33 32 25 33 34 29 26 27 39 36 27 26 41 44 50 45 44 40 51 55 39 44 46
  • 3. Landscape Evolution Modeling Each iteration of the simulation: How much material will be removed? How much material will be deposited? Each step is ‘fairly’ fast… But we want to do lots of them 120K to 1M years Erosion/ On landscapes of 6-46M cells. Deposition If we could simulate 1 year Flow in 1 minute this would take Routing 83 – 694 days! (assuming 1 year = 1 iteration, may need more) Current sequential version Flow is much slower than this… Accumulation
  • 4. Execution analysis of Sequential LEM • We started from an existing LEM – 51x100 cells took 72 hours • estimate for 25M cells 64,000 years – This was in-optimal code • Reduced execution time from 72 to 4.7 hours • 64,000 years down to 300 years • But this is still not enough for our needs • Performance Analysis: • ~74% of time spent routing and accumulating • Need orders of magnitude speedup – So look at these
  • 5. Parallel Flow Routing • Each cell can be done independently of all others – SFD 3 2 4 • 100% flow to the lowest neighbour 7 5 8 – MFD 7 1 9 • Flow is proportioned between all lower neighbours 3 2 4 7 5 8 7 1 9 • Almost linear speed-up – Problems with code divergence • CUDA Warps split when code contains a fork
  • 6. Parallel Accumulation: Correct Flow • Iterate: – Do not compute a cell until it has no incorrect cells flowing into it – Sum all inputs and add self Flow Routing Accumulation Correct 5 6 7 14 19 4 1 6 3 1 3 1 1 2 2 1 1 1 1 1 2 1 1 2 4 Cell values are not normally 1, but the value from the flow routing
  • 7. Not the whole story… • Sinks and Plateaus • Can’t work out flow routing on sinks and plateaus • Need to ‘fake’ a flow routing – Fill a sink until it can flow out – Fake flow directions on a plateau to the outlet • Single flow direction vs multiple flow direction – MFD is better but much more complex
  • 8. Parallel Plateau routing • Need to find the outflow of a plateau and flow all water to it • A common solution is to use a breadth first search algorithm – Parallel implementation – Though result does look ‘unnatural’ – Alternative patterns are possible – but acceptable • We are investigating alternative solutions
  • 9. Sink filling • Dealing with a single sink is (relatively) simple – Fill sink until we end up with a plateau • But what if we have multiple nested sinks? • Implemented parallel version of the sink filling algorithm proposed by Arger et al [2003] – Identify each sink (parallel) – Determine which cells flow into this sink - watershed (parallel) – Determine the lowest cell joining each pair of sinks (parallel/sequential) – Work out how high cells in each sink need to be raised to allow all cells to flow out of the DEM (sequential) – Fill all sink cells to this height (parallel)
  • 10. GPGPU Solution • Massively parallel version of the LEM – For Direction (including plateau and sinks) and Accumulation • Process has now been parallelized – on NVIDIA Fermi based graphics cards • Tesla C2050, GTX580 – ~two orders of magnitude speedup over the optimized sequential code (up to 46m cells) – CUDA based Card Memory Cores GTX580 3GB 512 C2050 3GB 448
  • 11. Results • Overall performance (millions) • Flow Direction – Inc sink & plateau • Flow Accumulation
  • 12. Results • Comparison over iterations • Correct flow completion profile
  • 13. QUESTIONS? A.S. McGough, S. Liang, M. Rapoportas, D. Maddy, A. Trueman, J. Wainwright, R. Grey, G. Kumar Vinod stephen.mcgough@ncl.ac.uk School of Student Research Department of Computing Scholarships and Geography Science Expeditions