Software Practices for a Performance Portable Climate System Model

Slides:



Advertisements
Similar presentations
Technology Drivers Traditional HPC application drivers – OS noise, resource monitoring and management, memory footprint – Complexity of resources to be.
Advertisements

DOE Global Modeling Strategic Goals Anjuli Bamzai Program Manager Climate Change Prediction Program DOE/OBER/Climate Change Res Div
NSF NCAR | NASA GSFC | DOE LANL ANL | NOAA NCEP GFDL | MIT | U MICH Arlindo da Silva, NASA/GSFC/GMAO The Earth System Modeling Framework.
NSF NCAR | NASA GSFC | DOE LANL ANL | NOAA NCEP GFDL | MIT | U MICH Emergence of the Earth System Modeling Framework NSIPP Seasonal Forecast.
Earth System Curator Spanning the Gap Between Models and Datasets.
Metadata Development in the Earth System Curator Spanning the Gap Between Models and Datasets Rocky Dunlap, Georgia Tech.
O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY Center for Computational Sciences Cray X1 and Black Widow at ORNL Center for Computational.
Nov. 2002NERSC/LBNL1 Climate Modeling: Coupling Component Models by MPH for Distributed Multi-Component Environment Chris Ding and Yun (Helen) He NERSC.
O AK R IDGE N ATIONAL L ABORATORY U.S. D EPARTMENT OF E NERGY Global Climate Modeling Research John Drake Computational Climate Dynamics Group Computer.
IBM RS6000/SP Overview Advanced IBM Unix computers series Multiple different configurations Available from entry level to high-end machines. POWER (1,2,3,4)
1 Dr. Frederica Darema Senior Science and Technology Advisor NSF Future Parallel Computing Systems – what to remember from the past RAMP Workshop FCRC.
NSF NCAR | NASA GSFC | DOE LANL ANL | NOAA NCEP GFDL | MIT Adoption and field tests of M.I.T General Circulation Model (MITgcm) with ESMF Chris Hill ESMF.
NSF NCAR | NASA GSFC | DOE LANL ANL | NOAA NCEP GFDL | MIT | U MICH First Field Tests of ESMF GMAO Seasonal Forecast NCAR/LANL CCSM NCEP.
Kernel and Application Code Performance for a Spectral Atmospheric Global Circulation Model on the Cray T3E and IBM SP Patrick H. Worley Computer Science.
ICOM 5995: Performance Instrumentation and Visualization for High Performance Computer Systems Lecture 7 October 16, 2002 Nayda G. Santiago.
NE II NOAA Environmental Software Infrastructure and Interoperability Program Cecelia DeLuca Sylvia Murphy V. Balaji GO-ESSP August 13, 2009 Germany NE.
ESMF Development Status and Plans ESMF 4 th Community Meeting Cecelia DeLuca July 21, 2005 Climate Data Assimilation Weather.
Service-enabling Legacy Applications for the GENIE Project Sofia Panagiotidi, Jeremy Cohen, John Darlington, Marko Krznarić and Eleftheria Katsiri.
Computational Design of the CCSM Next Generation Coupler Tom Bettge Tony Craig Brian Kauffman National Center for Atmospheric Research Boulder, Colorado.
Computer Science Section National Center for Atmospheric Research Department of Computer Science University of Colorado at Boulder Blue Gene Experience.
ESMF Application Status GMAO Seasonal Forecast NCAR/LANL CCSM NCEP Forecast GFDL FMS Suite MITgcm NCEP/GMAO Analysis Climate Data Assimilation.
Mathematics and Computer Science & Environmental Research Divisions ARGONNE NATIONAL LABORATORY Regional Climate Simulation Analysis & Vizualization John.
4.2.1 Programming Models Technology drivers – Node count, scale of parallelism within the node – Heterogeneity – Complex memory hierarchies – Failure rates.
ESMF Performance Evaluation and Optimization Peggy Li(1), Samson Cheung(2), Gerhard Theurich(2), Cecelia Deluca(3) (1)Jet Propulsion Laboratory, California.
SciDAC All Hands Meeting, March 2-3, 2005 Northwestern University PIs:Alok Choudhary, Wei-keng Liao Graduate Students:Avery Ching, Kenin Coloma, Jianwei.
Overview of the SciDAC Project: Collaborative Design and Development of the CCSM for Terascale Computers PI: Malone(LANL), Drake(ORNL) Co-I (DOE): Ding(LBL),
CESM/ESMF Progress Report Mariana Vertenstein NCAR Earth System Laboratory CESM Software Engineering Group (CSEG) NCAR is sponsored by the National Science.
ARGONNE NATIONAL LABORATORY Climate Modeling on the Jazz Linux Cluster at ANL John Taylor Mathematics and Computer Science & Environmental Research Divisions.
Earth System Modeling Framework Status Cecelia DeLuca NOAA Cooperative Institute for Research in Environmental Sciences University of Colorado, Boulder.
Introduction to the Earth System Modeling Framework International Workshop on Next Generation Climate Models for Advanced High Performance Computing Facilities.
Petascale –LLNL Appro AMD: 9K processors [today] –TJ Watson Blue Gene/L: 40K processors [today] –NY Blue Gene/L: 32K processors –ORNL Cray XT3/4 : 44K.
Components, Coupling and Concurrency in the Earth System Modeling Framework N. Collins/NCAR, C. DeLuca/NCAR, V. Balaji/GFDL, G. Theurich/SGI, A. da Silva/GSFC,
Presented by Global Coupled Climate and Carbon Cycle Modeling Forrest M. Hoffman Computational Earth Sciences Group Computer Science and Mathematics Division.
Land Ice Verification and Validation (LIVV) Kit Weak scaling behavior for a large dome- shaped test case. It shows that the scaling behavior of a new run.
Manno, , © by Supercomputing Systems 1 1 COSMO - Dynamical Core Rewrite Approach, Rewrite and Status Tobias Gysi POMPA Workshop, Manno,
CCSM Portability and Performance, Software Engineering Challenges, and Future Targets Tony Craig National Center for Atmospheric Research Boulder, Colorado,
NSF NCAR / NASA GSFC / DOE LANL ANL / NOAA NCEP GFDL / MIT / U MICH 15 May 2003 Cecelia DeLuca / NCAR 2 nd ESMF Community Meeting Princeton, NJ NSIPP Seasonal.
CCSM Performance, Successes and Challenges Tony Craig NCAR RIST Meeting March 12-14, 2002 Boulder, Colorado, USA.
Comprehensive Scientific Support Of Large Scale Parallel Computation David Skinner, NERSC.
SDM Center High-Performance Parallel I/O Libraries (PI) Alok Choudhary, (Co-I) Wei-Keng Liao Northwestern University In Collaboration with the SEA Group.
Warren M. Washington NCAR The Parallel Climate Model (PCM) and Transition to a Climate Change Version of the Community Climate System Model (CCSM)
O AK R IDGE N ATIONAL L ABORATORY U.S. D EPARTMENT OF E NERGY Data Requirements for Climate and Carbon Research John Drake, Climate Dynamics Group Computer.
ESMF and the future of end-to-end modeling Sylvia Murphy National Center for Atmospheric Research
Performance Comparison of Winterhawk I and Winterhawk II Systems Patrick H. Worley Computer Science and Mathematics Division Oak Ridge National Laboratory.
NSF NCAR / NASA GSFC / DOE LANL ANL / NOAA NCEP GFDL / MIT / U MICH C. DeLuca/NCAR, J. Anderson/NCAR, V. Balaji/GFDL, B. Boville/NCAR, N. Collins/NCAR,
SciDAC CCSM Consortium: Software Engineering Update Patrick Worley Oak Ridge National Laboratory (On behalf of all the consorts) Software Engineering Working.
Overview of the CCSM CCSM Software Engineering Group June
Shirley Moore Towards Scalable Cross-Platform Application Performance Analysis -- Tool Goals and Progress Shirley Moore
Towards development of a Regional Arctic Climate System Model ---
VisIt Project Overview
Clouds , Grids and Clusters
GMAO Seasonal Forecast
Performance Technology for Scalable Parallel Systems
Collaborations and Interactions with other Projects
Dynamic Data Driven Application Systems
Architecture & Organization 1
University of Technology
Performance of the VIC land surface model in coupled simulations
Architecture & Organization 1
Dynamic Data Driven Application Systems
SDM workshop Strawman report History and Progress and Goal.
Mariana Vertenstein (CGD)
CLUSTER COMPUTING.
FUJIN: a parallel framework for meteorological models
Mariana Vertenstein CCSM Software Engineering Group NCAR
Systems Engineering for Mission-Driven Modeling
Data Requirements for Climate and Carbon Research
Metadata Development in the Earth System Curator
From Use Cases to Implementation
L. Glimcher, R. Jin, G. Agrawal Presented by: Leo Glimcher
Presentation transcript:

Software Practices for a Performance Portable Climate System Model John Drake Computer Sciences and Mathematics Division Oak Ridge National Laboratory Oak Ridge, Tennessee 9/18/2018 The 4th International Workshop on Next Generation Climate Models

Global Climate Change Analysis 9/18/2018 The 4th International Workshop on Next Generation Climate Models

The 4th International Workshop on Next Generation Climate Models 9/18/2018 The 4th International Workshop on Next Generation Climate Models

The 4th International Workshop on Next Generation Climate Models Model Validation 9/18/2018 The 4th International Workshop on Next Generation Climate Models

Climate Science Enabled Method: Ensemble simulations of the DOE Parallel Climate Model (PCM) Results: Detection of Anthropogenic Climate Change in the Worlds Oceans Ensembles establish 95% confidence intervals of model predictions Simulated ocean heat storage matches historical record of rising ocean temperatures Firsts: Ensemble study with US model and computers Coupled model reproducing ocean response Establishing new level of US model quality Enabling Technology: Parallel Climate Model developed in collaborative effort lead by Warren Washington (NCAR) Terascale computing resources Science 13April 2001: “Detection of Anthropogenic Climate Change in the Worlds Oceans,” Barnett, Pierce, Schnur Computing resources provided by ORNL Center for Computational Sciences - Climate and Carbon Research 9/18/2018 The 4th International Workshop on Next Generation Climate Models

Climate Scientific Directions 2000/2001 2006/2007 Global Models Current Estimates Configurations: Atmosphere 230kmL18 30km/L60(75x) Ocean 100kmL40 10km/L40(25x) Model years/day 5 100(20x) Sustained(Gflops) 6.4 9600 (1500x) At current scientific complexity a century/day at 2006 configurations requires a sustained capability of 10Tflops for a single case 9/18/2018 The 4th International Workshop on Next Generation Climate Models

The 4th International Workshop on Next Generation Climate Models 9/18/2018 The 4th International Workshop on Next Generation Climate Models

The 4th International Workshop on Next Generation Climate Models Why a Community Model? NCAR adopted to encourage climate research in universities using state of the art models. –1980 New components of a coupled system. - 1990 Individual projects unable to adapt to parallel architectures -2000 Pool resources and complete mission critical simulations Improve model quality through data assimilation 9/18/2018 The 4th International Workshop on Next Generation Climate Models

Barriers and Challenges Simulation management Coupled model development Science and software challenge Model building is a collaborative effort Performance portability Tunable code configurations Stable programming paradigm Increasing operability of utility and kernel levels Stable high performance computers Sustained rate of 10TF, high memory bandwidth, low latency, heavy I/O, mass storage Dedicated machine month Low Resolution High Resolution 20 year simulation Development 10-100 Research 1-10 200 year simulation Ensembles Dreaming 0-1 9/18/2018 The 4th International Workshop on Next Generation Climate Models

Staged Software Engineering Development Cycle Write and review requirements list Write and review a design document Write and review prototype code Unit test code Integrate and validate code Update design document and covert to documentation The Avant Garde pilot project completed one major iteration of this cycle for the coupler and atmosphere components. 9/18/2018 The 4th International Workshop on Next Generation Climate Models

Critical Decisions for Software Development Select DOE & NASA programmers given developer access Object oriented in Fortran90? Hybrid distributed/shared memory programming paradigm Transpose based parallel algorithms Maintain usable code – no down time Distributed task and design coordination Component gatekeepers and code review boards Develop extensive testing procedures 9/18/2018 The 4th International Workshop on Next Generation Climate Models

The 4th International Workshop on Next Generation Climate Models Some Terms… Performance portable – runs effectively at the model resolution on target platforms Target platforms – IBM SPs, SGI Origin, Compaq Alphasever, and vector computers Software design – formulate requirements, architecture, detailed interface specification Modular – layered, object oriented design, easily modified, understandable and extensible 9/18/2018 The 4th International Workshop on Next Generation Climate Models

Model Coupling Toolkit Issues: sequencing frequency distribution parallelism single or multiple executables stand alone execution Platform Latency L (s) Bandwidth B (MB/s) Critical Size BL (bytes) IBM SP-1 50 25 1250 IBM SP-2 35 40 1400 Cray T3D (PVM) 21 26.9 565 Sun E6000 11 160 1760 Cray T3E (MPI) 17 300 5100 IBM SP-3 (colony switch) 470 11750 9/18/2018 The 4th International Workshop on Next Generation Climate Models

The 4th International Workshop on Next Generation Climate Models Coupler Performance   Jumpshot plot of matrix-vector multiplication for the Atm to Ocn T42 field on 16 processors using blocking or non-blocking communications. 9/18/2018 The 4th International Workshop on Next Generation Climate Models

Atmospheric Model Performance 9/18/2018 The 4th International Workshop on Next Generation Climate Models

The 4th International Workshop on Next Generation Climate Models Evaluation of IBM p690 IBM SP4 “Cheetah” 4 TFLOP 24 Regatta 32 way nodes (1.3GHz) 768 Gbytes memory PCTM throughput 144 years/day 9/18/2018 The 4th International Workshop on Next Generation Climate Models

Optimized Utility Operations Vector intrinsics and physics implementations. Adjustable chunk/block sizes to fit cache and memory access. Halo updates Regridding – N to M with sparse matrix multiply multi-level cache optimization and registerization for FFT’s, Helmholtz solvers and math libraries Component frameworks for modularity and high yield memory access patterns. 9/18/2018 The 4th International Workshop on Next Generation Climate Models

Mapping to Next Generation Hardware ENSEMBLES Higher parallel granularity Flexible data structures: long vector - cache chunked Component based hardware / component based models Increased functionality in high performance utility and library layer 9/18/2018 The 4th International Workshop on Next Generation Climate Models

Next Generation Dynamical Algorithms Geodesic Grid models: CSU and LANL Spectral Element: NCAR and U. MD Multi-scale and Adaptive Mesh Refinement 9/18/2018 The 4th International Workshop on Next Generation Climate Models

The 4th International Workshop on Next Generation Climate Models Summary of Principles Demand performance Explore algorithmic alternatives Provide portability (scalability) Open the design and development process Engage broad scientific community 9/18/2018 The 4th International Workshop on Next Generation Climate Models

Sponsored by DOE/OASCR and OBER as well as NSF and NASA SciDAC: Collaborative Design and Development of the Community Climate System Model DOE, NSF, NASA-DAO Collaborative Effort Coordination – Malone(LANL), Drake(ORNL), Kiehl(NCAR) Coupler – Bettge (NCAR), Larson (ANL) Community Atmospheric Model – Williamson(NCAR), Drake(ORNL), Lin(NASA), Mirin(LLNL) POP Ocean Model – Malone(LANL), Gent(NCAR) Chemistry and Biogeochemistry – Rotman(LLNL), Erickson(ORNL) Ice model – Hunke(LANL) Common Land Model – Bonan (NCAR) Software Coordination – Craig (NCAR) Performance Evaulation – Bailey(LBNL), Worley (ORNL) Grids and Frameworks: SciDAC/Earth System Grid – Williams(PCMDI), NASA HPC/ Earth System Modeling Framework Other SciDAC projects and the Integrated Software Infrastructure Centers 9/18/2018 The 4th International Workshop on Next Generation Climate Models Sponsored by DOE/OASCR and OBER as well as NSF and NASA

Links and Documentation CCSM Software Engineering Plan for 2000-2005: (http://www.ccsm.ucar.edu/csm/working_groups/Software/plan2000-2005). CCSM Software Developers’ Guide (http://www.ccsm.ucar.edu/csm/working_groups/Software/dev_guide/dev_guide) Atmosphere Model Document Web Links:      CAM Software Requirements (http://www.cgd.ucar.edu/csm/models/atm-cam/docs/atm_reqdoc).    CAM Software Architecture (http://www.cgd.ucar.edu/csm/models/atm-cam/docs/atm_archdoc). Interface to Column Physics and Chemistry Packages (http://www.cgd.ucar.edu/csm/models/atm-cam/docs/phys-interface)   Coupler Document Web Links: Next Generation Coupler Requirements Document (http://www.cgd.ucar.edu/csm/models/cpl6/docs/cpl6_reqdoc/cpl6_reqdoc.html)   MPH: A Library for Distributed Multi-Component Environment (http://www.nersc.gov/research/SCG/acpi/MPH/mph_doc) CCSM Coupler Architecture – CPL6 ( http://www.cgd.ucar.edu/csm/models/cpl6/docs/cpl6_archdoc/cpl6_archdoc.html) The Model Coupling Toolkit API Definition Document ( http://www.mcs.anl.gov/acpi/mct/mct_APIs.pdf) 9/18/2018

The 4th International Workshop on Next Generation Climate Models Abstract Title: Software Practices for a Performance Portable Climate System Model Climate prediction capabilities are significantly enhanced through the use of high-performance, parallel computers. The Community Climate System Model (CCSM) is a joint development effort of NSF, DOE and NASA sponsored Teams with the goal of providing a common modeling system for academic research and agency mission work in climate Change. To accomplish this goal requires the adoption of software practices that balance the competing Interests in computational performance, code portability and model extensibility. The CCSM development project is Engaged in an open design processes with software requirements, architecture, interface specification and testing Procedures. These practices were successful in the redesign of the atmospheric component and development of a New coupler for the coupled climate system model. The implementation issues of a hybrid parallel programming paradigm together with modular, object oriented styles will be discussed. Future work seeks to extend the software Practices to other teams and other component models of the CCSM. 9/18/2018 The 4th International Workshop on Next Generation Climate Models