Inter-Processor communication patterns in weather forecasting models Tomas Wilhelmsson Swedish Meteorological and Hydrological Institute Sixth Annual Workshop.

Slides:



Advertisements
Similar presentations
Assimilation of radar data - research plan
Advertisements

An introduction to the memory-distributed aspect of the code Arpege/Ifs/Aladin R. El Khatib Météo-France - CNRM/GMAP September, 2002.
Introduction to data assimilation in meteorology Pierre Brousseau, Ludovic Auger ATMO 08,Alghero, september 2008.
HIRLAM Use of the Hirlam NWP Model at Met Éireann (Irish Meteorological Service) (James Hamilton -- Met Éireann)
Assimilation Algorithms: Tangent Linear and Adjoint models Yannick Trémolet ECMWF Data Assimilation Training Course March 2006.
Status and performance of HIRLAM 4D-Var Nils Gustafsson.
Computational Challenges in Air Pollution Modelling Z. Zlatev National Environmental Research Institute 1. Why air pollution modelling? 2. Major physical.
WWOSC 2014 Montreal, Canada Running operational Canadian NWP models on next-generation supercomputers Michel Desgagné, Abdessamad Qaddouri, Janusz.
Data assimilation schemes in numerical weather forecasting and their link with ensemble forecasting Gérald Desroziers Météo-France, Toulouse, France.
Numerical Weather Prediction on Linux-clusters – Operational and research aspects Nils Gustafsson SMHI.
1/20 Accelerating minimizations in ensemble variational assimilation G. Desroziers, L. Berre Météo-France/CNRS (CNRM/GAME)
Acknowledgments: Thanks to Professor Nicholas Brummell from UC Santa Cruz for his help on FFTs after class, and also thanks to Professor James Demmel from.
High-resolution numerical modeling and predictability of atmospheric flows M. Ehrendorfer, A. Gohm and G. J. Mayr Institut für Meteorologie und Geophysik.
Current Status of the Development of the Local Ensemble Transform Kalman Filter at UMD Istvan Szunyogh representing the UMD “Chaos-Weather” Group Ensemble.
WIND ENSEMBLE FORECASTING USING AN ADAPTIVE MASS-CONSISTENT MODEL A. Oliver, E. Rodríguez, G. Montero.
DMI Update Leif Laursen ( ) Jan Boerhout ( ) CAS2K3, September 7-11, 2003 Annecy, France.
Basic Concepts of Numerical Weather Prediction 6 September 2012.
1 The Spectral Method. 2 Definition where (e m,e n )=δ m,n e n = basis of a Hilbert space (.,.): scalar product in this space In L 2 space where f * :
Operational computing environment at EARS Jure Jerman Meteorological Office Environmental Agency of Slovenia (EARS)
1 CCOS Seasonal Modeling: The Computing Environment S.Tonse, N.J.Brown & R. Harley Lawrence Berkeley National Laboratory University Of California at Berkeley.
Kernel and Application Code Performance for a Spectral Atmospheric Global Circulation Model on the Cray T3E and IBM SP Patrick H. Worley Computer Science.
NUMERICAL WEATHER PREDICTION K. Lagouvardos-V. Kotroni Institute of Environmental Research National Observatory of Athens NUMERICAL WEATHER PREDICTION.
Numerical simulations of the severe rainfall in Pula, Croatia, on 25 th September 2010 Antonio Stanešić, Stjepan Ivatek-Šahdan, Martina Tudor and Dunja.
Development of WRF-CMAQ Interface Processor (WCIP)
Computational Issues: An EnKF Perspective Jeff Whitaker NOAA Earth System Research Lab ENIAC 1948“Roadrunner” 2008.
Experience with COSMO MPI/OpenMP hybrid parallelization Matthew Cordery, William Sawyer Swiss National Supercomputing Centre Ulrich Schättler Deutscher.
NATS 101 Section 13: Lecture 24 Weather Forecasting Part I.
Regional climate prediction comparisons via statistical upscaling and downscaling Peter Guttorp University of Washington Norwegian Computing Center
Sept COMP60611 Fundamentals of Concurrency Lab Exercise 2 Notes Notes on the finite difference performance model example – for the lab… Graham Riley,
A cell-integrated semi-Lagrangian dynamical scheme based on a step-function representation Eigil Kaas, Bennert Machenhauer and Peter Hjort Lauritzen Danish.
1 Monday, 26 October 2015 © Crown copyright Met Office Computing Update Paul Selwood, Met Office.
Use of Dynamical Adaptation in Research Impact Studies Second Workshop on Statistical and Dynamical Adaptation May 2003, Vienna, Austria Martina.
HIRLAM 3/4D-Var developments Nils Gustafsson, SMHI.
Sensitivity Analysis of Mesoscale Forecasts from Large Ensembles of Randomly and Non-Randomly Perturbed Model Runs William Martin November 10, 2005.
Use of radar data in ALADIN Marián Jurašek Slovak Hydrometeorological Institute.
Data assimilation, short-term forecast, and forecasting error
High performance parallel computing of climate models towards the Earth Simulator --- computing science activities at CRIEPI --- Yoshikatsu Yoshida and.
The status and development of the ECMWF forecast model M. Hortal, M. Miller, C. Temperton, A. Untch, N. Wedi ECMWF.
Weather forecasting by computer Michael Revell NIWA
Oct WRF 4D-Var System Xiang-Yu Huang, Xin Zhang Qingnong Xiao, Zaizhong Ma, John Michalakes, Tom henderson and Wei Huang MMM Division National.
Computing at Météo-France CAS 2003, Annecy 1.News from computers 2.News from models.
ATmospheric, Meteorological, and Environmental Technologies RAMS Parallel Processing Techniques.
Recent Developments in the NRL Spectral Element Atmospheric Model (NSEAM)* Francis X. Giraldo *Funded.
Domain Decomposition in High-Level Parallelizaton of PDE codes Xing Cai University of Oslo.
Jidong Gao, Kristin Kuhlman, Travis Smith, David Stensrud 3DVAR Storm-scale assimilation in real- time.
Discretization for PDEs Chunfang Chen,Danny Thorne Adam Zornes, Deng Li CS 521 Feb., 9,2006.
Model and Data Hierarchies for Simulating and Understanding Climate Marco A. Giorgetta Demands on next generation dynamical solvers.
MPO 674 Lecture 2 1/20/15. Timeline (continued from Class 1) 1960s: Lorenz papers: finite limit of predictability? 1966: First primitive equations model.
Global variable-resolution semi-Lagrangian model SL-AV: current status and further developments Mikhail Tolstykh Institute of Numerical Mathematics, Russian.
Ocean Modelling and High Performance Computing Andrew Coward Cluster Computing Summer School 2009.
Performance Comparison of Winterhawk I and Winterhawk II Systems Patrick H. Worley Computer Science and Mathematics Division Oak Ridge National Laboratory.
Performance of a Semi-Implicit, Semi-Lagrangian Dynamical Core for High Resolution NWP over Complex Terrain L.Bonaventura D.Cesari.
École Doctorale des Sciences de l'Environnement d’Île-de-France Année Universitaire Modélisation Numérique de l’Écoulement Atmosphérique et Assimilation.
École Doctorale des Sciences de l'Environnement d’ Î le-de-France Année Modélisation Numérique de l’Écoulement Atmosphérique et Assimilation.
OSEs with HIRLAM and HARMONIE for EUCOS Nils Gustafsson, SMHI Sigurdur Thorsteinsson, IMO John de Vries, KNMI Roger Randriamampianina, met.no.
Korea Institute of Atmospheric Prediction Systems (KIAPS) ( 재 ) 한국형수치예보모델개발사업단 LETKF 앙상블 자료동화 시스템 테스트베드 구축 및 활용방안 Implementation and application of LETKF.
Regional Re-analyses of Observations, Ensembles and Uncertainties of Climate information Per Undén Coordinator UERRA SMHI.
June 20, 2005Workshop on Chemical data assimilation and data needs Data Assimilation Methods Experience from operational meteorological assimilation John.
Numerical simulations of the severe rainfall in Pula, Croatia, on 25 th September 2010 Antonio Stanešić, Stjepan Ivatek-Šahdan, Martina Tudor and Dunja.
Xing Cai University of Oslo
Progress in development of HARMONIE 3D-Var and 4D-Var Contributions from Magnus Lindskog, Roger Randriamampianina, Ulf Andrae, Ole Vignes, Carlos Geijo,
4D-VAR Optimization Efficiency Tuning
met.no – SMHI experiences with ALARO
How do models work? METR 2021: Spring 2009 Lab 10.
Some discussion points on dynamics
COMP60621 Designing for Parallelism
Use of the Hirlam NWP Model
NWP Strategy of DWD after 2006 GF XY DWD Feb-19.
Ph.D. Thesis Numerical Solution of PDEs and Their Object-oriented Parallel Implementations Xing Cai October 26, 1998.
Presentation transcript:

Inter-Processor communication patterns in weather forecasting models Tomas Wilhelmsson Swedish Meteorological and Hydrological Institute Sixth Annual Workshop on Linux Clusters for Super Computing

Signatur Numerical Weather Prediction Analysis Obtain best estimate of current weather situation from 1.Background, (the last forecast 6 to 12 hours ago) 2.Observations (ground, aircraft, ship, radiosondes, satellites) Variational assimilation in 3D or 4D Most computationally expensive part Forecast Step forward in time (48 hours, 10 days, …) Ensemble forecast Estimate uncertanty by runing many (50-100) forcasts from perturbed analysis

Signatur A 10-day ensemble forecast for Linköping Blue line is unperturbed high resolution forecast Dotted red is unperturbed reduced resolution forecast Bars indicate center 50% of 100 perturbed forecasts at reduced resolution

Signatur HIRLAM at SMHI 48-hour 22 km resolution forecast on a limited domain –Boundaries from global IFS forecast at 40km Also 11 km HIRLAM forecast on a smaller domain 40 minutes elapsed on 32 processor of a Linux cluster – Dual Intel Xeon 3.2 GHz – Infiniband – More info in Torgny Faxén’s talk tomorrow!

Signatur Codes: IFS, ALADIN, HIRLAM, ALADIN IFS – Integrated Forecast System (ECMWF) -Global, Spectral, 2D decomposition, 4D-VAR ALADIN - Aire Limitée Adaptation Dynamique développement InterNaltional –Shares codebase with ARPEGE, the Météo-France version of IFS –Limited area, Spectral, 2D decomposition, 3D-VAR –Future: AROME at 2-3 km scale HIRLAM – High Resolution Limited Area Model –Limited area, Finite difference, 2D decomposition HIRVDA – HIRlam Variational Data Assimilation –Limited area, Spectral, 1D decomposition, 3D-VAR, (and soon 4D-VAR )

Signatur Numerics Longer time steps made possible by Semi-implicit time integration –Advance fast linear modes implitly and slower non-linear modes explicitly –A Helmholz equation has to be solved In HIRLAM by direct FFT + tri-diagonal method Spectral models do it easily in Fourier space –Implications for domain decomposition! Semi-Lagrangian advection –Wide halo zones

Signatur How should we partition the grid? Example: HIRLAM C22 grid (nx = 306, ny = 306, nlev = 40) –Many complex interactions in vertical (the ”physics”). Decomposing the vertical would mean frequent interprocessor communication. –Helmholtz solver FFT part prefers nondecomposed longitudes Tridiagonal solver partpreferes nondecomposed latitudes Similar for spectal models (IFS, ALADIN & HIRVDA) –Transforming from physical space to spectral space means FFTs in both longitiudes and latitudes And physics in vertical

Signatur Grid partitioning in HIRLAM (Jan Boerhout, NEC) levels longitude latitude TWOD distribution FFT distribution TRI distribution Transpose

Signatur Transforms and transposes in IFS / ALADIN

Signatur Spectral methods in limited area models HIRVDA / ALADIN HIRVDA C22 domain –nx & ny = 306 Extension zone – nxl & nyl = 360 Spectral space – kmax & lmax = 120

Signatur Transposes in HIRVDA (spectral HIRLAM) 1D decomposition

Signatur HIRVDA timings

Signatur Transposes with 2D partitioning

Signatur Load balancing in spectral space Isotropic representation in spectral space requrires an ellipic truncation By accepting an unbalanced y-direction FFT, spectral space can be load balanced

Signatur Number of messages 1D decomposition n=4 => 24 n=64 => D decomposition n=4 => 24 n=64 => 2688

Signatur Timings on old cluster (Scali)

Signatur Timings on new cluster (Infiniband)

Signatur Zoom in…

Signatur Minimum time on old cluster

Signatur FFT / Transpose timeline 2D decomposition

Signatur FFT / Transpose timeline 1D decomposition

Signatur Semi-Lagrangian Advection Full cubic interpolation in 3D is 32 points (4x4x4)

Signatur Example: The HIRLAM C22 area (306x306 grid at 22 km resolution) Max wind speed in jet stream 120 m/s Time step 600 s => Distance 72 km = 3.3 grid points) Add stencil width (2) => nhalo= 6 With 64 processors partitioned in 8x8: – 38x38 core points per processor – 50x50 including halo Halo area is 73% of core! But full halo is not needed everywhere!

Signatur IFS & ALADIN – Semi-Lagrangian advection Requesting halo points ’on-demand’

Signatur ’On-demand’ algorithm 1.Exchange full halo for wind components (u,v & w) 2.Calculate departure points 3.Determine halo-points needed for interpolation 4.Send list of halo points to surrounding PE’s 5.Surrounding PE’s send points requested

Signatur Effects on various optimizations on IFS performance Moving from Fujitsu VPP (vector machine) to IBM SP (cluster). Figure from Debora Salmond (ECMWF).

Signatur Conclusion Meteorology and climate sciences provide plenty of fun problems for somebody interested in computational methods and parallelization. Also: –Load balancing observations in data assimilation –Overlapping I/O with computation HIRLAM & HIRVDA will get ’on-demand’ slswap soon