RIDC-DD: a Parallel Space Time · PDF fileBen Ong [email protected] A parallel space{time...

37
RIDC-DD: a Parallel Space–Time Algorithm Benjamin Ong 1 Ronald Haynes 2 1 Michigan State University, East Lansing, MI 2 Memorial University of New Foundland, Canada June 18, 2013 Work kindly supported by the AFOSR, BAA 9550-12-1-0455 Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013

Transcript of RIDC-DD: a Parallel Space Time · PDF fileBen Ong [email protected] A parallel space{time...

Page 1: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

RIDC-DD: a Parallel Space–Time Algorithm

Benjamin Ong 1 Ronald Haynes 2

1Michigan State University, East Lansing, MI

2Memorial University of New Foundland, Canada

June 18, 2013

Work kindly supported by the AFOSR, BAA 9550-12-1-0455

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 1/ 34

Page 2: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

Introduction

Outline:

Motivating Examples

RIDC (Revisionist Integral Defect Correction)

RIDC-DD (RIDC with Domain Decomposition)

Scaling Studies

Future Work

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 2/ 34

Page 3: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

Motivating Example

A low-order time integrator accumulates error

E.g. Arenstof 3-body problem (earth, moon, rocket)

periodic orbit

−2 −1 0 1−0.5

0

0.5

1

1.5

x

y

Forward Euler integrator, stepsize adaptivity; circles indicaterejected steps

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 3/ 34

Page 4: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

Motivating Example

Idea: While computing a low-order (inaccurate) solution,simultaneously correct the solution (in parallel)

−2 −1 0 1−0.5

0

0.5

1

1.5

x

y

(a) prediction

−2 −1 0 1−2

−1

0

1

2

x

y

(b) 1st Correction

−2 −1 0 1−2

−1

0

1

2

x

y

(c) 2nd Correction

−2 −1 0 1 2−2

−1

0

1

2

x

y

(d) 3rd Correction

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 4/ 34

Page 5: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

Motivating Example #2

Many production software encounter strong scaling limits

e.g. WRF (Weather Research and Forecasting Model)developed by NCAR

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 5/ 34

Page 6: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

Motivating Example #2

Strong Scaling Study

28 29 210 211 212

0.2

0.4

0.6

0.8

1

Number of cores

Sp

eed

/cor

e

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 6/ 34

Page 7: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

Big Picture ...

PDE of interest:

ut = L(t, u), (x , t) ∈ Ω× [0,T ]

u(t, x) = g(t, x), x ∈ ∂Ω

u(t, x) = u0(x), x ∈ Ω

Serial time integrator, spatially parallel code, scales to Nx

processors.

Idea: Simultaneously solve PDE and error PDEs.

Parallel space–time algorithm scales to Nx × Nt processors.

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 7/ 34

Page 8: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

Comparison between RIDC and Parareal

Parareal

Large-scale parallelism

Iterative approach

Sensitive to choice ofcoarse/fine integrator

Symplectic variant forHamiltonian systems

RIDC

Small-scale parallelism

Direct approach

obvious choices forintegrators for physical/errorPDEs

natural way to leverageheterogeneous architectures

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 8/ 34

Page 9: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

Error PDE

Let u be the exact (unknown) solution to ut = L(t, u)

Let η be the approximate solution

Error: e(t, x) = u(t, x)− η(t, x).

Residual, r(t, x) = ηt(t, x)− L(t, η)

Associated error PDE:

et = ut − ηt= L(t, u)− (r + L(t, η))

= L(t, η + e)− (r + L(t, η))

For stability:(e +

∫ t

0r(τ, x) dτ

)t

= L(t, η + e)− L(t, η)

e(0, x) = 0, x ∈ Ω, e(t, x) = 0, x ∈ ∂Ω

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 9/ 34

Page 10: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

Error PDE

To discretize, define q(t, x) = e +∫ t0 r(τ, x) dτ .

qt = L(

t, η + q −∫ t

0r(τ, x) dτ

)− L(t, η)

= f (t, q)

s-stage single-step method:

qn+1 − qn

∆t=

s∑i=1

biKi

where

Ki = f

tn + ci∆t, qn + ∆ts∑

j=1

aijKj

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 10/ 34

Page 11: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

Concrete Example

L(t, u) = uxx , first-order Backward Euler. After simplification:

ηn+1 + en+1 =ηn + en + ∆t(ηn+1xx + en+1

xx )−∆t(ηn+1xx )

+

∫ tn+1

tnηxx(τ, x) dτ

idea of correcting an approximation can be bootstrapped (i.e.find a correction to a corrected solution)

Adopt notation: η[p] (approximate solution),η[p] + e [p] = η[p+1] (corrected solution)

η[p+1],n+1 = η[p+1],n + ∆tη[p+1],n+1xx −∆tη

[p],n+1xx +

∫ tn+1

tnη[p]xx (τ, x) dτ

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 11/ 34

Page 12: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

Compare ...

Backward Euler discretization of original PDE

η[0],n+1 −∆tη[0],n+1xx = η[0],n

Backward Euler discretization of error PDEs

η[p+1],n+1 −∆tη[p+1],n+1xx = η[p+1],n −∆tη

[p],n+1xx +

∫ tn+1

tnη[p]xx (τ, x) dτ

lag necessary (to run in parallel)

approximate integral sufficiently accurately using quadrature

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 12/ 34

Page 13: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

Memory Footprint / Marching RIDC4

prediction (p = 0)

correction (p = 1)

correction (p = 2)

correction (p = 3)

t. . . t5 t6 t7 t8 t9 t10 . . .

Figure: (i) stencils vary on each level, (ii) white circles are simultaneouslycomputed, (iii) dark circles are stored memory footprint

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 13/ 34

Page 14: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

Convergence (in time)

Theorem

Let u(t), the solution to u′(t, x) = L(t, u), have sufficientregularity (in time), and suppose that the time domain isdiscretized into uniformly spaced time intervals. If an (r0)th orderRK method is applied to solve u′(t) = L(t, u), and(r1, r2, . . . , rm)th order RK methods are used to solve thecorresponding m error PDEs, then the cumulative order (in time)of the RIDC method is

∑mj=0 rj .

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 14/ 34

Page 15: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

Convergence (in time)

Interestingly:

Theorem

Let u(t), the solution to u′(t, x) = L(t, u), have sufficientregularity (in time), and suppose that the time domain isdiscretized into non-uniformly spaced time intervals. If an (r0)th

order RK method is applied to solve u′(t) = L(t, u), and(r1, r2, . . . , rm)th order RK methods are used to solve thecorresponding m error PDEs, then the cumulative order (in time)of the RIDC method is at least (r0 + m).

This has to do with the “smoothness” of the timediscretization

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 15/ 34

Page 16: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

Convergence Study (time)

10−4

10−3

10−210

−15

10−10

10−5

100

dt

|| e|

| ∞

slope = 1

slope = 4

Prediction1 Correction2 Corrections3 Corrections

Figure: Uniform spacing, Euler integrators

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 16/ 34

Page 17: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

Comparison with RK Integrators

Figure: n-body simulation, 400 particles

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 17/ 34

Page 18: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

Comparison with RK Integrators

Figure: n-body simulation, 400 particles

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 18/ 34

Page 19: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

Comparison with IMEX Integrators

101

102

103

104

10−10

10−5

100

wall clock time

|err

or|

FBE −− CPUARK3 −− CPUARK4 −− CPURIDC4 −− 4 CPUsFBE −− GPUARK3 −− GPUARK4 −− GPURIDC4 −− 4 GPUs

Figure: Burgers’ equation using multiple cores and multiple GPUs

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 19/ 34

Page 20: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

Recall ...

Backward Euler discretization of original PDE

η[0],n+1 −∆tη[0],n+1xx = η[0],n

H[η[0],n+1] = f0(t, x)

Backward Euler discretization of error PDEs

η[p+1],n+1 −∆tη[p+1],n+1xx = η[p+1],n −∆tη

[p],n+1xx +

∫ tn+1

tnη[p]xx (τ, x) dτ

H[η[p],n+1] = fp(t, x)

fp are known, assuming appropriate lag,

H = (1−∆t ∂xx)

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 20/ 34

Page 21: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

Combining Time and Spatial Parallelism

Suffices to consider

(1− α∆)u = f , x ∈ [0, 1]

u(0) = 0, u(1) = 0

Domain Decomposition:

split domain into several sub-domains.

solve coupled system (via transmission conditions) of PDEs

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 21/ 34

Page 22: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

Spatial Parallelism

(1− α∆)u = f , x ∈ [0, 1]

u(0) = 0, u(1) = 0

Ω0 Ω1

0 α 1x ∈ Ω0

(1− α∆)(u0) = f ,

u0(0) = 0

T [u0] |α = T [u1] |α

x ∈ Ω1

(1− α∆)(u1) = f

T [u1] |α = T [u0] |αu1(1) = 0

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 22/ 34

Page 23: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

Optimized transmission condition

Suffices to consider

(1− α∆)u = f , x ∈ [0, 1]

u(0) = 0, u(1) = 0

Ω0 Ω1

0 α 1x ∈ Ω0

(1− α∆)(u0) = f ,

u0(0) = 0

∂u0

∂x

∣∣∣∣α

+ γu0(α) =∂u1

∂x

∣∣∣∣α

+ γu1(α)

x ∈ Ω1

(1− α∆)(u1) = f

∂u1

∂x

∣∣∣∣α

− γu1(α) =∂u0

∂x

∣∣∣∣α

− γu0(α)

u1(1) = 0

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 23/ 34

Page 24: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

Schwarz Iteration

Ω0 Ω1

0 α 1

For k = 1, 2, . . ., solve

x ∈ Ω0

(1− α∆)(u0k) = f ,

u0k(0) = 0

∂u0k

∂x

∣∣∣∣α

+ γu0k(α) =

∂u1k−1

∂x

∣∣∣∣α

+ γu1k−1(α)

x ∈ Ω1

(1− α∆)(u1k) = f

∂u1k

∂x

∣∣∣∣α

− γu1k(α) =

∂u0k−1

∂x

∣∣∣∣α

− γu0k−1(α)

u1k(1) = 0

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 24/ 34

Page 25: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

Dirichlet Transmission Condition

overlap required

rate of convergence increases as overlap increases

Ω0 Ω1

0 α

dd

1

For k = 1, 2, . . ., solve

x ∈ Ω0

(1− α∆)(uk0 ) = f ,

uk0 (0) = 0

uk0 (α + d) = uk−1

1 (α + d)

x ∈ Ω0

(1− α∆)(uk1 ) = f ,

uk1 (1) = 0

uk1 (α− d) = uk−1

0 (α− d)

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 25/ 34

Page 26: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

Schwarz Convergence

linear heat equation in R1

sixteen subdomains

0 50 100 15010

−15

10−10

10−5

100

Num Iterations

err

or

robin: monodomain error

robin: successive error

dirichlet: monodomain error

dirichlet: successive error

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 26/ 34

Page 27: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

Parallel Space Time Study

Linear heat equation in R2

10× 10 non-overlapping domains

Optimized transmission conditions

Eighth order RIDC method

Transmission coefficients found recursively.

Implementation:

Nodes: 2-socket, 8-core Sandy Bridge processors, FDR IB

each socket handles one subdomain

communicates with other sockets via MPI (for dd)communicates via OpenMP threads within socket (for RIDC)

time scaling: vary number of threads on each socket

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 27/ 34

Page 28: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

Hybrid MPI–OpenMP Implementation

step n

r r r

r r r

r r r

r r rNode 0

Node 1

Eight SimultaneousSchwarz Iterations

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 28/ 34

Page 29: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

Efficiency

RIDC design: minimize memory footprint

startup complicated before marching in a pipe

parallel efficiency = # RIDC steps / Nt

where # RIDC steps = startup steps + march-in-pipe

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 29/ 34

Page 30: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

Efficiency

RIDC design: minimize memory footprint

startup complicated before marching in a pipe

parallel efficiency = # RIDC steps / Nt

where # RIDC steps = startup steps + march-in-pipe

bc bc bc bc bc bc0 1 2 3 4 · · · Ntprediction

t0 t1 t2 t3 t4 · · · tNt

Figure: RIDC1

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 29/ 34

Page 31: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

Efficiency

RIDC design: minimize memory footprint

startup complicated before marching in a pipe

parallel efficiency = # RIDC steps / Nt

where # RIDC steps = startup steps + march-in-pipe

bc bc bc bc bc bcbc bc bc bc bc0 1 2 3 4 5 · · ·

0 2 3 4 5 · · ·

prediction

1st correction

t0 t1 t2 t3 t4 · · · tNt

Figure: RIDC2

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 29/ 34

Page 32: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

bc bc bc bc bc bc bc bcbc bc bc bc bc bc bcbc bc bc bc bc bc

0 1 2 3 5 6 7 8 · · ·

0 2 3 5 6 7 8 · · ·

0 4 5 6 7 8 · · ·

prediction

1st correction

2nd correction

t0 t1 t2 t3 t4 · · ·Figure: RIDC3

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 30/ 34

Page 33: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

bc bc bc bc bc bc bc bcbc bc bc bc bc bc bcbc bc bc bc bc bcbc bc bc bc bc

0 1 2 3 5 6 9 10 . . .

0 2 3 5 6 9 10 . . .

0 4 5 6 9 10 . . .

0 7 8 9 10 . . .

prediction (node 0)

1st correction (node 1)

2nd correction (node 2)

3rd correction (node 3)

t0 t1 t2 t3 t4 . . .

Figure: RIDC4

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 31/ 34

Page 34: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

Theoretical Efficiency

Assume no overhead communication cost

Nt time steps total

p · Nt processors available for RIDCp

scheme efficiency

RIDC1 NN

RIDC2 NN+1

RIDC3 NN+3

RIDC4 NN+6

RIDC5 NN+10

Theoretical Efficiency:

N

N + p(p−1)2

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 32/ 34

Page 35: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

Theoretical Efficiency

Assume no overhead communication cost

Nt time steps total

p · Nt processors available for RIDCp

scheme efficiency

RIDC1 NN

RIDC2 NN+1

RIDC3 NN+3

RIDC4 NN+6

RIDC5 NN+10

Theoretical Efficiency:

N

N + p(p−1)2

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 32/ 34

Page 36: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

Parallel Space Time Study

Nx × Ny × Nt # cores walltime speedup efficiency

10× 10× 1 100 12 minutes 1.0× 1.010× 10× 2 200 6 minutes 2.0× 0.979510× 10× 4 400 3.2 minutes 3.7× 0.929910× 10× 8 800 1.8 minutes 6.5× 0.8143

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 33/ 34

Page 37: RIDC-DD: a Parallel Space Time · PDF fileBen Ong ongbw@msu.edu A parallel space{time algorithm RIDC-DD STPM 2013 1/ 34. Introduction ... {time algorithm RIDC-DD STPM 2013 27/ 34.

Future Work / Collaborators

Future Work:

Publishing software

Fault-Tolerant RIDC-DD

Multi-Level RIDC-DD

contributing RIDC to a community software(e.g. WRF, a regional weather forecasting model)

Collaborators:

DD: Ronald Haynes (Memorial University of Newfoundland)

RIDC: Colin Macdonald (Oxford), Ray Spiteri (U. Sask)

Software: Kyle Ladd (MSU)

Fault Tolerance: Andrew Christlieb (MSU), Scott High (MSU)

WRF: Yang Zhang + team (NC State)

Ben Ong [email protected] A parallel space–time algorithm RIDC-DD STPM 2013 34/ 34