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.

Slides:



Advertisements
Similar presentations
Weather Research & Forecasting: A General Overview
Advertisements

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.
NSF NCAR | NASA GSFC | DOE LANL ANL | NOAA NCEP GFDL | MIT | U MICH Architecture of the Earth System Modeling Framework GMAO Seasonal.
Mesoscale & Microscale Meteorological Division / NCAR ESMF and the Weather Research and Forecast Model John Michalakes, Thomas Henderson Mesoscale and.
1 NGGPS Dynamic Core Requirements Workshop NCEP Future Global Model Requirements and Discussion Mark Iredell, Global Modeling and EMC August 4, 2014.
1 Geophysical Fluid Dynamics Laboratory Review June 30 - July 2, 2009.
WRF Outline Overview and Status WRF Q&A
WRF-VIC: The Flux Coupling Approach L. Ruby Leung Pacific Northwest National Laboratory BioEarth Project Kickoff Meeting April 11-12, 2011 Pullman, WA.
Earth System Modeling Framework Capabilities Cecelia DeLuca SCD Users Forum May 18, GMAO.
Coupling Climate and Hydrological Models Interoperability Through Web Services.
Coupling Climate and Hydrological Models Interoperability Through Web Services Kathy Saint/SGI – NESII Jon Goodall/University of South Carolina Richard.
OpenMP in a Heterogeneous World Ayodunni Aribuki Advisor: Dr. Barbara Chapman HPCTools Group University of Houston.
Components and Concurrency in ESMF Nancy Collins Community Meeting July 21, GMAO Seasonal.
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.
Metadata Creation with the Earth System Modeling Framework Ryan O’Kuinghttons – NESII/CIRES/NOAA Kathy Saint – NESII/CSG July 22, 2014.
Project Overview GMAO Seasonal Forecast NCAR/LANL CCSM NCEP Forecast GFDL FMS Suite MITgcm NASA GMAO Analysis Climate Data Assimilation.
What is ESMF and what does it mean to adopt it? 3 rd ESMF Community Meeting Cecelia DeLuca Nancy Collins
Metadata for the Coupled Ocean/Atmosphere Mesoscale Prediction System (COAMPS) using the Earth System Modeling Framework (ESMF) Peter Bosler University.
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.
CCA Common Component Architecture Manoj Krishnan Pacific Northwest National Laboratory MCMD Programming and Implementation Issues.
Computational Design of the CCSM Next Generation Coupler Tom Bettge Tony Craig Brian Kauffman National Center for Atmospheric Research Boulder, Colorado.
Initial Results from the Integration of Earth and Space Frameworks Cecelia DeLuca/NCAR, Alan Sussman/University of Maryland, Gabor Toth/University of Michigan.
Overview of ESMF in the Community Climate System Model (CCSM) Erik Kluzek NCAR -- CCSM Software Engineering Group (CSEG) Erik Kluzek NCAR -- CCSM Software.
Report to WGOMD on GFDL Ocean Modelling Activities Stephen Griffies NOAA/GFDL (and CSIRO) IPCC AR4 activities Model developments.
ESMF Code Generation Rocky Dunlap Spencer Rugaber Leo Mark Georgia Tech College of Computing.
ESMF Application Status GMAO Seasonal Forecast NCAR/LANL CCSM NCEP Forecast GFDL FMS Suite MITgcm NCEP/GMAO Analysis Climate Data Assimilation.
Coupling Climate and Hydrological Models Interoperability Through Web Services.
The use of modeling frameworks to facilitate interoperability Cecelia DeLuca/NCAR (ESMF) Bill Putman/NASA GSFC (MAPL) David Neckels/NCAR.
CESM/ESMF Progress Report Mariana Vertenstein NCAR Earth System Laboratory CESM Software Engineering Group (CSEG) NCAR is sponsored by the National Science.
Advanced Computer Networks Topic 2: Characterization of Distributed Systems.
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.
Climate-Weather modeling studies Using a Prototype Global Cloud-System Resolving Model Zhi Liang (GFDL/DRC)
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,
NSF NCAR / NASA GSFC / DOE LANL ANL / NOAA NCEP GFDL / MIT / U MICH 8 April 2003 V. Balaji / GFDL, Cecelia DeLuca / NCAR, Chris Hill / MIT, Max Suarez,
Processes Introduction to Operating Systems: Module 3.
A Portable Regional Weather and Climate Downscaling System Using GEOS-5, LIS-6, WRF, and the NASA Workflow Tool Eric M. Kemp 1,2 and W. M. Putman 1, J.
Experimental El Niño/Southern Oscillation Predictions by the UCLA Atmospheric General Circulation Model (GCM) Coupled to the MIT and POP Oceanic GCMs using.
CCSM Portability and Performance, Software Engineering Challenges, and Future Targets Tony Craig National Center for Atmospheric Research Boulder, Colorado,
Experimental El Niño/Southern Oscillation Predictions by the UCLA Atmospheric General Circulation Model (GCM) Coupled to the MIT and POP Oceanic GCMs using.
ATmospheric, Meteorological, and Environmental Technologies RAMS Parallel Processing Techniques.
NSF NCAR / NASA GSFC / DOE LANL ANL / NOAA NCEP GFDL / MIT / U MICH May 15, 2003 Nancy Collins, NCAR 2nd Community Meeting, Princeton, NJ Earth System.
NCEP ESMF GFS Global Spectral Forecast Model Weiyu Yang, Mike Young and Joe Sela ESMF Community Meeting MIT, Cambridge, MA July 21, 2005.
Coupling protocols – software strategy Question 1. Is it useful to create a coupling standard? YES, but … Question 2. Is the best approach to make a single.
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.
NSF NCAR / NASA GSFC / DOE LANL ANL / NOAA NCEP GFDL / MIT / U MICH May 14, 2003 Nancy Collins, NCAR Components Workshop, Princeton, NJ Components in the.
CCSM Performance, Successes and Challenges Tony Craig NCAR RIST Meeting March 12-14, 2002 Boulder, Colorado, USA.
1 National Environmental Modeling System (NEMS) Status M. Iredell and EMC Staff.
Adcroft, Chassignet, Danabasoglu, Doney, Hallberg, Griffies, Hill, McGillicuddy, McWilliams, Schepetkin, Wallcraft, Zadeh.
Extension of the ESMF for Space Weather Cecelia DeLuca SWW April 7, NSIPP Seasonal Forecast.
Earth System Curator and Model Metadata Discovery and Display for CMIP5 Sylvia Murphy and Cecelia Deluca (NOAA/CIRES) Hannah Wilcox (NCAR/CISL) Metafor.
WRF Software Development and Performance John Michalakes, NCAR NCAR: W. Skamarock, J. Dudhia, D. Gill, A. Bourgeois, W. Wang, C. Deluca, R. Loft NOAA/NCEP:
ESMF,WRF and ROMS. Purposes Not a tutorial Not a tutorial Educational and conceptual Educational and conceptual Relation to our work Relation to our work.
Building Community and Capability through Common Infrastructure: ESMF and the Earth System Curator Cecelia DeLuca MAP Meeting College.
Climate Data Assimilation Weather Earth System Modeling Framework (ESMF) Community Meeting, DODNSFDOENASANOAA.
Parallel Computing Presented by Justin Reschke
The NOAA Environmental Modeling System at NCEP Mark Iredell and the NEMS group NOAA/NWS/NCEP Environmental Modeling Center June 12, 2014.
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,
Background Computer System Architectures Computer System Software.
TTCN-3 Testing and Test Control Notation Version 3.
GMAO Seasonal Forecast
Part 3 Design What does design mean in different fields?
Software Practices for a Performance Portable Climate System Model
Mariana Vertenstein (CGD)
MPJ: A Java-based Parallel Computing System
Metadata Development in the Earth System Curator
Presentation transcript:

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 Community Meeting MIT, July 2005

NSF NCAR | NASA GSFC | DOE LANL ANL | NOAA NCEP GFDL | MIT Outline MITgcm – a very quick overview –algorithmic features –software characteristics Adopting ESMF –strategy –steps Field test applications –MITgcm coupling with everything (including itself!) - interoperating with NCAR, GFDL and UCLA atmosphere models, intermediate complexity coupled system. –high-end parameterization as a coupled problem. Next steps

NSF NCAR | NASA GSFC | DOE LANL ANL | NOAA NCEP GFDL | MIT MITgcm algorithmic characteristics General orthogonal curvilinear coordinate finite-volume dynamical kernel. Flexible, scalable domain decomposition 1CPU  CPU’s. Can apply to wide range of scales, hydrostatic  non-hydrostatic. Pressure-height isomorphism allows kernel to apply to ocean or atmosphere. Many optional packages spanning biogeochemistry, atmospheric physics, boundary layers, sea-ice etc… Adjoints to most parts for assimilation/state-estimation and sensitivity analysis. HYDROSTATIC NON-HYDROSTATIC ~100 km ~10 km ~1 km ~20 m ~100 m ~1000 km and more…. see

NSF NCAR | NASA GSFC | DOE LANL ANL | NOAA NCEP GFDL | MIT MITgcm software characteristics Fortran (what else ) Approx 170K executable statements Generic driver code (superstructure), coupling code, computational kernel code and parallelism, I/O etc… support code (infrastructure) are modularized  aligns with ESMF’s “sandwich” architecture. Target hardware – my laptop to largest supercomputers (Columbia, Blue Genes)  it tries to be portable! OSes - linux, HPUX, Solaris, AIX etc… Parallel - MPI parallelism binding, threads parallelism binding (dormant), platform specific parallelism library support e.g active messages, shmem (dormant). Distributed openly on web. Supported through user+developer mailing list, website. Users all over the world.

NSF NCAR | NASA GSFC | DOE LANL ANL | NOAA NCEP GFDL | MIT Outline MITgcm – a very quick overview –algorithmic features –software characteristics Adopting ESMF –strategy –steps Field test applications –MITgcm coupling with everything (including itself!) - interoperating with NCAR, GFDL and UCLA atmosphere models, intermediate complexity coupled system. –high-end parameterization as a coupled problem. Next steps

NSF NCAR | NASA GSFC | DOE LANL ANL | NOAA NCEP GFDL | MIT Adoption strategy Currently only in-house (i.e. ESMF binding not part of default distribution). Practical consideration as many MITgcm user systems do not have ESMF installed. Set of ESMF experiments maintained in MITgcm CVS source repository that we keep up to date with latest ESMF (with one/two week lag). These experiments use –ESMF component model ( init(), run(), finalize() ) –Clocks, configuration attributes, field communications –Primarily sequential mode component execution (more on this later)

NSF NCAR | NASA GSFC | DOE LANL ANL | NOAA NCEP GFDL | MIT Adoption steps – top level Introduction of internal init(), run(), finalize(). Development of couplers (and stub components to test against) –coupler_init(), coupler_run()coupler_init(), coupler_run() Development of drivers –driver_run(), driver_init()driver_run(), driver_init() Code can be seen under CVS repository at mitgcm.org. “MITgcm_contrib/ESMF”

NSF NCAR | NASA GSFC | DOE LANL ANL | NOAA NCEP GFDL | MIT Outline MITgcm very quick overview –algorithmic features –software characteristics Adopting ESMF –strategy –steps Field test applications –MITgcm coupling with everything (including itself!) - interoperating with NCAR, GFDL and UCLA atmosphere models. –high-end parameterization as a coupled problem. Next steps

NSF NCAR | NASA GSFC | DOE LANL ANL | NOAA NCEP GFDL | MIT Field test: M.I.T. General Circulation Model (MITgcm) to NCAR Community Atmospheric Model (CAM). Versions of CAM and MITgcm were adapted to a.have init(), run(), finalize() interfaces b.accept, encode and decode ESMF_state variables A coupler component that maps MITgcm grid to CAM grid was written Runtime steps MITgcm prepares export state. Export state passes through parent to coupler Coupler returns CAM gridded SST array which is passed as import state to CAM gridded component x64 on 1x16 PE’s 180x90 on 1x16 PE’s Kluzek, Hill Uses ESMF_GridComp, ESMF_CplComp and ESMF_Regrid sets of functions.

NSF NCAR | NASA GSFC | DOE LANL ANL | NOAA NCEP GFDL | MIT Versions of MOM and MITgcm were adapted to components a.work within init(), run(), finalize() interfaces b.accept, encode and decode ESMF_state variables A coupler component that maps MITgcm grid to ALI grid was written MITgcm component is substituted for MOM component with MITgcm-ALI coupler Runtime steps MITgcm prepares export state. Export state passes through parent to coupler Coupler returns ALI gridded SST array which is passed to ALI Field test: M.I.T. General Circulation Model (MITgcm) to GFDL Atmosphere/Land/Ice (ALI). 128x60 on 1x16 PE’s 144x90 on 16x1 PE’s Smithline, Zhou, Hill Uses ESMF_GridComp, ESMF_CplComp and ESMF_Regrid sets of functions.

NSF NCAR | NASA GSFC | DOE LANL ANL | NOAA NCEP GFDL | MIT SI experiment: M.I.T. General Circulation Model (MITgcm) ECCO assimilation ocean and POP to UCLA atmosphere. Uses ESMF_GridComp, ESMF_CplComp and ESMF_Regrid sets of functions. Obs. analysis 3 mo. forecast A 3 mo. forecast B

NSF NCAR | NASA GSFC | DOE LANL ANL | NOAA NCEP GFDL | MIT New app: High-end resolution embedding as a coupled problem. For a climate related ocean simulation domain decomposition is limited on the number of processors it can usefully scale to. For ~1 O model maybe no scaling beyond ~64 cpu’s This limit is because parallelism costs (comm overhead, overlap computations) exceed parallelism benefits Question: Are there other things beside ensembles of runs we can do with a thousand+ processor system? Increasing resolution is hard because explicit scheme timesteps drop with resolution – not good for millenial simulations.

NSF NCAR | NASA GSFC | DOE LANL ANL | NOAA NCEP GFDL | MIT New app: High-end resolution embedding as a coupled problem. What about embedding local sub-models, running concurrently on separate processors but coupled to coarse resolution run

NSF NCAR | NASA GSFC | DOE LANL ANL | NOAA NCEP GFDL | MIT New app: High-end resolution embedding as a coupled problem. What about embedding local sub-models, running concurrently on separate processors but coupled to coarse resolution run

NSF NCAR | NASA GSFC | DOE LANL ANL | NOAA NCEP GFDL | MIT Implementation with ESMF ESMF provides nice tools for developing this embedded system –component model abstraction for managing different pieces –parallel regrid/redist provides great tool for N to M coupling. regrid()/redist() precompute data flows at initialization. At each timestep resolving data transport between ~ components is about 15 lines of user code …… sub-components sub-sub-components Top component

NSF NCAR | NASA GSFC | DOE LANL ANL | NOAA NCEP GFDL | MIT MITgcm with ESMF next steps Continued work in house. Directions –Embedding with dynamic balancing –High-resolution ocean and coupled work ESMF in default MITgcm distribution –Most MITgcm user systems do not have ESMF installed yet. This will take time to change – how long? –Hopeful that in the next year this will evolve.

NSF NCAR | NASA GSFC | DOE LANL ANL | NOAA NCEP GFDL | MIT Summary ESMF implementation functionality has grown significantly over last year –optimized regrid/redist scaling –concurrent components Performance is always within factor of 2 of custom code at infrastructure level, at superstructure (code driver, coupling) ESMF overhead is comparable to our own code.

NSF NCAR | NASA GSFC | DOE LANL ANL | NOAA NCEP GFDL | MIT –coupler_init() –coupler_run() BACK

NSF NCAR | NASA GSFC | DOE LANL ANL | NOAA NCEP GFDL | MIT –driver_init() –driver_run() BACK