July 14, 2005 Shine 2005 Coupling Frameworks in Solar-Terrestrial Research Chuck Goodrich Boston University.

Slides:



Advertisements
Similar presentations
FPGA (Field Programmable Gate Array)
Advertisements

WHAT IS AN OPERATING SYSTEM? An interface between users and hardware - an environment "architecture ” Allows convenient usage; hides the tedious stuff.
Toward operational use of radiation belt models D. Heynderickx BIRA, Ringlaan 3, B-1180 Brussel, Belgium.
Programming Languages Marjan Sirjani 2 2. Language Design Issues Design to Run efficiently : early languages Easy to write correctly : new languages.
GridRPC Sources / Credits: IRISA/IFSIC IRISA/INRIA Thierry Priol et. al papers.
MotoHawk Training Model-Based Design of Embedded Systems.
Integrated Frameworks for Earth and Space Weather Simulation Timothy Killeen and Cecelia DeLuca National Center for Atmospheric Research, Boulder, Colorado.
Coupling the RCM to LFM Frank Toffoletto (Rice) and John Lyon (Dartmouth)
1: Operating Systems Overview
The CISM Code Infrastructure Bob Weigel The CISM Knowledge Transfer Short Course AFWA Omaha, November 2-3, 2005.
10-year vision for Solar/Heliosphere area Scenario: Simulations of the time-dependent corona and solar wind based on incoming and archived solar magnetograph.
Installing and Running CISM _ DX and Overview of OpenDX The CISM Knowledge Transfer Short Course AFWA Omaha, November 2-3, 2005 Bob Weigel The CISM Knowledge.
Chapter 13 Embedded Systems
Expanded Observatory support (redundancy, verification) CME (Empirical) propagation (Cone Model) (ICME strength and arrival time) Electrodynamics model.
Flexible Control of Data Transfer between Parallel Programs Joe Shang-chieh Wu Alan Sussman Department of Computer Science University of Maryland, USA.
Chapter 2: Impact of Machine Architectures What is the Relationship Between Programs, Programming Languages, and Computers.
Flexible and Efficient Control of Data Transfers for Loosely Coupled Components Joe Shang-Chieh Wu Department of Computer Science University.
Identifying Interplanetary Shock Parameters in Heliospheric MHD Simulation Results S. A. Ledvina 1, D. Odstrcil 2 and J. G. Luhmann 1 1.Space Sciences.
CISM Advisory Council Meeting 4 March Ionosphere-Thermosphere Modeling Tim Killeen, Stan Solomon, and the CISM Ionosphere-Thermosphere Team.
Chapter 9: Moving to Design
Chapter 10 Application Development. Chapter Goals Describe the application development process and the role of methodologies, models and tools Compare.
MHD Modeling of the Large Scale Solar Corona & Progress Toward Coupling with the Heliospheric Model.
Overview of CISM Magnetosphere Research Mary Hudson 1, Anthony Chan 2, Scot Elkington 3, Brian Kress 1, William Lotko 1, Paul Melanson 1, David Murr 1,
Tuija I. Pulkkinen Finnish Meteorological Institute Helsinki, Finland
Building Coupled Parallel and Distributed Scientific Simulations with InterComm Alan Sussman Department of Computer Science & Institute for Advanced Computer.
 Cloud computing  Workflow  Workflow lifecycle  Workflow design  Workflow tools : xcp, eucalyptus, open nebula.
NE II NOAA Environmental Software Infrastructure and Interoperability Program Cecelia DeLuca Sylvia Murphy V. Balaji GO-ESSP August 13, 2009 Germany NE.
Coupling Parallel Programs via MetaChaos Alan Sussman Computer Science Dept. University of Maryland With thanks to Mike Wiltberger (Dartmouth/NCAR)
A Metadata Based Approach For Supporting Subsetting Queries Over Parallel HDF5 Datasets Vignesh Santhanagopalan Graduate Student Department Of CSE.
Flexibility and user-friendliness of grid portals: the PROGRESS approach Michal Kosiedowski
Grob Systems, Inc., the customer, requires an industrial computer system that will have a function of acquiring raw data, processing the data, presenting.
CHAPTER 3 TOP LEVEL VIEW OF COMPUTER FUNCTION AND INTERCONNECTION
Development of ORBIT Data Generation and Exploration Routines G. Shelburne K. Indireshkumar E. Feibush.
Initial Results from the Integration of Earth and Space Frameworks Cecelia DeLuca/NCAR, Alan Sussman/University of Maryland, Gabor Toth/University of Michigan.
Model Coupling Environmental Library. Goals Develop a framework where geophysical models can be easily coupled together –Work across multiple platforms,
CSE 219 Computer Science III Program Design Principles.
29 April 2010 Space Weather Workshop 2010 From Research To Operations: Transitioning CISM Models W. Jeffrey Hughes Center for Integrated Space Weather.
Middleware for FIs Apeego House 4B, Tardeo Rd. Mumbai Tel: Fax:
Computational Model of Energetic Particle Fluxes in the Magnetosphere Computer Systems Yu (Evans) Xiang Mentor: Dr. John Guillory, George Mason.
Shannon Hastings Multiscale Computing Laboratory Department of Biomedical Informatics.
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
Chapter 10 Analysis and Design Discipline. 2 Purpose The purpose is to translate the requirements into a specification that describes how to implement.
The Community Coordinated Modeling Center: A Brief Overview NASA Goddard Space Flight Center Lika Guhathakurta
Towards Exascale File I/O Yutaka Ishikawa University of Tokyo, Japan 2009/05/21.
Algorithmic Finance and Tools for Grid Execution (the Swift Grid Scripting/Workflow tool) Tiberiu (Tibi) Stef-Praun.
Distributed Information Systems. Motivation ● To understand the problems that Web services try to solve it is helpful to understand how distributed information.
9 Systems Analysis and Design in a Changing World, Fourth Edition.
Thermospheric General Circulation Models (TGCM’s) Brief History of Software Development Current State of the Codes Software Challenges and Development.
CS533 - Concepts of Operating Systems 1 The Mach System Presented by Catherine Vilhauer.
1: Operating Systems Overview 1 Jerry Breecher Fall, 2004 CLARK UNIVERSITY CS215 OPERATING SYSTEMS OVERVIEW.
GDB Meeting - 10 June 2003 ATLAS Offline Software David R. Quarrie Lawrence Berkeley National Laboratory
Project Database Handler The Project Database Handler is a brokering application that mediates interactions between the project database and the external.
Towards real-time Space Weather forecasts using CMIT: Geomagnetic variations and regional K indexes George Millward …with help from: Michael Gehmeyr (LASP),
NCEP ESMF GFS Global Spectral Forecast Model Weiyu Yang, Mike Young and Joe Sela ESMF Community Meeting MIT, Cambridge, MA July 21, 2005.
Distributed Components for Integrating Large- Scale High Performance Computing Applications Nanbor Wang, Roopa Pundaleeka and Johan Carlsson
Connections to Other Packages The Cactus Team Albert Einstein Institute
Architecture View Models A model is a complete, simplified description of a system from a particular perspective or viewpoint. There is no single view.
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.
IBM Global Services © 2005 IBM Corporation SAP Legacy System Migration Workbench| March-2005 ALE (Application Link Enabling)
High Performance Flexible DSP Infrastructure Based on MPI and VSIPL 7th Annual Workshop on High Performance Embedded Computing MIT Lincoln Laboratory
A TIME-GCM CAM Multi-executable Coupled Model Using ESMF and InterComm Robert Oehmke, Michael Wiltberger, Alan Sussman, Wenbin Wang, and Norman Lo.
1 Acquisition Automation – Challenges and Pitfalls Breakout Session # E11 Name: Jim Hargrove and Allen Edgar Date: Tuesday, July 31, 2012 Time: 2:30 pm-3:45.
VIEWS b.ppt-1 Managing Intelligent Decision Support Networks in Biosurveillance PHIN 2008, Session G1, August 27, 2008 Mohammad Hashemian, MS, Zaruhi.
Lecture 13 Parallel Processing. 2 What is Parallel Computing? Traditionally software has been written for serial computation. Parallel computing is the.
System Architecture CS 560. Project Design The requirements describe the function of a system as seen by the client. The software team must design a system.
Chapter Goals Describe the application development process and the role of methodologies, models, and tools Compare and contrast programming language generations.
Self Healing and Dynamic Construction Framework:
SOFTWARE DESIGN AND ARCHITECTURE
Anne Pratoomtong ECE734, Spring2002
Overview of Workflows: Why Use Them?
Presentation transcript:

July 14, 2005 Shine 2005 Coupling Frameworks in Solar-Terrestrial Research Chuck Goodrich Boston University

July 14, 2005 Shine 2005 Why do we need Frameworks – The Challenge of Scales Spatial scales 1 AU = 215 Rs = Re Smallest scales: ~10 -4 Re Scale span: 8.5 orders of magnitude (~2 28 ) Temporal scales Solar cycle: ~ s Solar wind travel time to 1 AU: ~ s SEP travel time: ~ s Alfvén wave travel time in the ionosphere: ~10 0 s Scale span: 8.5 orders of magnitude (~2 28 )

July 14, 2005 Shine 2005 From Codes To Framework The Sun-Earth system consists of many different interconnecting domains that have been independently modeled. Each physics domain model is a separate application, which has its own optimal mathematical and numerical representation. The goal is to integrate models into a flexible software framework. The framework incorporates physics models with minimal changes. The framework can be extended with new components. The performance of a well designed framework can supercede monolithic codes or ad hoc couplings of models.

July 14, 2005 Shine 2005 CISM Component Models MAS ENLIL Magnetic Reconnection SEP Active Region 0.001/10 R S 0.01/1 AU /0.01 R S /0.001 R S

July 14, 2005 Shine 2005 LFM RCM TING/ TIE-GCM Radiation Belts  SEP Entry Magnetic Reconnection MI Physics 0.1/300 R E 0.01/30 R E 0.05/6 R E 0.01/30 R E 0.001/2 R E /1 R E

July 14, 2005 Shine 2005

July 14, 2005 Shine 2005

July 14, 2005 Shine 2005 External Libraries Low Level Utilities Fields and Grids Layer Models: Superstructure What do we mean by Framework: Constraints and Approaches Functional Requirements: Efficient data transfer between codes, Data Translation (physics) and interpolation (grid) between codes, Controlled execution of asynchronously running codes. Environment Requirements: Couple existing codes with truly minimal code modification, Data sharing between codes with different physical models and grid structures. RCGlobal ITM Hierarchical Structure (ESMF,SWMF) Codes become subroutines Distributed Structure Codes run independently, mediated by Couplers and controlled through data channels Model Coupler

July 14, 2005 Shine 2005 Loosely Coupled Framework Advantages –Truly minimal modification of codes required –Well suited to distributed ( TeraGrid, etc) computing –New functionality via new Couplers easy – Overture code simple to clone and modify –Least barrier to “plug and play”. New codes can join by: Registering grid with Overture (use sample code to store in HDFdatabase) Registering export/import parameters – conform to API for model type Incorporate InterComm call(s) where data is exported or imported –Possible to change codes “on the fly” Disadvantages –Increased complexity of control and synchronization of multiple codes Addressed by InterComm development –Some cost in performance Offset by ability to use distributed computing resources

July 14, 2005 Shine 2005 Tightly Coupled Framework Advantages –Efficiency and Speed! –Well defined control and data flow process Hierarchical structure -> one big binary executable –Coherent Output – Disadvantages –Not easily adaptable to distributed computing –More code modification needed – less minimal Models must become subroutines in master code Plug and play not easy – must recompile whole –Not possible to change codes “on the fly”

July 14, 2005 Shine 2005 Our (Loosely Coupled) Framework: Data Manipulation and Interpolation - Couplers Couplers make the data from a code useful to another code. Interpolation between disparate grids –Requires: knowledge of grid structures of all codes Recompute data values between disparate physical models –Requires: understand of code data and methods of conversion Overture ( is a set of C++ classes providing : – Interpolation between overlapping grids (moving and static) –Powerful syntax for data manipulation including Array arithmetic and differential operations –Registration and archiving of grids, coordinate mapping, and state variables (HDF database) –Seamless interaction with InterComm (common data libraries)

July 14, 2005 Shine 2005 What do we mean by minimal code changes: An InterComm Example define region Sr12 define region Sr4 define region Sr5... Do t = 1, N, Step0... // computation jobs export(Sr12,t) export(Sr4,t) export(Sr5,t) EndDo define region Sr0... Do t = 1, M, Step1 import(Sr0,t)... // computation jobs EndDo Importer Ap1 Exporter LFM Ap1.Sr0 Ap2.Sr0 Ap4.Sr0 LFM.Sr12 LFM.Sr4 LFM.Sr5 Configuration file # LFM cluster0 /bin/LFM 2... Ap1 cluster1 /bin/Ap Ap2 cluster2 /bin/Ap Ap4 cluster4 /bin/Ap4 4 # LFM.Sr12 Ap1.Sr0 REGL 0.05 LFM.Sr12 Ap2.Sr0 REGU 0.1 LFM.Sr4 Ap4.Sr0 REG 1.0 #

July 14, 2005 Shine 2005 Our 2nd Generation Framework: Intelligent Data Channels and Program Control InterComm ( is a programming environment (API) and runtime library that provides: –For performing efficient, direct data transfers between data structures (multi-dimensional arrays) in different programs Direct (MxN) processor to processor transfer between parallel programs Support for FORTRAN, C, and C++ –For controlling when data transfers occur Nonblocking exports – IC caches data until it is requested –Codes can export data (with timestamp) and keep going – no waiting Synchronization of execution through timestamps on data transfers –For deploying multiple coupled programs in a Grid environment IC demons read config files – launch codes and set up data paths

July 14, 2005 Shine 2005 CORHEL CORHEL combines MAS and ENLIL codes to model the solar wind from synoptic magnetic field maps MASReconnection ENLILReconnection B, V, , P Corona- Solar Wind B, V, , P CORHEL 2.x Shock Process SEPMOD Shock Parameters B, V, , P ActiveRegion

July 14, 2005 Shine 2005 Geospace Coupling Schematic LFM Magnetosphere Ionosphere TING or TIE-GCM  P  H, J w     P  J ll +J w +J d  tot E 0,F e  tot J ll, n p,T p, LFM CMIT Added Capability: Accurate Ionosphere  –LFM inputs for calculation of electron, ion precipitation –  computed by TING or TIE-GCM –Coupler provides  to both codes

July 14, 2005 Shine 2005 Geospace Coupling Schematic LFM B,E, , P , P LFM RCM Inner Mag B, , P , P B,E, , P LFM LFM-RCM Added Capability: Accurate description of Inner Magnetosphere –LFM provides B, and plasma BCs for RCM –RCM (particle drifts) calculates accurate plasma pressure and density for LFM –LFM recalculates B

July 14, 2005 Shine 2005 Geospace Coupling Schematic LFM Magnetosphere Ionosphere TING or TIE-GCM  P  H, J w     P  J ll +J w +J d  tot E 0,F e J ll, n p,T p  tot J ll, n p,T p, B,E, , P , P LFM Rad Belt SEP Cutoff B, E RCM Inner Mag B, , P , P B,E, , P LTR (LFM-T*-RCM)

July 14, 2005 Shine 2005 Space Physics Frameworks ESMFSWMFCISM ApproachTightly coupled, single executable, high-performance portable, highly structured modeling environment. Loosely coupled, multiple executable, rapidly prototyped, not necessarily high- performance. InfrastructureProvides data structures and common utilities that components use 1. to organize codes 2. to improve performance & portability 3. for common services. Minimal infrastructure and minimal science code modification. Data channels provide component initialization and control CouplingGrid mapping is presently limited to regular grids. Focuses on 3D overlapping interfaces and can handle 3D AMR grids. Coupling can support arbitrary grids ImplementationAdheres to high software engineering standards with separate framework and applications teams. Provides a high level of flexibility. Uses minimal software engineering tools and has an integrated framework and application development team. Uses of InterComm package for data transfer, and component control.. Overture is used for data translation and grid interpolation. StatusFramework is operational.Framework with 9 science models is operational and transitioned to CCMC. Being implemented in stages for CISM codes for testing and validation.. Transition to CCMC and NCAR in near future.

July 14, 2005 Shine 2005 Frameworks  At least two different approaches  Tightly Coupled -> models are subroutines  Loosely Coupled -> models run individually, controlled and moderated by data channels  Details Matter  Different approaches have complimentary Strengths and weaknesses  Chose wisely!

July 14, 2005 Shine 2005 The SWMF Architecture