Coupling ROMS and WRF using MCT

Slides:



Advertisements
Similar presentations
Basics of numerical oceanic and coupled modelling Antonio Navarra Istituto Nazionale di Geofisica e Vulcanologia Italy Simon Mason Scripps Institution.
Advertisements

Weather Research & Forecasting: A General Overview
Earth System Curator Spanning the Gap Between Models and Datasets.
WRF Modeling System V2.0 Overview
June 2003Yun (Helen) He1 Coupling MM5 with ISOLSM: Development, Testing, and Application W.J. Riley, H.S. Cooley, Y. He*, M.S. Torn Lawrence Berkeley National.
CCSM cpl6 Design and Interfaces Tony Craig Brian Kauffman Tom Bettge National Center for Atmospheric Researc Robert Jacob Jay Larson Everest Ong Argonne.
1 Coven a Framework for High Performance Problem Solving Environments Nathan A. DeBardeleben Walter B. Ligon III Sourabh Pandit Dan C. Stanzione Jr. Parallel.
- How does the coupled modeling system work
Climate modeling Current state of climate knowledge – What does the historical data (temperature, CO 2, etc) tell us – What are trends in the current observational.
Reference: Message Passing Fundamentals.
Nesting. Eta Model Hybrid and Eta Coordinates ground MSL ground Pressure domain Sigma domain  = 0  = 1  = 1 Ptop  = 0.
Mesoscale & Microscale Meteorological Division / NCAR ESMF and the Weather Research and Forecast Model John Michalakes, Thomas Henderson Mesoscale and.
Weather Research & Forecasting Model (WRF) Stacey Pensgen ESC 452 – Spring ’06.
Exploring strategies for coupled 4D-Var data assimilation using an idealised atmosphere-ocean model Polly Smith, Alison Fowler & Amos Lawless School of.
Operating Systems Concepts 1. A Computer Model An operating system has to deal with the fact that a computer is made up of a CPU, random access memory.
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.
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.
1 CCOS Seasonal Modeling: The Computing Environment S.Tonse, N.J.Brown & R. Harley Lawrence Berkeley National Laboratory University Of California at Berkeley.
Effects of Ocean-Atmosphere Coupling in a Modeling Study of Coastal Upwelling in the Area of Orographically-Intensified Flow Natalie Perlin, Eric Skyllingstad,
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.
CESM/RACM/RASM Update May 15, Since Nov, 2011 ccsm4_0_racm28:racm29:racm30 – vic parallelization – vic netcdf files – vic coupling mods and “273.15”
Earth Science Division National Aeronautics and Space Administration 18 January 2007 Paper 5A.4: Slide 1 American Meteorological Society 21 st Conference.
Computational Design of the CCSM Next Generation Coupler Tom Bettge Tony Craig Brian Kauffman National Center for Atmospheric Research Boulder, Colorado.
A Metadata Based Approach For Supporting Subsetting Queries Over Parallel HDF5 Datasets Vignesh Santhanagopalan Graduate Student Department Of CSE.
Initial Results from the Integration of Earth and Space Frameworks Cecelia DeLuca/NCAR, Alan Sussman/University of Maryland, Gabor Toth/University of Michigan.
Oceanic and Atmospheric Modeling of the Big Bend Region Steven L. Morey, Dmitry S. Dukhovksoy, Donald Van Dyke, and Eric P. Chassignet Center for Ocean.
Using HDF5 in WRF Part of MEAD - an alliance expedition.
Model Coupling Environmental Library. Goals Develop a framework where geophysical models can be easily coupled together –Work across multiple platforms,
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.
The Fujin Development of Parallel Coupler Takashi Arakawa Research Organization for Information Science & Technology.
Dale haidvogel Nested Modeling Studies on the Northeast U.S. Continental Shelves Dale B. Haidvogel John Wilkin, Katja Fennel, Hernan.
Distributed Data Assimilation - A case study Aad J. van der Steen High Performance Computing Group Utrecht University 1. The application 2. Parallel implementation.
Imposed versus Dynamically Modeled Sea Ice: A ROMS study of the effects on polynyas and waters masses in the Ross Sea John M. Klinck, Y. Sinan Hüsrevoglu.
ARGONNE NATIONAL LABORATORY Climate Modeling on the Jazz Linux Cluster at ANL John Taylor Mathematics and Computer Science & Environmental Research Divisions.
NIH Resource for Biomolecular Modeling and Bioinformatics Beckman Institute, UIUC NAMD Development Goals L.V. (Sanjay) Kale Professor.
NIH Resource for Biomolecular Modeling and Bioinformatics Beckman Institute, UIUC NAMD Development Goals L.V. (Sanjay) Kale Professor.
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.
Regional Air-Sea Interactions in Eastern Pacific 6th International RSM Workshop Palisades, New York July 11-15, th International RSM Workshop Palisades,
ROMS in Alaska Waters Kate Hedstrom, ARSC/UAF Enrique Curchitser, IMCS/Rutgers August, 2007.
ROMS as a Component of the Community Climate System Model (CCSM) Enrique Curchitser, IMCS/Rutgers Kate Hedstrom, ARSC/UAF Bill Large, Mariana Vertenstein,
3 rd Annual WRF Users Workshop Promote closer ties between research and operations Develop an advanced mesoscale forecast and assimilation system   Design.
Towards development of a Regional Arctic Climate System Model --- Coupling WRF with the Variable Infiltration Capacity land model via a flux coupler Chunmei.
“Very high resolution global ocean and Arctic ocean-ice models being developed for climate study” by Albert Semtner Extremely high resolution is required.
Earth System Modeling Framework Python Interface (ESMP) October 2011 Ryan O’Kuinghttons Robert Oehmke Cecelia DeLuca.
CCSM Portability and Performance, Software Engineering Challenges, and Future Targets Tony Craig National Center for Atmospheric Research Boulder, Colorado,
August 2001 Parallelizing ROMS for Distributed Memory Machines using the Scalable Modeling System (SMS) Dan Schaffer NOAA Forecast Systems Laboratory (FSL)
Earth Systems Coupling Advanced Algorithms Worldwide Nested Applications High Performance Computing Forecast Systems User Community Advanced Data Assimilation.
ATmospheric, Meteorological, and Environmental Technologies RAMS Parallel Processing Techniques.
I/O for Structured-Grid AMR Phil Colella Lawrence Berkeley National Laboratory Coordinating PI, APDEC CET.
NCEP ESMF GFS Global Spectral Forecast Model Weiyu Yang, Mike Young and Joe Sela ESMF Community Meeting MIT, Cambridge, MA July 21, 2005.
U.S. EPA and WIST Rob Gilliam *NOAA/**U.S. EPA
Progress on Component-Based Subsurface Simulation I: Smooth Particle Hydrodynamics Bruce Palmer Pacific Northwest National Laboratory Richland, WA.
Parallel Data Transfer in the Model Coupling Toolkit Robert L. Jacob J. Walter Larson Mathematics and Computer Science Division Argonne National Laboratory.
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.
Effect of the Gulf Stream on Winter Extratropical Cyclones Jill Nelson* and Ruoying He Marine, Earth, and Atmospheric Sciences, North Carolina State University,
SDM Center High-Performance Parallel I/O Libraries (PI) Alok Choudhary, (Co-I) Wei-Keng Liao Northwestern University In Collaboration with the SEA Group.
Motivation: dynamic apps Rocket center applications: –exhibit irregular structure, dynamic behavior, and need adaptive control strategies. Geometries are.
A TIME-GCM CAM Multi-executable Coupled Model Using ESMF and InterComm Robert Oehmke, Michael Wiltberger, Alan Sussman, Wenbin Wang, and Norman Lo.
IC2_I Scenarios of future changes in the occurrence of extreme storm surges Nilima Natoo A. Paul, M. Schulz (University of Bremen) M.
Regional Climate Model Version 4.1 (RegCM4.1) Centre for Oceans, Rivers, Atmosphere and Land Sciences Indian Institute of Technology Kharagpur Kharagpur.
Coupled atmosphere-ocean simulation on hurricane forecast
Shuyi S. Chen, Ben Barr, Milan Curcic and Brandon Kerns
Mark A. Bourassa and Qi Shi
Performance of the VIC land surface model in coupled simulations
FUJIN: a parallel framework for meteorological models
Presentation transcript:

Coupling ROMS and WRF using MCT Coupling design and implementation

ROMS 2.0 ROMS 2.0 – new version changed from F77 to F90/F95 explicit interfaces subject to “strong typing” allocation is via dereferenced pointer structures parallel framework includes shared- and distributed- memory paradigms

WRF-Weather Research and Forecasting Designed for: 1-10 km horizontal grid resolution advanced data assimilation and model physics both research and operations performance and maintainability Developed at: NCAR NOAA – NCEP/FSL/GFDL EPA – Atmospheric Modeling Division University Community

WRF – Software design

The Coupler WRF and ROMS are coupled using the Model Coupling Toolkit (MCT) developed at Argonne National Labs MCT handles the passing of variables between the ocean and atmosphere models, as well as regridding and time averaging

The Model Coupling Toolkit Cons Component model processing element (PE) pool sizes remain constant Components can exchange only real and integer data as groups of vectors Pros Any number of components (ocean, atmos, ice, wave spray, etc) Any decomposition Any number of processors-per component local re-gridding supported by sparse-matrix multiplication The MCT user can supply: Consistent numbering schemes for grid points Integer ID for each component An MPI communicator for each component Interpolation Matrix Elements

Parallel data passing Each component model in the MCT framework passes the coupler information about the decomposition of the data arrays in the form of a Global Segment Map This allows for parallel data transfer, and the ability to regrid from the atmosphere grid to the ocean on local processors. A sample decomposition, and resulting Global Segment Map is shown in the next slide.

Numbering of gridpoints Processor Decomposition GlobalSegMap Examples 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 atmosphere Pe_loc start length 0 1 8 1 9 8 2 17 4 1 Total number of segments = 3 Pe_loc start length 0 1 2 0 5 2 0 9 2 1 3 2 1 7 2 1 11 2 2 13 2 2 17 2 3 15 2 3 19 2 Processor Decomposition 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 3 Total number of segments = 10 ocean 1

Coupling through I/O API WRF I/O API abstracted to allow changing packages (netCDF, HDF5, etc) passing 2-D fields at the air-sea interface equivalent to file I/O standard interface allows easy interchange of components easy interchange of variables passed ROMS changes (all CPP “switches”) new module “mod_io_couple.F” ocean.F subroutinized – takes communicator as argument, passed to distribute.F communicator pass to distribute.F, MPI initialization and finalization done by coupler input file now handles tiling

Variables Passed Atmospheric Model (WRF) Oceanic Model (ROMS) SST - Sea Surface Temp t - Wind Stress Q - heat (short wave and long wave) E - Evaporation P - Precipitation QLW QSENS QLATENT t QSW E-P SST Oceanic Model (ROMS)

Alpha coupling --The first runs The initial coupling took a sample test problem from WRF that integrates the evolution of a supercell. ROMS and WRF were run on the same grid so no sparse-matrix multiplication was needed, and the fast dynamics of the 3 hour simulation meant that ROMS and WRF could be run at similar timestep sizes to eliminate the need for time averaging. ROMS was given an initial stratification typical of summertime off the Florida coast, where supercells have been observed, and was forced only by the WRF-generated surface winds

Initial Model Results Updraft cells (yellow/white) drove strong convergent surface winds (white arrows) resulting in strong (2-3 m/s) surface currents. Surface height (color slice) variations of a half-meter over 20 km were observed, and waves propagate along the thermocline (shown in blue).

Initial Model Results, cont’d

Future Work Currently only SST and Winds are passed between models - other variables need to be passed and implemented into model forcing Allow models to run on separate grids (regridding with MCT) Time averaging of fields using MCT accumulator needs to be implemented Coupling across the TeraGrid (next slide)

Coupled Modeling Across the TeraGrid NCSA IA-32 Cluster (Myrinet) PSC Alpha Cluster (Quadrics) Wind Stress ROMS WRF SST In a collaborative effort between the NOAA PMEL and FSL laboratories, NCAR and Argonne, a version of the coupled WRF/ROMS model is being developed in which the ROMS component runs on one TeraGrid machine and the WRF component runs on a second TeraGrid machine. Intra-component communication occurs over, for example, Myrinet or Quadrics while inter-component communication (exchange of boundary conditions) will occur over the TeraGrid fiber-optic backbone. MPICH-G2, a globus-enabled version of MPI will provide the communication library used to implement all communication. The coupled model is divided into components using the Lawrence Berkeley Laboratory Multi-Program Component Handshaking (MPH) software. Parallel re-gridding of boundary conditions exchanged between the two models will be implemented using the Argonne Model Coupling Toolkit (MCT).

Questions?

Abstract WRF/ROMS coupling design and implementation using the Model Coupling Toolkit Rob Jacob, Dale Haidvogel, Al Hermann, John Michalakes, Christopher Moore Dan Schaffer WRF and ROMS are coupled using the Model Coupling Toolkit (MCT) developed at Argonne National Laboratory. MCT is a Fortran90 library built on top of MPI with data types and methods that simplify the construction of distributed-memory parallel couplers. The coupler design itself is parallel, avoiding bottlenecks by allowing for parallel exchange of fields between models on different grids, and time averaging over the coupling period. The coupling is wired into the mediation layer in WRF, and into the I/O layer in ROMS. The initial coupling passes wind-stress from WRF to ROMS and sea surface temperature from ROMS to WRF. Longwave and shortwave heat and evaporation/precipitation will soon be added as variables passed. A simulation is run with WRF creating a supercell, and ROMS integrating the oceanic response. WRF creates the typical “hook-return” convective updraft usually seen in storms that generate supercells, as well as high precipitation and updraft-splitting. The ROMS response shows upwelling/downwelling patterns centered on the supercell updraft location, and oceanic circulation that mimics that of measured oceanic response to offshore supercell storms. Future work includes developing an API that will allow coupling and I/O using MCT and HDF5, and utilizing this API in both WRF and ROMS, as well as coupling across the TeraGrid using MPICH-G2.

MCT Distribution Architecture { High-level MCT classes Model Coupling Toolkit Low-level MCT classes Message-Passing Environment Utilities (MPEU)