CCA Common Component Architecture 1SciDAC PI Meeting22-24 March 20041SciDAC PI Meeting22-24 March 2004 Enabling Scientific Applications with the Common.

Slides:



Advertisements
Similar presentations
Earth System Curator Spanning the Gap Between Models and Datasets.
Advertisements

CCA Common Component Architecture CCA Forum Tutorial Working Group A Look at More Complex.
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.
Integrated Frameworks for Earth and Space Weather Simulation Timothy Killeen and Cecelia DeLuca National Center for Atmospheric Research, Boulder, Colorado.
Center for Component Technology for Terascale Simulation Software (aka Common Component Architecture) (aka CCA) Rob Armstrong & the CCA Working Group Sandia.
CCA Forum Summer Meeting1 27 July CCA Common Component Architecture The SciDAC Center for Technology for Advanced Scientific Component Software(TASCS)
Center for Component Technology for Terascale Simulation Software 122 June 2002Workshop on Performance Optimization via High Level Languages and Libraries.
CCA Forum Fall Meeting October CCA Common Component Architecture Update on TASCS Component Technology Initiatives CCA Fall Meeting October.
1 TOPS Solver Components Language-independent software components for the scalable solution of large linear and nonlinear algebraic systems arising from.
The Old World Meets the New: Utilizing Java Technology to Revitalize and Enhance NASA Scientific Legacy Code Michael D. Elder Furman University Hayden.
Center for Component Technology for Terascale Simulation Software (CCTTSS) 110 April 2002CCA Forum, Townsend, TN Interfaces: The Key to Code Reuse and.
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.
CCA Common Component Architecture CCA Forum Tutorial Working Group Components for Scientific.
CCA Common Component Architecture CCA Forum Tutorial Working Group Welcome to the Common.
CCA Common Component Architecture CCA Forum Tutorial Working Group 1 Welcome to the Common.
SIAM Computational Science and Engineering1 10 February Components for Scientific Computing: An Introduction David E. Bernholdt Computer Science.
CCA Common Component Architecture CCA Forum Tutorial Working Group Welcome to the Common.
Accelerating Scientific Exploration Using Workflow Automation Systems Terence Critchlow (LLNL) Ilkay Altintas (SDSC) Scott Klasky(ORNL) Mladen Vouk (NCSU)
Tech-X Corporation for CCA Overview Tech-X Corporation is an entrepreneurial and dynamic enterprise committed to scientific and technical excellence and.
Grid Computing Research Lab SUNY Binghamton 1 XCAT-C++: A High Performance Distributed CCA Framework Madhu Govindaraju.
Components for Beam Dynamics Douglas R. Dechow, Tech-X Lois Curfman McInnes, ANL Boyana Norris, ANL With thanks to the Common Component Architecture (CCA)
High Energy and Nuclear Physics Collaborations and Links Stu Loken Berkeley Lab HENP Field Representative.
Building an Electron Cloud Simulation using Bocca, Synergia2, TxPhysics and Tau Performance Tools Phase I Doe SBIR Stefan Muszala, PI DOE Grant No DE-FG02-08ER85152.
SAP Participants: Douglas Dechow, Tech-X Corporation Lois Curfman McInnes, Boyana Norris, ANL Physics Collaborators: James Amundson, Panagiotis Spentzouris,
CESM/ESMF Progress Report Mariana Vertenstein NCAR Earth System Laboratory CESM Software Engineering Group (CSEG) NCAR is sponsored by the National Science.
Center for Component Technology for Terascale Simulation Software CCA is about: Enhancing Programmer Productivity without sacrificing performance. Supporting.
SCIRun and SPA integration status Steven G. Parker Ayla Khan Oscar Barney.
ARGONNE NATIONAL LABORATORY Climate Modeling on the Jazz Linux Cluster at ANL John Taylor Mathematics and Computer Science & Environmental Research Divisions.
Presented by An Overview of the Common Component Architecture (CCA) The CCA Forum and the Center for Technology for Advanced Scientific Component Software.
Commodity Grid Kits Gregor von Laszewski (ANL), Keith Jackson (LBL) Many state-of-the-art scientific applications, such as climate modeling, astrophysics,
Presented by How the Common Component Architecture (CCA) Advances Computational Science The CCA Forum and the Center for Technology for Advanced Scientific.
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.
CCA Common Component Architecture CCA Forum Tutorial Working Group Welcome to the Common Component Architecture Tutorial.
Multilevel Parallelism using Processor Groups Bruce Palmer Jarek Nieplocha, Manoj Kumar Krishnan, Vinod Tipparaju Pacific Northwest National Laboratory.
CCA Common Component Architecture CCA Forum Tutorial Working Group A Look at More Complex.
March 2004 At A Glance autoProducts is an automated flight dynamics product generation system. It provides a mission flight operations team with the capability.
May 6, 2002Earth System Grid - Williams The Earth System Grid Presented by Dean N. Williams PI’s: Ian Foster (ANL); Don Middleton (NCAR); and Dean Williams.
I/O for Structured-Grid AMR Phil Colella Lawrence Berkeley National Laboratory Coordinating PI, APDEC CET.
Enabling Self-management of Component-based High-performance Scientific Applications Hua (Maria) Liu and Manish Parashar The Applied Software Systems Laboratory.
CCA Common Component Architecture CCA Forum Tutorial Working Group CCA Status and Plans.
Distributed Components for Integrating Large- Scale High Performance Computing Applications Nanbor Wang, Roopa Pundaleeka and Johan Carlsson
Computational Science & Engineering meeting national needs Steven F. Ashby SIAG-CSE Chair March 24, 2003.
Connections to Other Packages The Cactus Team Albert Einstein Institute
CCA Common Component Architecture CCA Forum Tutorial Working Group A Look at More Complex.
BioPSE NCRR SCIRun2 -THE PROJECT -OBJECTIVES -DEVELOPMENTS -TODAY -THE FUTURE.
Visualization in Problem Solving Environments Amit Goel Department of Computer Science Virginia Tech June 14, 1999.
J. Ray, S. Lefantzi and H. Najm Sandia National Labs, Livermore Using The Common Component Architecture to Design Simulation Codes.
Progress on Component-Based Subsurface Simulation I: Smooth Particle Hydrodynamics Bruce Palmer Pacific Northwest National Laboratory Richland, WA.
CCA Common Component Architecture CCA Forum Tutorial Working Group An Overview of Components.
Presented by Adaptive Hybrid Mesh Refinement for Multiphysics Applications Ahmed Khamayseh and Valmor de Almeida Computer Science and Mathematics Division.
117 December 2001Pacific Northwest National Laboratory Component-Based Software for High-Performance Computing: An Introduction to the Common Component.
CCA Common Component Architecture CCA Forum Tutorial Working Group Common Component Architecture.
SDM Center High-Performance Parallel I/O Libraries (PI) Alok Choudhary, (Co-I) Wei-Keng Liao Northwestern University In Collaboration with the SEA Group.
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.
Center for Component Technology for Terascale Simulation Software (CCTTSS) 110 April 2002CCA Forum, Townsend, TN CCA Status, Code Walkthroughs, and Demonstrations.
CCA Common Component Architecture CCA Forum Tutorial Working Group Common Component Architecture.
Center for Component Technology for Terascale Simulation Software (CCTTSS) 110 April 2002CCA Forum, Townsend, TN This work has been sponsored by the Mathematics,
CCA Common Component Architecture CCA Forum Tutorial Working Group Common Component Architecture.
“Port Monitor”: progress & open questions Torsten Wilde and James Kohl Oak Ridge National Laboratory CCA Forum Quarterly Meeting Santa Fe, NM ~ October.
VisIt Project Overview
Kai Li, Allen D. Malony, Sameer Shende, Robert Bell
Scalable Interfaces for Geometry and Mesh based Applications (SIGMA)
Collaborations and Interactions with other Projects
Programming Models for SimMillennium
Software Practices for a Performance Portable Climate System Model
HPC Modeling of the Power Grid
GENERAL VIEW OF KRATOS MULTIPHYSICS
Mariana Vertenstein CCSM Software Engineering Group NCAR
Presentation transcript:

CCA Common Component Architecture 1SciDAC PI Meeting22-24 March 20041SciDAC PI Meeting22-24 March 2004 Enabling Scientific Applications with the Common Component Architecture David E. Bernholdt Oak Ridge National Laboratory for the CCTTSS ANL, Indiana, LANL, LLNL, ORNL, PNNL, SNL, Utah and the CCA Forum

CCA Common Component Architecture 2SciDAC PI Meeting22-24 March 2004 Modern Scientific Software Development Complex codes, often coupling multiple types of physics, time or length scales, involving a broad range of computational and numerical techniques Different parts of the code require significantly different expertise to write (well) Generally written by teams rather than individuals Discretization Algebraic Solvers Data Redistribution Mesh Data Reduction Physics Modules Optimization Derivative Computation Collaboration Diagnostics Steering Visualization Adaptive Solution Time Evolution

CCA Common Component Architecture 3SciDAC PI Meeting22-24 March 2004 Component-Based Software Engineering Software productivity –Provides a “plug and play” application development environment –Many components available “off the shelf” –Abstract interfaces facilitate reuse and interoperability of software “The best software is code you don’t have to write” [Jobs] –Facilitates collaboration around software development Software complexity –Components encapsulate much complexity into “black boxes” –Facilitates separation of concerns/interests –Plug and play approach simplifies applications & adaptation –Model coupling is natural in component-based approach Software performance (indirect) –Plug and play approach and rich “off the shelf” component library simplify changes to accommodate different platforms CCA is a component environment designed specifically for the needs of HPC scientific computing

CCA Common Component Architecture 4SciDAC PI Meeting22-24 March 2004 “Wiring Diagram” for Typical CFRFS Application Components Ports (aka Interfaces) Framework

CCA Common Component Architecture 5SciDAC PI Meeting22-24 March 2004 CCA Delivers Performance Local No CCA overhead within components Small overhead between components Small overhead for language interoperability Be aware of costs & design with them in mind –Small costs, easily amortized Parallel No CCA overhead on parallel computing Use your favorite parallel programming model Supports SPMD and MPMD approaches Distributed (remote) No CCA overhead – performance depends on networks, protocols CCA frameworks support OGSA/Grid Services/Web Services and other approaches Maximum 0.2% overhead for CCA vs native C++ code for parallel molecular dynamics up to 170 CPUs Aggregate time for linear solver component in unconstrained minimization problem w/ PETSc

CCA Common Component Architecture 6SciDAC PI Meeting22-24 March 2004 Easy, Flexible Componentization of Existing Software Suitably structured code (programs, libraries) should be relatively easy to adapt to the CCA. Here’s how: 1.Decide level of componentization –Can evolve with time (start with coarse components, later refine into smaller ones) 2.Define interfaces and write wrappers between them and existing code 3.Add framework interaction code for each component –setServices 4.Modify component internals to use other components as appropriate –getPort, releasePort and method invocations

CCA Common Component Architecture 7SciDAC PI Meeting22-24 March 2004 Frameworks –Frameworks (parallel, distributed) –Language Interoperability / Babel / SIDL Gary Kumfert, LLNL “MxN” Parallel Data Redistribution Jim Kohl, ORNL Scientific Components –Scientific Data Objects Lois Curfman McInnes, ANL User Outreach and Applications –Tutorials, Coding Camps –Interactions with users David Bernholdt, ORNL CCA Research Thrusts

CCA Common Component Architecture 8SciDAC PI Meeting22-24 March 2004 Language Interoperability Existing language interoperability approaches are “point- to-point” solutions Babel provides a unified approach in which all languages are considered peers Babel used primarily at interfaces C C++ f77 f90 Python Java Babel C C++ f77 f90 Python Java

CCA Common Component Architecture 9SciDAC PI Meeting22-24 March 2004 MxN Parallel Data Redistribution Share Data Among Coupled Parallel Models – Disparate Parallel Topologies (M processes vs. N) – e.g. Ocean & Atmosphere, Solver & Optimizer… – e.g. Visualization (Mx1, increasingly, MxN) Research area -- tools under development

CCA Common Component Architecture 10SciDAC PI Meeting22-24 March 2004 Many Scientific Components Data Management, Meshing and Discretization Global Array Component, TSTTMesh, FEMDiscretization, GrACEComponent Integration, Optimization, and Linear Algebra CvodesComponent, TaoSolver, LinearSolver Parallel Data Description, Redistribution, and Visualization DistArrayDescriptorFactory, CumulvsMxN, VizProxy Services, Graphical Builders, and Performance Ccaffeine Services, Graphical Builders, Performance Observation, Port Monitor ComponentDerived From Distributed Array Descriptor(New) Distributed ArraysGlobal Arrays Parallel IO/Data MgmtHDF5/PnetCDF Linear AlgebraGlobal Arrays Linear AlgebraScaLAPACK Linear AlgebraTOPS SciDAC ISIC Sparse Linear AlgebraEpetra Simple Mesh(New) Unstructured MeshTSTT SciDAC ISIC Structured AMRGrACE Parallel IntegratorCVODE Parallel VisualizationCUMULVS Performance MeasurementTAU OptimizationTAO

CCA Common Component Architecture 11SciDAC PI Meeting22-24 March 2004 SciDAC: Combustion (CFRFS) Climate Modeling (CCSM) Meshing Tools (TSTT) (PDE) Solvers (TOPS) IO, Poisson Solvers (APDEC) Fusion (CMRS) Supernova simulation (TSI) Accelerator simulation (ACCAST) Quantum Chemistry DOE Outside of SciDAC: ASCI: C-SAFE, Views, Data Svc’s Quantum Chemistry Materials Science (ORNL LDRD, ANL Nano) Fusion (ORNL LDRD) Underground radionuclide transport Multiphase Flows Outside of DOE: NASA: ESMF, SWMF Etc.… Current CCA Application Areas

CCA Common Component Architecture 12SciDAC PI Meeting22-24 March 2004 Computational Facility for Reacting Flow Science (CFRFS) SciDAC BES project, H. Najm PI Investigators: Sofia Lefantzi (SNL), Jaideep Ray (SNL), Sameer Shende (Oregon) Goal: A “plug-and-play” toolkit environment for flame simulations H 2 -Air ignition on a structured adaptive mesh, with an operator- split formulation RKC for non-stiff terms, BDF for stiff 9-species, 19-reactions, stiff mechanism 1cm x 1cm domain; max resolution = 12.5 microns Kernel for a 3D, adaptive mesh low Mach number flame simulation capability in SNL, Livermore

CCA Common Component Architecture 13SciDAC PI Meeting22-24 March 2004 CFRFS Incorporates APDEC Technology using CCA Investigators: Jaideep Ray (SNL), Brian van Straalen (LBL), and Phil Colella (LBL) CFRFS needs solvers for elliptic PDEs discretized on a structured adaptive mesh –Esp. pressure Poisson eq. APDEC solvers (Chombo) also address time and resource constraint issues Software reuse via common interfaces provides long-term benefits Also use APDEC’s –HDF5 writer component to save the files –ChomboVis to visualize Solution

CCA Common Component Architecture 14SciDAC PI Meeting22-24 March 2004 Component-Based CFRFS Applications Components mostly C++ or wrappers around old F77 code Developed numerous components –Integrator, spatial discretizations, chemical rates evalutator, etc. –Structured adaptive mesh, load-balancers, error- estimators (for refining/coarsening) –In-core, off-machine, data transfers for post-processing Integrating solver and viz capabilities from Chombo (LBL, APDEC) TAU for timing (Oregon, PERC) CVODES integrator (LLNL, TOPS)

CCA Common Component Architecture 15SciDAC PI Meeting22-24 March 2004 Component-Based Integration of Chemistry and Optimization Packages: Molecular Geometry Optimization Investigators: Yuri Alexeev, Manoj Krishnan, Jarek Nieplocha, Theresa Windus (PNNL), Curtis Janssen, Joseph Kenny (SNL), Steve Benson, Lois McInnes, Jason Sarich (ANL), David Bernholdt (ORNL) Underlying software packages: Quantum Chemistry –NWChem (PNNL), MPQC (SNL) Optimization –Toolkit for Advanced Optimization (TAO, ANL) Linear Algebra –Global Arrays (PNNL), PETSc (ANL) Performance evaluation of optimization components –Examine efficiency of algorithms in TAO for quantum chemistry Further development of optimization capabilities –Provide internal coordinate generation, constrained optimization, configurable convergence control Future plans: Exploring chemistry package integration through hybrid calculation schemes and sharing of lower- level intermediates such as integrals and wavefunctions

CCA Common Component Architecture 16SciDAC PI Meeting22-24 March 2004 Optimization u i+1 = u i +  s … GUI Linear Algebra NWChem Coordinate Model (perform transformations) MPQC Builder Construct application using framework builder services Model Factory (instantiate model) f,g,Hu i+1 sg,H User Input u i+1 f,g,H build options PETSc GA u i+1 (visualization) Software Architecture f(u) energy u Cartesian coordinates u internal coordinates g gradient (in Cartesians) g gradient (in internals) H Hessian (in Cartesians) H Hessian (in internals) s update (in internals)

CCA Common Component Architecture 17SciDAC PI Meeting22-24 March 2004 Preliminary Performance Evaluation Electronic Structure Package NWChem OptimizerNWChem (BFGS, no line searches) TAO (LMVM) Number of Evaluations Required EnergyGradientEnergyGradient Glycine (10 atoms)33 19 Isoprene (15)58 54 Phosphoserine (19) Acetylsalicylic acid (21) Cholesterol (74)33 22 Comparison of NWChem’s internal optimizer vs. TAO for HF/6-31G level of theory Parallel Scaling of MPQC w/ native and TAO optimizers

CCA Common Component Architecture 18SciDAC PI Meeting22-24 March 2004 Global Climate Modeling Community Climate System Model (CCSM) SciDAC BER project, John Drake and Robert Malone PIs Goals: Investigate model coupling and parameterization-level componentization within models Earth System Modeling Framework NASA project, Tim Killeen, John Marshall, and Arlindo da Silva PIs Goal: Build domain- specific framework for the development of climate models Investigators: John Drake (ORNL), Wael Elwasif (ORNL), Michael Ham (ORNL), Jay Larson (ANL), Everest Ong (ANL), Nancy Collins (NCAR), Craig Rasmussen (LANL)

CCA Common Component Architecture 19SciDAC PI Meeting22-24 March 2004 Community Climate System Model Componentization Activities Model Coupling Toolkit (MCT) –Coupler for CCSM –Componentization at the level of system integration (model coupling) –Contributions to MxN Community Atmosphere Model (CAM) –Componentization at physics/dynamics interface River Transport Model –Componentization at algorithmic level –Using components derived from MCT

CCA Common Component Architecture 20SciDAC PI Meeting22-24 March 2004 Earth System Modeling Framework ATM OCN Courtesy Shujia Zhou, NASA Goddard Prototype superstructure Investigating grid layer interfaces

CCA Common Component Architecture 21SciDAC PI Meeting22-24 March 2004 Summary CCA is a tool to help manage software complexity, increase productivity Under active development, with many exciting capabilities in store Stable and robust enough for use in applications CCA is allowing users to focus on doing their science –e.g. CFRFS publishing science results obtained with CCA-based applications

CCA Common Component Architecture 22SciDAC PI Meeting22-24 March 2004 On the web: –Mailing lists, meeting information, tutorial presentations, software, etc. us: Talk to us here –Rob Armstrong (Lead PI) –David Bernholdt, Dennis Gannon, Gary Kumfert, Steven Parker (co-PIs) –Jaideep Ray (lead developer of CFRFS component appl.) Get your feet wet! Come to “Coding Camps” Thanks to the many people who have contributed to the development and use of the CCA, who’s work this talk represents! Information Pointers & Acknowledgements Oak Ridge National Laboratory is managed by UT-Battelle, LLC for the US Dept. of Energy under contract DE-AC-05-00OR22725