Coupler Design Issues from the Modular Ocean Data Assimilation Project Dr. Richard Loft Computational Science Section Scientific Computing Division National.

Slides:



Advertisements
Similar presentations
GEMS Kick- off MPI -Hamburg CTM - IFS interfaces GEMS- GRG Review of meeting in January and more recent thoughts Johannes Flemming.
Advertisements

The Inverse Regional Ocean Modeling System:
ROMS/TOMS Tangent Linear and Adjoint Models Andrew Moore, CU Hernan Arango, Rutgers U Arthur Miller, Bruce Cornuelle, Emanuele Di Lorenzo, Doug Neilson.
The ROMS TL and ADJ Models: Tools for Generalized Stability Analysis and Data Assimilation Hernan Arango, Rutgers U Emanuele Di Lorenzo, GIT Arthur Miller,
CSE351/ IT351 Modeling and Simulation
CPI International UV/Vis Limb Workshop Bremen, April Development of Generalized Limb Scattering Retrieval Algorithms Jerry Lumpe & Ed Cólon.
October, Scripps Institution of Oceanography An Alternative Method to Building Adjoints Julia Levin Rutgers University Andrew Bennett “Inverse Modeling.
Advanced data assimilation methods with evolving forecast error covariance Four-dimensional variational analysis (4D-Var) Shu-Chih Yang (with EK)
Coupling ROMS and WRF using MCT
Numerical Grid Computations with the OPeNDAP Back End Server (BES)
Introduction In the next few slides you will get an overview of the types of models that the Navy is using – analysis systems, tidal models and the primitive.
WRF-VIC: The Flux Coupling Approach L. Ruby Leung Pacific Northwest National Laboratory BioEarth Project Kickoff Meeting April 11-12, 2011 Pullman, WA.
An Assimilating Tidal Model for the Bering Sea Mike Foreman, Josef Cherniawsky, Patrick Cummins Institute of Ocean Sciences, Sidney BC, Canada Outline:
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.
Metadata Creation with the Earth System Modeling Framework Ryan O’Kuinghttons – NESII/CIRES/NOAA Kathy Saint – NESII/CSG July 22, 2014.
ROMS/TOMS TL and ADJ Models: Tools for Generalized Stability Analysis and Data Assimilation Andrew Moore, CU Hernan Arango, Rutgers U Arthur Miller, Bruce.
The Inverse Regional Ocean Modeling System: Development and Application to Data Assimilation of Coastal Mesoscale Eddies. Di Lorenzo, E., Moore, A., H.
NE II NOAA Environmental Software Infrastructure and Interoperability Program Cecelia DeLuca Sylvia Murphy V. Balaji GO-ESSP August 13, 2009 Germany NE.
Computational Design of the CCSM Next Generation Coupler Tom Bettge Tony Craig Brian Kauffman National Center for Atmospheric Research Boulder, Colorado.
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.
Collaborative Research: Toward reanalysis of the Arctic Climate System—sea ice and ocean reconstruction with data assimilation Synthesis of Arctic System.
ESMF Code Generation Rocky Dunlap Spencer Rugaber Leo Mark Georgia Tech College of Computing.
SOFTWARE DESIGN (SWD) Instructor: Dr. Hany H. Ammar
Ocean Data Variational Assimilation with OPA: Ongoing developments with OPAVAR and implementation plan for NEMOVAR Sophie RICCI, Anthony Weaver, Nicolas.
The Fujin Development of Parallel Coupler Takashi Arakawa Research Organization for Information Science & Technology.
A study of relations between activity centers of the climatic system and high-risk regions Vladimir Penenko & Elena Tsvetova.
4.2.1 Programming Models Technology drivers – Node count, scale of parallelism within the node – Heterogeneity – Complex memory hierarchies – Failure rates.
Weak and Strong Constraint 4DVAR in the R egional O cean M odeling S ystem ( ROMS ): Development and Applications Di Lorenzo, E. Georgia Institute of Technology.
Progress in the implementation of the adjoint of the Ocean model NEMO by using the YAO software M. Berrada, C. Deltel, M. Crépon, F. Badran, S. Thiria.
Dale haidvogel Nested Modeling Studies on the Northeast U.S. Continental Shelves Dale B. Haidvogel John Wilkin, Katja Fennel, Hernan.
In collaboration with: J. S. Allen, G. D. Egbert, R. N. Miller and COAST investigators P. M. Kosro, M. D. Levine, T. Boyd, J. A. Barth, J. Moum, et al.
Issues in (Financial) High Performance Computing John Darlington Director Imperial College Internet Centre Fast Financial Algorithms and Computing 4th.
Center for Component Technology for Terascale Simulation Software CCA is about: Enhancing Programmer Productivity without sacrificing performance. Supporting.
ARGONNE NATIONAL LABORATORY Climate Modeling on the Jazz Linux Cluster at ANL John Taylor Mathematics and Computer Science & Environmental Research Divisions.
Applications of optimal control and EnKF to Flow Simulation and Modeling Florida State University, February, 2005, Tallahassee, Florida The Maximum.
ROMS 4D-Var: The Complete Story Andy Moore Ocean Sciences Department University of California Santa Cruz & Hernan Arango IMCS, Rutgers University.
The I nverse R egional O cean M odeling S ystem Development and Application to Variational Data Assimilation of Coastal Mesoscale Eddies. Di Lorenzo, E.
Georgia Institute of Technology Initial Application of the Adaptive Grid Air Quality Model Dr. M. Talat Odman, Maudood N. Khan Georgia Institute of Technology.
Research Vignette: The TransCom3 Time-Dependent Global CO 2 Flux Inversion … and More David F. Baker NCAR 12 July 2007 David F. Baker NCAR 12 July 2007.
ROMS in Alaska Waters Kate Hedstrom, ARSC/UAF Enrique Curchitser, IMCS/Rutgers August, 2007.
1 1 What does Performance Across the Software Stack mean?  High level view: Providing performance for physics simulations meaningful to applications 
Colorado Center for Astrodynamics Research The University of Colorado 1 STATISTICAL ORBIT DETERMINATION The Minimum Variance Estimate ASEN 5070 LECTURE.
A Software Framework for Distributed Services Michael M. McKerns and Michael A.G. Aivazis California Institute of Technology, Pasadena, CA Introduction.
VAPoR: A Discovery Environment for Terascale Scientific Data Sets Alan Norton & John Clyne National Center for Atmospheric Research Scientific Computing.
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.
Domain Decomposition in High-Level Parallelizaton of PDE codes Xing Cai University of Oslo.
Weak Constraint 4DVAR in the R egional O cean M odeling S ystem ( ROMS ): Development and application for a baroclinic coastal upwelling system Di Lorenzo,
Cracow Grid Workshop, November 5-6, 2001 Concepts for implementing adaptive finite element codes for grid computing Krzysztof Banaś, Joanna Płażek Cracow.
2005 ROMS/TOMS Workshop Scripps Institution of Oceanography La Jolla, CA, October 25, D Variational Data Assimilation Drivers Hernan G. Arango IMCS,
Derivative-based uncertainty quantification in climate modeling P. Heimbach 1, D. Goldberg 2, C. Hill 1, C. Jackson 3, N. Petra 3, S. Price 4, G. Stadler.
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.
Weak and Strong Constraint 4D variational data assimilation: Methods and Applications Di Lorenzo, E. Georgia Institute of Technology Arango, H. Rutgers.
The I nverse R egional O cean M odeling S ystem Development and Application to Variational Data Assimilation of Coastal Mesoscale Eddies. Di Lorenzo, E.
Slide 1 NEMOVAR-LEFE Workshop 22/ Slide 1 Current status of NEMOVAR Kristian Mogensen.
Visualization of High Resolution Ocean Model Fields Peter Braccio (MBARI/NPS) Julie McClean (NPS) Joint NPS/NAVOCEANO Scientific Visualization Workshop.
Anders Nielsen Technical University of Denmark, DTU-Aqua Mark Maunder Inter-American Tropical Tuna Commission An Introduction.
Ganga/Dirac Data Management meeting October 2003 Gennady Kuznetsov Production Manager Tools and Ganga (New Architecture)
Korea Institute of Atmospheric Prediction Systems (KIAPS) ( 재 ) 한국형수치예보모델개발사업단 Identical Twin Experiments for the Representer Method with a Spectral Element.
Open boundary conditions for forced wind waves in a coupled model of tide, surge and wave S.Y. Kim Dept of Social Management, Tottori University,
An Introduction to AD Model Builder PFRP
Unstructured Meshing Tools for Fusion Plasma Simulations
Xing Cai University of Oslo
ROMS Framework: Kernel
D. Odstrcil1,2, V.J. Pizzo2, C.N. Arge3, B.V.Jackson4, P.P. Hick4
Adjoint Sensitivity Analysis of the California Current Circulation and Ecosystem using the Regional Ocean Modeling System (ROMS) Andy Moore, Emanuele.
GENERAL VIEW OF KRATOS MULTIPHYSICS
Ph.D. Thesis Numerical Solution of PDEs and Their Object-oriented Parallel Implementations Xing Cai October 26, 1998.
Support for Adaptivity in ARMCI Using Migratable Objects
Presentation transcript:

Coupler Design Issues from the Modular Ocean Data Assimilation Project Dr. Richard Loft Computational Science Section Scientific Computing Division National Center for Atmospheric Research Boulder, CO USA

Outline Project Introduction –goals / pariticipants / scope –http//:iom.asu.edu IOM: weak variational data assimilation –Inputs/outputs –Data components –Functional components IOM Coupling design –Strategy –Details –Role of Domain Specific Languages (DSL)

Modular Ocean Data Assimilation NSF ITR/AP Focus on the OSU Inverse Ocean Model (IOM) system for ocean data assimilation. –Variational data assimilation system –Weak assimilation –Iterative algorithm for solving nonlinear assimilation problems –Suite of diagnostics (posterior error statistics) –20 years in development by Bennett, et al.

Objectives of MODA Project Enhance the IOM System with modern information technology. –Modular software design –Hybrid parallel implementation –Coupled model strategy –Automated code generation Distribute it to the ocean modeling community. –5 ocean modeling partners Facilitate application of the system to coastal oceans, ocean basins and the global ocean.

NSF ITR MODA Collaboration Arizona State U. Muccino U. Colorado Moore NCAR Loft NCSA Baker U. North Carolina Leuttich Oregon State U Bennett, Egbert, Erwig Rutgers U. Arango, Haidvogel UCSD ( Scripps) Cornuelle, Miller InstitutionResearcher

IOM Team Members IOM-PEZ Parallelism –PI: Rich Loft, NCAR –Component: parallel super and Infra-structure (hybrid F90 module framework) Domain Specific Languages –PIs: Martin Erwig & Zhu Fu, OSU –Component: automated code generator (Haskell) Visualization –Pis: Polly Baker, NCSA/IU –Component: VisBenchTool Visualization Software

Participating Model Teams PEZ (Primitive Eq. Z-coordinate) model –Description: 3D, free-surface, z-coordinate Bryan-Cox –Grid: spherical polar, “B” grid –Language: F90 –Parallelism: SPMD, MPI ROMS (Regional Ocean Model System) –Description: 3D, free-surface, S-coordinate –Grid: Horizontal orthogonal curvilinear coordinate, “C” grid –Language: F90 –Parallelism: SPMD, OpenMP, MPI, SMS

Participating Model Teams SEOM (Spectral Element Ocean Model) –PI: Dale Haidvogel, Rutgers –Description: 3D, free-surface, S-coordinate –Grid: h-p finite element, quadrilateral element –Language: F90 –Parallelism: SPMD, MPI ADCIRC (Advanced Circulation) model –PIs: Julia Muccino, ASU; Rich Luettich, UNC –Description: 3D, free-surface, sigma- coordinate –Grid: finite element, linear triangular element Language: F90 –Parallelism: SPMD, MPI

Participating Model Teams OTIS (Internal Tides) –PI: Gary Egbert, OSU –Description: Laplace tidal equations plus 10 years of TOPEX/Poseidon –Description: Solid Earth mageto-tellurics (magnetic field of earth’s crust)

observing system –e.g. measured sea surface temperatures, isotherm depths and surface winds dynamics –e.g. the hydrostatic primitive equations hypothesis concerning the error –covariances of errors in the initial conditions boundary conditions and forcing estimator –space-time integrated weighted sum of squared errors optimization algorithm –iterative indirect representer algorithm Data Assimilation Checklist: Inputs

state estimate –hindcast over the period in the data collection –space-time fields for state variables data residuals, dynamic residuals –Space-time minimum residuals posterior error statistics –space-time covariances test statistics –chi square internal consistency tests model improvements –e.g. suggested from the distribution of errors observing system assessment Data Assimilation Checklist: Outputs

Inverse system data components… Vector of data to be assimilated Trajectories –multi-variate physical space-time fields –generated by tangent linear/adjoint model –user prescribed Parameters –covariance matrices –user prescribed

Inverse system functional components… Pure data space components –iterative solver Physical space components –tangent linear/ adjoint models Components that map between the two spaces. –measurement operator –impulse operator Looks like a coupled system

Coupler macro design: IOM + coupler + ocean models Fwd & adjoint Ocean model IOM Ocean Models: PEZ ROMS SEOM ADCIRC OTIS Physical space Data space Data Assimilations : IOM core Data Coupler State Both spaces Impulses / measurements: DSL autogeneration Control info grids

Data / Physical Space Interactions Ocean Model Time Integration (physical space) IOM Iterative Solve (data space) model PEs IOM PEs Interpolations

IOM System Pseudo-code IOM(){ read d first( ; uF) h = d - uF solve(h ;  ) final(  ; ) } d = data uF = meas. first guess h = misfit  = representer coefficients Key: Physical Space / user supplied Both / Auto-generated Data Space/IOM supplied Subroutine Notation: foo( in ; out ) Pure Data Space… ^ ^ ^

IOM First Guess Code first(;uF){ read F tanlin( F(x,t) ; UF(x,t) ) measure(UF(x,t) ; uF) } F(x,t) = Initial / boundary / interior forcing UF(x,t) = response to F uF = measured first guess

IOM Inner Solver Code solve(h ;  ){  = h while (  ≠  ){ comb(  ; D(x,t) ) adjoint( D(x,t) ;  (x,t) ) convolve(  (x,t) ;  (x,t) ) tanlin(  (x,t) ;  (x,t) ) measure(  (x,t) ;  ) stabilize( ,  ;  ) call precongrad(  ;  ) }  =  }  (x,t) = adjoint  (x,t) = forward D(x,t) = Dirac comb  = representer coefs  = measured   = scratch  = scratch ^ ^ ^

IOM Final Sweep final(  ; ){ comb(  ; D(x,t) ) adjoint( D(x,t) ;  (x,t) ) convolve(  (x,t) ;  (x,t) ) tanlin(  (x,t) + F(x,t); U(x,t) ) write U(x,t) } D(x,t) = Dirac comb U(x,t) = optimal estimate  (x,t) = optimal adjoint ^ ^ ^ ^ ^

IOM System Architecture Parallel Infrastructure IOM Solver IOM Coupling Layer Tangent Linear Model DSL Generated Code External libraries: MPI, NetCDF, … Adjoint Model

IOM Parallel Module Support parallel F90 Module Heirarchy: processthread virtual topology PEZ 9pt stencil IOM broadcast stencils buffers Solver global sums

IOM Coupling Design Details Key object: the observation –Simplest case: a point observation –is a distribution:  ( - ',  -  ', t-t' ) –In general smeared out over space-time. The observation (self describing) – F90 derived type – type of observation – units Associated methods must be supplied for mapping observations onto gridded state variables.

IOM Coupling Design Details Fortran/Unix specific (applications / code generator) Preferred mode: separate executables. –IOM + coupler + ocean models (constant functions) –IOM-PEZ components currently merged into one executable IOM supports parallel components (MPI/OMP/hybrid) Fixed number of processors –MPI_SPAWN and MPI_SPAWN_MULTIPLE not supported on many major platforms (e.g. IBM) ). Coupled component execution does not overlap. –Strategy adopted to enable easy interfacing with diverse ocean codes, with different internal forms of parallelism. Solver checkpoint/restarts IOM system, no internal state saved on TLM/adjoint model side.

Automatic Generation of Model- Specific IOM Tools Martin Erwin and Zhe Fu Oregon State University Idea: Ocean modelers: select simulation tools provide parameters for their models obtain a customized variational system Specify ocean modeling tools once Identify model-dependent parameters Generate Fortran programs from specification and values for parameters

IOM DSL System tool(p 1,...,p k ): obj[n] = Tool SpecificationModel Configurations p 1 = p k =... Compiler Fortran Code p 1 = p k =... module tool_ROMS... PEZ ROMS p 1 = p k =... module tool_PEZ...

IOM-DSL-Modeler Interactions tool(p 1,...,p k ): obj[n] = DSL Configuration p 1 = p k =... DSL-Compiler Fortran Computer Scientists Ocean Modelers IOM Developers

Questions?