Beruflich Dokumente
Kultur Dokumente
Prediction
Scalable Algorithms and Approaches
V. Venkatesh Shenoi
Center for Development of Advanced Computing (C-DAC), Pune
ACK:
S. Janakiraman (C-DAC)
Sandeep K. Joshi (C-DAC)
SCEC 2017, Jaipur – p.1/7
Numerical Weather Prediction
A quantitative forecast of weather (or climate) based on model(temperature, wind, rain etc.
over a prescribed domain
• A system of coupled PDEs and other equations that describe the dynamic and
thermodyanamic processes in the Earth’s atmosphere
– Conservation laws (momentum, energy, mass)
– Equation of state (relating density, pressure, temperature)
– Fluid motion (relative to the Earth’s rotation)
• Approach: Discretize over the domain, converting the spatial and temporal derivatives
into a set of algebraic eqautions
– Suitable discretization, time integration schemes
– Constraint on the relative sizes of the space grid interval, time step and wind speed
(Courant-Fedrichs-Lewy stability criteria)
– Parameterization
– Boundary/Initial conditions
• Fluid velocity V ≡ (u, v, w), pressure, density, temperature, humidity
. Climate modeling Scientists and Engineers, J. B. Drake (2014)
SCEC 2017, Jaipur – p.2/7
Shallow Water Equation (Model)
SWM: Two dimensional atmosphere-like fluid model, captures the essentials math. & comput.
properties of the meteorogical primitive equations (atmospheric flow). SWE on a sphere ⇔
conservation of momentum & mass.
– V = ui + vj, velocity on the sphere
dV
= −f k × V − ∇Φ – i, j, k: unit vectors on sphere
dt
– f : Coriolis force
dΦ
= −Φ∇ · V – Φ: geopotential
dt
– a: radius of sphere
d ∂
dt = ∂t + V · ∇ – λ: longitude
i ∂ j ∂
∇ = a(1−µ2 ) ∂λ + a ∂µ
– φ: latitude, µ = sin φ
• Spectral Transform method: equations are solved in terms of the vorticity η and the
horizontal divergence δ
• η = f + k · (∇ × V), δ = ∇ · V
• Avoid singularity in velocity at poles, transform (U, V ) = V cos φ
• Equations for scalar fields η, δ, Φ along with tranformation (U, V ) ⇒ (ψ, χ) relating
η ⇔ ψ & δ ⇔ χ (differential equations)
. NCAR technical note, J. J. Hack and R. Jacob (1992)
SCEC 2017, Jaipur – p.3/7
Spectral Transform Method
The spectral representation of the scalar field variable ξ is represented by a truncated series
expansion in terms of spherical harmonic functions [Pnm (µ)eimλ ] as below,
M N (m) √
X X • i = −1
ξ(λ, µ) = ξnm Pnm (µ)eimλ
• λ: longitude
m=−M n=|m|
• φ: latitude
Z1 Z2π
• 1.63 PFlops global shallow water model on Tianhe-2 based on stencil computation over
cubed sphere mesh using Xeon Phi accelerators along with Xeon within the power
envelope of 17.8 MW [W. Xue et.al, IPDPS(2014)]
• Shallow water equation solver on heterogeneous architecture (GPU, Xeon Phi, FPGA)
based on stencil over cubed sphere mesh [H. Fu et.al, PLOS One (2017)]
• ESCAPE stands for Energy-efficient Scalable Algorithms for Weather Prediction at
Exascale http://www.hpc-escape.eu/home
- Focus on weather and climate dwarfs
- New algorithms and programming models
- Use of GPUs, Xeeon Phi and photonics technology for computation
Thank You
for your attention