ESMF. Earth System Modeling Framework. Carsten Lemmen. Schnakenbek, 17 Sep /23

Size: px
Start display at page:

Download "ESMF. Earth System Modeling Framework. Carsten Lemmen. Schnakenbek, 17 Sep /23"

Transcription

1 1/23 ESMF Earth System Modeling Framework Carsten Lemmen Schnakenbek, 17 Sep 2013

2 2/23 Why couple? GEOS5 vorticity We live in a coupled world combine, extend existing models (domains + processes) reuse infrastructure STRAT-CHEM ozone

3 3/23 Why modular coupling? Distributed detailed process knowledge Many individual physical, biological, and chemical processes; requires specialists and specialist models Computing technology Increase in hardware and software complexity in high-performance computing; requires specialists Communication exchange data and codes exchange models, and compare exchange data with model

4 Earth System Modeling Framework 4/23

5 Earth System Modeling Framework 5/23 ESMF is a focused community effort to tame the complexity of models and the computing environment. It leverages, unifies and extends existing software frameworks, creating new opportunities for scientific contribution and collaboration. Definition (Framework) An environment where components are assembled to form an application which can be executed. Definition (Components) exchange information according to a specified set of rules (interfaces) and are therefore easily interchanged.

6 6/23 Gridded Component and transfer and regrid the data before passing it to another Gridded Component. atic shows a flow of data between two Coupler Components that connect three Gridded Components: an e model Coupling with a land model, topology and the same atmosphere model with a data assimilation system. Atmosphere Hierarchicalor star or... D A T A D A T A Figure 3: ESMF supports configurations with a single central Coupler Component. In this case inputs from a Components are transferred and regridded through the central coupler. AtmLandCoupler AtmAssimCoupler Atmosphere D A T A D A T A D A T A Land Land DATA Coupler DataAssim DATA Ocean D A T A 54 SeaIce

7 7/23 Fully coupled AGCM Figure 2: ESMF enables applications such as the atmospheric general circulation model GEOS-5 to be structured hierarchically, and reconfigured and extended easily. Each box in this diagram is an ESMF Gridded Component. GEOS-5 agcm history domain models process models dynamics physics gravity_wave_drag fvcore surface chemistry moist_processes radiation turbulence lake land_ice data_ocean land infrared solar vegetation catchment

8 Adoption 8/23

9 Code invasion 9/23 H.R.A. Jagers / Linking Data, Models and Tools: An Overview Comparison to other frameworks CCA topic defines framework X X X X X X X defines interfaces X X X X X X X provides (reference) implementation rx X X X X X rx X defines object model X X X X code invasiveness [Lloyd et al., 2009] +???? ++? plug & play (and graphical coupling) X (X) X X X support for HPC environment X X X X X C/FORTRAN support X X (X) W X X W W W Java support X (X) X X X.NET support X X ESMF HLA Kepler MCT Table 1. Comparison of coupling technologies OASIS OMS OpenMI TIME

10 10/23 Adoption guide P A R S E P repare A dapt R egister S chedule E xecute

11 11/23 Preparing structure Figure 2: A typical building block for an ESMF application consists of a parent Gridded Component, two or more child Gridded Components, and a Coupler Component. The parent Gridded Component is called by an application driver. All ESMF Components have initialize, run, and finalize methods. The diagram shows that when the application driver calls initialize on a parent Gridded Component, the call cascades down to all of its children, so that the result is that the entire tree of Components is initialized. The run and finalize methods work the same way. In this examplea hurricane simulation is built from ocean and atmosphere Gridded Components. The data exchange between the ocean and atmosphere is handled by an ocean-atmosphere Coupler Component. Since the whole hurricane simulation is a Gridded Component, it could be easily be treated as a child and coupledtoanothergriddedcomponent,ratherthan being drivendirectly by the applicationdriver. A similar diagram could be drawn for an atmosphericmodelcontaining physics and dynamics components, as described in Section Initialize, Run, Finalize AppDriver ( Main ) Call Initialize Call Run Call Finalize Initialize Run Finalize Parent GridComp Hurricane Model Call Initialize Call Run Call Finalize Initialize Run Child GridComp Atmosphere Finalize Initialize Run Child GridComp Ocean Finalize Initialize Run Child CplComp Atm-Ocean Coupler Finalize

12 12/23 More PARSEing Prepare user code Initialize, run, and finalize methods, decide on components, coupling fields and control flow Adapt data structures wrap data structures in Array- or Field-objects, wrap time information in Clock-object Register user methods attach user code methods to the framework through registration calls Schedule, synchronize, and send data write couplers preferably using internal regridding Execute Run components using an ESMF driver

13 ... but the user can decide how much to adopt. 13/23

14 Infrastructure 14/23

15 Infrastructure 15/23 The motivation for using the infrastructure is code reuse. Time Manager Config LogErr Communications: Redistribution, Halo Update, Gather, Scatter, etc. Regridding Figure 1: Schematic of the ESMF sandwich architecture. In this design the framework consists upper level superstructure layer and a lower-level infrastructure layer. User code is sandwiched be layers. ESMF Superstructure AppDriver Time Component Classes: GridComp, CplComp, State U ser Time Code ESMF Infrastructure Data Classes: Bundle, Time Field, Grid, Array Utility Classes: Clock, LogErr, DELayout, VM, Config operation, such as a description of the directory structure and how to build and run the ESMF exa Section 11 is an architectural overview that describes the framework s basic goals and features. Secti steps required to adapt a component for use with ESMF. Finally, to help you become familiar with ESM the last section in the User s Guide is a glossary.

16 Parallelization 16/23

17 Parallel task allocation 17/23 Figure 4: Schematic of the run method of a coupled application, with an Atmosphere and an Ocean Gridded Component running sequentially with an Atm-Ocean Coupler. The top-level Hurricane Model Gridded Component contains the sequencing information and time advancement loop. The application driver, Coupler, and all Gridded Components are distributed over nine PETs. Consecutive T i m e PETs AppDriver ( Main ) Concurrent Figure 5: Schematic of the run method of a coupled application, with an Atmosphere and an Ocean G Component running concurrently with an Atm-Ocean Coupler. The top-level Hurricane Model Gridded C nent contains the sequencing information and time advancement loop. The application driver, Coupler, and to Hurricane Model Gridded Component are distributed over nine PETs. The Atmosphere Gridded Compo distributed over three PETs and the Ocean Gridded Component is distributed over six PETs. PETs Call Run Run GridComp Hurricane Model T i m e AppDriver ( Main ) Call Run LOOP Call Run Run Run GridComp Atmosphere GridComp Hurricane Model LOOP Call Run Run Run Run GridComp Ocean GridComp Atmosphere GridComp Ocean Run Run CplComp Atm-Ocean Coupler CplComp Atm-Ocean Coupler

18 Parallelization abstraction ESMF_Field / ESMF_Array Decomposition #1 #2 #3 #4 #6 #7 #8 #9 #5 #10 #11 #12 #13 ESMF_Grid ESMF_DistGrid ESMF_Field ESMF_Array ESMF_LocalArray ESMF_DELayout ESMF_VM DE connection weights PET ~ OS Instance 0 p0(0)t0 1 p1(1)t0 2 p2(2)t0 MPI 1, MPI 2, armci SHMEM, InterCon lib 3 p4(3)t0 4 p4(3)t1 5 p4(3)t2 6 p7(4)t0 PETs instantiate user code MPI 1, MPI 2, armci SHMEM, OS IPC Pthreads PE Core CPU User TETs OpenMP or Pthreads SSI Definition of terms used in the diagram 18/23

19 19/23 Object Model Communication llowing is a simplified UML diagram showing the structure of the State class. States can contain FieldBu, Arrays, or nested States. See Appendix A, ABriefIntroductiontoUML,foratranslationtablethatli ls in the diagram and their meaning. Information exchange between states 0..n Time State 0..n Bundle 0..n Field 0..n Array 0..n Metainformation with attributes Class API Common Information Model (CIM) ESMF_StateAssignment(=) - State assignment NetCDF attributes

20 Discussion 20/23

21 ESMF Features 21/23 Since 1998 by Open source (esmf.sf.net) Library (-lesmf), built from 500 k code lines Code 60% Fortran90, 40%C++ APIs: use esmf, #include <ESMC> (partial), import ESMP (emerging) Performance optimized extends existing FMS, MCT Flexible processor layout Adoption guide (PARSE) >170,000 lines of example, unit and system testing code. well documented, tutorials, support portable across Linux/Unix/Mac/MinGW abstracts parallelization layer usually single exec, but also web services Nightly tested on >40 different OS/Compiler/MPI combinations

22 22/23 Summary and outlook Why ESMF? flexible integration of existing communities and models allow conservative approaches Try it yourself this afternoon Connect to Wifi Modular Coupling Workshop ssh -Y lastname # pw lastname.mc

23 ESMF Features 23/23 Since 1998 by Open source (esmf.sf.net) Library (-lesmf), built from 500 k code lines Code 60% Fortran90, 40%C++ APIs: use esmf, #include <ESMC> (partial), import ESMP (emerging) Performance optimized extends existing FMS, MCT Flexible processor layout Adoption guide (PARSE) >170,000 lines of example, unit and system testing code. well documented, tutorials, support portable across Linux/Unix/Mac/MinGW abstracts parallelization layer usually single exec, but also web services Nightly tested on >40 different OS/Compiler/MPI combinations

Scientific Components and Frameworks

Scientific Components and Frameworks High Performance Computing: Concepts, Methods & Means Scientific Components and Frameworks Prof. Daniel S. Katz Department of Electrical and Computer Engineering Louisiana State University April 24 th,

More information

A Software Developing Environment for Earth System Modeling. Depei Qian Beihang University CScADS Workshop, Snowbird, Utah June 27, 2012

A Software Developing Environment for Earth System Modeling. Depei Qian Beihang University CScADS Workshop, Snowbird, Utah June 27, 2012 A Software Developing Environment for Earth System Modeling Depei Qian Beihang University CScADS Workshop, Snowbird, Utah June 27, 2012 1 Outline Motivation Purpose and Significance Research Contents Technology

More information

CCSM Performance with the New Coupler, cpl6

CCSM Performance with the New Coupler, cpl6 CCSM Performance with the New Coupler, cpl6 Tony Craig Brian Kauffman Tom Bettge National Center for Atmospheric Research Jay Larson Rob Jacob Everest Ong Argonne National Laboratory Chris Ding Helen He

More information

The Earth System Modeling Framework (and Beyond)

The Earth System Modeling Framework (and Beyond) The Earth System Modeling Framework (and Beyond) Fei Liu NOAA Environmental Software Infrastructure and Interoperability http://www.esrl.noaa.gov/nesii/ March 27, 2013 GEOSS Community ESMF is an established

More information

Introduction to Regional Earth System Model (RegESM)

Introduction to Regional Earth System Model (RegESM) Introduction to Regional Earth System Model (RegESM) Ufuk Turuncoglu Istanbul Technical University Informatics Institute 14/05/2014, 7th ICTP Workshop on the Theory and Use of Regional Climate Models Outline

More information

A comparative study of coupling frameworks: the MOM case study

A comparative study of coupling frameworks: the MOM case study A comparative study of coupling frameworks: the MOM case study V. Balaji Princeton University and NOAA/GFDL Giang Nong and Shep Smithline RSIS Inc. and NOAA/GFDL Rene Redler NEC Europe Ltd ECMWF High Performance

More information

Improving climate model coupling through complete mesh representation

Improving climate model coupling through complete mesh representation Improving climate model coupling through complete mesh representation Robert Jacob, Iulian Grindeanu, Vijay Mahadevan, Jason Sarich July 12, 2018 3 rd Workshop on Physics Dynamics Coupling Support: U.S.

More information

FMS: the Flexible Modeling System

FMS: the Flexible Modeling System FMS: the Flexible Modeling System Coupling Technologies for Earth System Modeling Toulouse FRANCE V. Balaji balaji@princeton.edu Princeton University 15 December 2010 Balaji (Princeton University) Flexible

More information

RegCM-ROMS Tutorial: Coupling RegCM-ROMS

RegCM-ROMS Tutorial: Coupling RegCM-ROMS RegCM-ROMS Tutorial: Coupling RegCM-ROMS Ufuk Utku Turuncoglu ICTP (International Center for Theoretical Physics) Earth System Physics Section - Outline Outline Information about coupling and ESMF Installation

More information

Adding MOAB to CIME s MCT driver

Adding MOAB to CIME s MCT driver Adding MOAB to CIME s MCT driver Robert Jacob, Iulian Grindeanu, Vijay Mahadevan, Jason Sarich CESM SEWG winter meeting February 27, 2018 Support: DOE BER Climate Model Development and Validation project

More information

Environmental Modelling: Crossing Scales and Domains. Bert Jagers

Environmental Modelling: Crossing Scales and Domains. Bert Jagers Environmental Modelling: Crossing Scales and Domains Bert Jagers 3 rd Workshop on Coupling Technologies for Earth System Models Manchester, April 20-22, 2015 https://www.earthsystemcog.org/projects/cw2015

More information

FISOC: Framework for Ice Sheet Ocean Coupling

FISOC: Framework for Ice Sheet Ocean Coupling Rupert Gladstone, Ben Galton-Fenzi, David Gwyther, Lenneke Jong Contents Third party coupling software: Earth System Modelling Framework (ESMF). FISOC overview: aims and design ethos. FISOC overview: code

More information

Kepler Scientific Workflow and Climate Modeling

Kepler Scientific Workflow and Climate Modeling Kepler Scientific Workflow and Climate Modeling Ufuk Turuncoglu Istanbul Technical University Informatics Institute Cecelia DeLuca Sylvia Murphy NOAA/ESRL Computational Science and Engineering Dept. NESII

More information

C-Coupler2: a flexible and user-friendly community coupler for model coupling and nesting

C-Coupler2: a flexible and user-friendly community coupler for model coupling and nesting https://doi.org/10.5194/gmd-11-3557-2018 Author(s) 2018. This work is distributed under the Creative Commons Attribution 4.0 License. C-Coupler2: a flexible and user-friendly community coupler for model

More information

HPC Performance Advances for Existing US Navy NWP Systems

HPC Performance Advances for Existing US Navy NWP Systems HPC Performance Advances for Existing US Navy NWP Systems Timothy Whitcomb, Kevin Viner Naval Research Laboratory Marine Meteorology Division Monterey, CA Matthew Turner DeVine Consulting, Monterey, CA

More information

Uniform Resource Locator Wide Area Network World Climate Research Programme Coupled Model Intercomparison

Uniform Resource Locator Wide Area Network World Climate Research Programme Coupled Model Intercomparison Glossary API Application Programming Interface AR5 IPCC Assessment Report 4 ASCII American Standard Code for Information Interchange BUFR Binary Universal Form for the Representation of meteorological

More information

A simple OASIS interface for CESM E. Maisonnave TR/CMGC/11/63

A simple OASIS interface for CESM E. Maisonnave TR/CMGC/11/63 A simple OASIS interface for CESM E. Maisonnave TR/CMGC/11/63 Index Strategy... 4 Implementation... 6 Advantages... 6 Current limitations... 7 Annex 1: OASIS3 interface implementation on CESM... 9 Annex

More information

Porting and Optimizing the COSMOS coupled model on Power6

Porting and Optimizing the COSMOS coupled model on Power6 Porting and Optimizing the COSMOS coupled model on Power6 Luis Kornblueh Max Planck Institute for Meteorology November 5, 2008 L. Kornblueh, MPIM () echam5 November 5, 2008 1 / 21 Outline 1 Introduction

More information

An Overview of CSDMS, the Community Surface Dynamics Modeling System and the Earth System Bridge Project

An Overview of CSDMS, the Community Surface Dynamics Modeling System and the Earth System Bridge Project An Overview of CSDMS, the Community Surface Dynamics Modeling System and the Earth System Bridge Project Scott D. Peckham Senior Research Scientist at INSTAAR Lead PI for Earth System Bridge Former Chief

More information

Parallel I/O in the LFRic Infrastructure. Samantha V. Adams Workshop on Exascale I/O for Unstructured Grids th September 2017, DKRZ, Hamburg.

Parallel I/O in the LFRic Infrastructure. Samantha V. Adams Workshop on Exascale I/O for Unstructured Grids th September 2017, DKRZ, Hamburg. Parallel I/O in the LFRic Infrastructure Samantha V. Adams Workshop on Exascale I/O for Unstructured Grids 25-26 th September 2017, DKRZ, Hamburg. Talk Overview Background and Motivation for the LFRic

More information

OASIS3-MCT, a coupler for climate modelling

OASIS3-MCT, a coupler for climate modelling OASIS3-MCT, a coupler for climate modelling S. Valcke, CERFACS OASIS historical overview OASIS3-MCT: Application Programming Interface Parallel Decompositions supported Communication Interpolations et

More information

Chapter 3: Processes. Operating System Concepts 8th Edition,

Chapter 3: Processes. Operating System Concepts 8th Edition, Chapter 3: Processes, Administrivia Friday: lab day. For Monday: Read Chapter 4. Written assignment due Wednesday, Feb. 25 see web site. 3.2 Outline What is a process? How is a process represented? Process

More information

Earth System Modeling Framework. ESMF User Guide

Earth System Modeling Framework. ESMF User Guide Earth System Modeling Framework ESMF User Guide Version 7.1.0 beta snapshot ESMF Joint Specification Team: V. Balaji, Byron Boville, Samson Cheung, Tom Clune, Nancy Collins, Tony Craig, Carlos Cruz, Arlindo

More information

Process a program in execution; process execution must progress in sequential fashion. Operating Systems

Process a program in execution; process execution must progress in sequential fashion. Operating Systems Process Concept An operating system executes a variety of programs: Batch system jobs Time-shared systems user programs or tasks 1 Textbook uses the terms job and process almost interchangeably Process

More information

Historically, researchers have developed

Historically, researchers have developed G RAND C HALLENGES IN E ARTH S YSTEM M ODELING THE ARCHITECTURE OF THE EARTH SYSTEM MODELING FRAMEWORK The Earth System Modeling Framework (ESMF) project is developing a standard software platform for

More information

CHAPTER 2: PROCESS MANAGEMENT

CHAPTER 2: PROCESS MANAGEMENT 1 CHAPTER 2: PROCESS MANAGEMENT Slides by: Ms. Shree Jaswal TOPICS TO BE COVERED Process description: Process, Process States, Process Control Block (PCB), Threads, Thread management. Process Scheduling:

More information

A Simulation of Global Atmosphere Model NICAM on TSUBAME 2.5 Using OpenACC

A Simulation of Global Atmosphere Model NICAM on TSUBAME 2.5 Using OpenACC A Simulation of Global Atmosphere Model NICAM on TSUBAME 2.5 Using OpenACC Hisashi YASHIRO RIKEN Advanced Institute of Computational Science Kobe, Japan My topic The study for Cloud computing My topic

More information

NOAA-GFDL s new ocean model: MOM6

NOAA-GFDL s new ocean model: MOM6 NOAA-GFDL s new ocean model: MOM6 Presented by Alistair Adcroft with Robert Hallberg, Stephen Griffies, and the extended OMDT at GFDL CESM workshop, Ocean Model Working Group, Breckenridge, CO What is

More information

Processes and Threads

Processes and Threads TDDI04 Concurrent Programming, Operating Systems, and Real-time Operating Systems Processes and Threads [SGG7] Chapters 3 and 4 Copyright Notice: The lecture notes are mainly based on Silberschatz s, Galvin

More information

Memory Footprint of Locality Information On Many-Core Platforms Brice Goglin Inria Bordeaux Sud-Ouest France 2018/05/25

Memory Footprint of Locality Information On Many-Core Platforms Brice Goglin Inria Bordeaux Sud-Ouest France 2018/05/25 ROME Workshop @ IPDPS Vancouver Memory Footprint of Locality Information On Many- Platforms Brice Goglin Inria Bordeaux Sud-Ouest France 2018/05/25 Locality Matters to HPC Applications Locality Matters

More information

The Bespoke Framework Generator (BFG) Rupert Ford Graham Riley

The Bespoke Framework Generator (BFG) Rupert Ford Graham Riley The Bespoke Framework Generator (BFG) Rupert Ford Graham Riley Overview What is BFG? How is it implemented? Current status Example use Future work 2 What is BFG? Bespoke Framework Generator BFG takes as

More information

Integrated Plug-and-Play Modeling: An Overview of CSDMS and the Earth System Bridge Project

Integrated Plug-and-Play Modeling: An Overview of CSDMS and the Earth System Bridge Project Integrated Plug-and-Play Modeling: An Overview of CSDMS and the Earth System Bridge Project Scott D. Peckham Senior Research Scientist at INSTAAR Lead PI for Earth System Bridge Former Chief Software Architect

More information

A Characterization of Shared Data Access Patterns in UPC Programs

A Characterization of Shared Data Access Patterns in UPC Programs IBM T.J. Watson Research Center A Characterization of Shared Data Access Patterns in UPC Programs Christopher Barton, Calin Cascaval, Jose Nelson Amaral LCPC `06 November 2, 2006 Outline Motivation Overview

More information

An Overview of ROMS Code. Kate Hedstrom, ARSC January 2011

An Overview of ROMS Code. Kate Hedstrom, ARSC January 2011 An Overview of ROMS Code Kate Hedstrom, ARSC January 2011 Outline Outline of the code cpp cppdefs.h Modules ocean.in Compiling ROMS ls Trunk Atmosphere/ Lib/ ROMS/ Compilers/ makefile User/ Data/ Master/

More information

Concurrent Programming. Alexandre David

Concurrent Programming. Alexandre David Concurrent Programming Alexandre David 1.2.05 adavid@cs.aau.dk Disclaimer Overlap with PSS Threads Processes Scheduling Overlap with MVP Parallelism Thread programming Synchronization But good summary

More information

GPU-optimized computational speed-up for the atmospheric chemistry box model from CAM4-Chem

GPU-optimized computational speed-up for the atmospheric chemistry box model from CAM4-Chem GPU-optimized computational speed-up for the atmospheric chemistry box model from CAM4-Chem Presenter: Jian Sun Advisor: Joshua S. Fu Collaborator: John B. Drake, Qingzhao Zhu, Azzam Haidar, Mark Gates,

More information

Extending scalability of the community atmosphere model

Extending scalability of the community atmosphere model Journal of Physics: Conference Series Extending scalability of the community atmosphere model To cite this article: A Mirin and P Worley 2007 J. Phys.: Conf. Ser. 78 012082 Recent citations - Evaluation

More information

Cupid Documentation. Release 0.2 (ESMF v7) Rocky Dunlap

Cupid Documentation. Release 0.2 (ESMF v7) Rocky Dunlap Cupid Documentation Release 0.2 (ESMF v7) Rocky Dunlap July 28, 2016 Contents 1 Overview 3 1.1 What is NUOPC?............................................ 3 1.2 What is Eclipse?.............................................

More information

CAS 703 Software Design

CAS 703 Software Design Dr. Ridha Khedri Department of Computing and Software, McMaster University Canada L8S 4L7, Hamilton, Ontario Acknowledgments: Material based on Software by Tao et al. (Chapters 9 and 10) (SOA) 1 Interaction

More information

Developing Scientific Applications with the IBM Parallel Environment Developer Edition

Developing Scientific Applications with the IBM Parallel Environment Developer Edition Developing Scientific Applications with the IBM Parallel Environment Developer Edition Greg Watson, IBM grw@us.ibm.com Christoph Pospiech, IBM christoph.pospiech@de.ibm.com ScicomP 13 May 2013 Portions

More information

A PSyclone perspec.ve of the big picture. Rupert Ford STFC Hartree Centre

A PSyclone perspec.ve of the big picture. Rupert Ford STFC Hartree Centre A PSyclone perspec.ve of the big picture Rupert Ford STFC Hartree Centre Requirement I Maintainable so,ware maintain codes in a way that subject ma7er experts can s:ll modify the code Leslie Hart from

More information

The CIME Case Control System

The CIME Case Control System The CIME Case Control System An Object Oriented Python Data Driven Workflow Control System for Earth System Models Jim Edwards 22 nd Annual Community Earth System Model Workshop Boulder, CO 19-22 June

More information

Compute Node Linux: Overview, Progress to Date & Roadmap

Compute Node Linux: Overview, Progress to Date & Roadmap Compute Node Linux: Overview, Progress to Date & Roadmap David Wallace Cray Inc ABSTRACT: : This presentation will provide an overview of Compute Node Linux(CNL) for the CRAY XT machine series. Compute

More information

CESM Projects Using ESMF and NUOPC Conventions

CESM Projects Using ESMF and NUOPC Conventions CESM Projects Using ESMF and NUOPC Conventions Cecelia DeLuca NOAA ESRL/University of Colorado CESM Annual Workshop June 18, 2014 Outline ESMF development update Joint CESM-ESMF projects ESMF applications:

More information

CUDA GPGPU Workshop 2012

CUDA GPGPU Workshop 2012 CUDA GPGPU Workshop 2012 Parallel Programming: C thread, Open MP, and Open MPI Presenter: Nasrin Sultana Wichita State University 07/10/2012 Parallel Programming: Open MP, MPI, Open MPI & CUDA Outline

More information

AT76.09 Digital Image Processing in Remote Sensing using C Language

AT76.09 Digital Image Processing in Remote Sensing using C Language AT76.09 Digital Image Processing in Remote Sensing using C Language Dr. HONDA Kiyoshi Associate Professor Space Technology Applications and Research Asian Institute of Technology honda@ait.ac.th 1 1. Introduction

More information

2. PROCESS. Operating System Concepts with Java 8th Edition Silberschatz, Galvin and Gagn

2. PROCESS. Operating System Concepts with Java 8th Edition Silberschatz, Galvin and Gagn 2. PROCESS Operating System Concepts with Java 8th Edition Silberschatz, Galvin and Gagn SPOILER http://io9.com/if-your-brain-were-a-computer-howmuch-storage-space-w-509687776 2.5 petabytes ~ record 3

More information

Chapter 5: Processes & Process Concept. Objectives. Process Concept Process Scheduling Operations on Processes. Communication in Client-Server Systems

Chapter 5: Processes & Process Concept. Objectives. Process Concept Process Scheduling Operations on Processes. Communication in Client-Server Systems Chapter 5: Processes Chapter 5: Processes & Threads Process Concept Process Scheduling Operations on Processes Interprocess Communication Communication in Client-Server Systems, Silberschatz, Galvin and

More information

Diagram of Process State Process Control Block (PCB)

Diagram of Process State Process Control Block (PCB) The Big Picture So Far Chapter 4: Processes HW Abstraction Processor Memory IO devices File system Distributed systems Example OS Services Process management, protection, synchronization Memory Protection,

More information

Parallel Programming Libraries and implementations

Parallel Programming Libraries and implementations Parallel Programming Libraries and implementations Partners Funding Reusing this material This work is licensed under a Creative Commons Attribution- NonCommercial-ShareAlike 4.0 International License.

More information

Chapter 3: Process-Concept. Operating System Concepts 8 th Edition,

Chapter 3: Process-Concept. Operating System Concepts 8 th Edition, Chapter 3: Process-Concept, Silberschatz, Galvin and Gagne 2009 Chapter 3: Process-Concept Process Concept Process Scheduling Operations on Processes Interprocess Communication 3.2 Silberschatz, Galvin

More information

CS 475. Process = Address space + one thread of control Concurrent program = multiple threads of control

CS 475. Process = Address space + one thread of control Concurrent program = multiple threads of control Processes & Threads Concurrent Programs Process = Address space + one thread of control Concurrent program = multiple threads of control Multiple single-threaded processes Multi-threaded process 2 1 Concurrent

More information

Multilingual Interfaces for Parallel Coupling in Multiphysics and Multiscale Systems

Multilingual Interfaces for Parallel Coupling in Multiphysics and Multiscale Systems Multilingual Interfaces for Parallel Coupling in Multiphysics and Multiscale Systems Everest T. Ong 1, J. Walter Larson 23, Boyana Norris 2, Robert L. Jacob 2, Michael Tobis 4, and Michael Steder 4 1 Department

More information

Chapter 4: Threads. Chapter 4: Threads

Chapter 4: Threads. Chapter 4: Threads Chapter 4: Threads Silberschatz, Galvin and Gagne 2009 Chapter 4: Threads Overview Multithreading Models Thread Libraries Threading Issues Operating System Examples Windows XP Threads Linux Threads 4.2

More information

The Cray Rainier System: Integrated Scalar/Vector Computing

The Cray Rainier System: Integrated Scalar/Vector Computing THE SUPERCOMPUTER COMPANY The Cray Rainier System: Integrated Scalar/Vector Computing Per Nyberg 11 th ECMWF Workshop on HPC in Meteorology Topics Current Product Overview Cray Technology Strengths Rainier

More information

SciSpark 201. Searching for MCCs

SciSpark 201. Searching for MCCs SciSpark 201 Searching for MCCs Agenda for 201: Access your SciSpark & Notebook VM (personal sandbox) Quick recap. of SciSpark Project What is Spark? SciSpark Extensions scitensor: N-dimensional arrays

More information

Chapter 4: Threads. Overview Multithreading Models Threading Issues Pthreads Windows XP Threads Linux Threads Java Threads. Operating System Concepts

Chapter 4: Threads. Overview Multithreading Models Threading Issues Pthreads Windows XP Threads Linux Threads Java Threads. Operating System Concepts Chapter 4: Threads Chapter 4: Threads Overview Multithreading Models Threading Issues Pthreads Windows XP Threads Linux Threads Java Threads 4.2 Silberschatz, Galvin and Gagne 2005 Single and Multithreaded

More information

Ultra Large-Scale FFT Processing on Graphics Processor Arrays. Author: J.B. Glenn-Anderson, PhD, CTO enparallel, Inc.

Ultra Large-Scale FFT Processing on Graphics Processor Arrays. Author: J.B. Glenn-Anderson, PhD, CTO enparallel, Inc. Abstract Ultra Large-Scale FFT Processing on Graphics Processor Arrays Author: J.B. Glenn-Anderson, PhD, CTO enparallel, Inc. Graphics Processor Unit (GPU) technology has been shown well-suited to efficient

More information

A Study of High Performance Computing and the Cray SV1 Supercomputer. Michael Sullivan TJHSST Class of 2004

A Study of High Performance Computing and the Cray SV1 Supercomputer. Michael Sullivan TJHSST Class of 2004 A Study of High Performance Computing and the Cray SV1 Supercomputer Michael Sullivan TJHSST Class of 2004 June 2004 0.1 Introduction A supercomputer is a device for turning compute-bound problems into

More information

RegCM-ROMS Tutorial: Introduction to ROMS Ocean Model

RegCM-ROMS Tutorial: Introduction to ROMS Ocean Model RegCM-ROMS Tutorial: Introduction to ROMS Ocean Model Ufuk Utku Turuncoglu ICTP (International Center for Theoretical Physics) Earth System Physics Section - Outline Outline Introduction Grid generation

More information

A performance portable implementation of HOMME via the Kokkos programming model

A performance portable implementation of HOMME via the Kokkos programming model E x c e p t i o n a l s e r v i c e i n t h e n a t i o n a l i n t e re s t A performance portable implementation of HOMME via the Kokkos programming model L.Bertagna, M.Deakin, O.Guba, D.Sunderland,

More information

Chapter 3: Processes. Chapter 3: Processes. Process in Memory. Process Concept. Process State. Diagram of Process State

Chapter 3: Processes. Chapter 3: Processes. Process in Memory. Process Concept. Process State. Diagram of Process State Chapter 3: Processes Chapter 3: Processes Process Concept Process Scheduling Operations on Processes Cooperating Processes Interprocess Communication Communication in Client-Server Systems 3.2 Silberschatz,

More information

Getting Started with GCHP v11-02c

Getting Started with GCHP v11-02c Getting Started with GCHP v11-02c Lizzie Lundgren GEOS-Chem Support Team geos-chem-support@as.harvard.edu September 2017 Overview 1) What is GCHP and why use it? 2) Common Misconceptions 3) Useful Tips

More information

Parallel Programming with OpenMP

Parallel Programming with OpenMP Parallel Programming with OpenMP Parallel programming for the shared memory model Christopher Schollar Andrew Potgieter 3 July 2013 DEPARTMENT OF COMPUTER SCIENCE Roadmap for this course Introduction OpenMP

More information

The Big Picture So Far. Chapter 4: Processes

The Big Picture So Far. Chapter 4: Processes The Big Picture So Far HW Abstraction Processor Memory IO devices File system Distributed systems Example OS Services Process management, protection, synchronization Memory Protection, management, VM Interrupt

More information

Chapter 3: Processes. Operating System Concepts 8th Edition

Chapter 3: Processes. Operating System Concepts 8th Edition Chapter 3: Processes Chapter 3: Processes Process Concept Process Scheduling Operations on Processes Interprocess Communication Examples of IPC Systems Communication in Client-Server Systems 3.2 Objectives

More information

HIGH PERFORMANCE COMPUTING (PLATFORMS) SECURITY AND OPERATIONS

HIGH PERFORMANCE COMPUTING (PLATFORMS) SECURITY AND OPERATIONS HIGH PERFORMANCE COMPUTING (PLATFORMS) SECURITY AND OPERATIONS AT PITT Kim F. Wong Center for Research Computing SAC-PA, June 22, 2017 Our service The mission of the Center for Research Computing is to

More information

Advanced Job Launching. mapping applications to hardware

Advanced Job Launching. mapping applications to hardware Advanced Job Launching mapping applications to hardware A Quick Recap - Glossary of terms Hardware This terminology is used to cover hardware from multiple vendors Socket The hardware you can touch and

More information

Chapter 3: Process Concept

Chapter 3: Process Concept Chapter 3: Process Concept Chapter 3: Process Concept Process Concept Process Scheduling Operations on Processes Inter-Process Communication (IPC) Communication in Client-Server Systems Objectives 3.2

More information

Chapter 3: Process Concept

Chapter 3: Process Concept Chapter 3: Process Concept Chapter 3: Process Concept Process Concept Process Scheduling Operations on Processes Inter-Process Communication (IPC) Communication in Client-Server Systems Objectives 3.2

More information

Process Concept. Chapter 4: Processes. Diagram of Process State. Process State. Process Control Block (PCB) Process Control Block (PCB)

Process Concept. Chapter 4: Processes. Diagram of Process State. Process State. Process Control Block (PCB) Process Control Block (PCB) Chapter 4: Processes Process Concept Process Concept Process Scheduling Operations on Processes Cooperating Processes Interprocess Communication Communication in Client-Server Systems An operating system

More information

Chapter 4: Processes

Chapter 4: Processes Chapter 4: Processes Process Concept Process Scheduling Operations on Processes Cooperating Processes Interprocess Communication Communication in Client-Server Systems 4.1 Process Concept An operating

More information

Processes and More. CSCI 315 Operating Systems Design Department of Computer Science

Processes and More. CSCI 315 Operating Systems Design Department of Computer Science Processes and More CSCI 315 Operating Systems Design Department of Computer Science Notice: The slides for this lecture have been largely based on those accompanying the textbook Operating Systems Concepts,

More information

Design Approach for a Generic and Scalable Framework for Parallel FMU Simulations

Design Approach for a Generic and Scalable Framework for Parallel FMU Simulations Center for Information Services and High Performance Computing TU Dresden Design Approach for a Generic and Scalable Framework for Parallel FMU Simulations Martin Flehmig, Marc Hartung, Marcus Walther

More information

Fahad Zafar, Dibyajyoti Ghosh, Lawrence Sebald, Shujia Zhou. University of Maryland Baltimore County

Fahad Zafar, Dibyajyoti Ghosh, Lawrence Sebald, Shujia Zhou. University of Maryland Baltimore County Accelerating a climate physics model with OpenCL Fahad Zafar, Dibyajyoti Ghosh, Lawrence Sebald, Shujia Zhou University of Maryland Baltimore County Introduction The demand to increase forecast predictability

More information

High-Performance Scientific Computing

High-Performance Scientific Computing High-Performance Scientific Computing Instructor: Randy LeVeque TA: Grady Lemoine Applied Mathematics 483/583, Spring 2011 http://www.amath.washington.edu/~rjl/am583 World s fastest computers http://top500.org

More information

A unified multicore programming model

A unified multicore programming model A unified multicore programming model Simplifying multicore migration By Sven Brehmer Abstract There are a number of different multicore architectures and programming models available, making it challenging

More information

Lecture Topics. Announcements. Today: Threads (Stallings, chapter , 4.6) Next: Concurrency (Stallings, chapter , 5.

Lecture Topics. Announcements. Today: Threads (Stallings, chapter , 4.6) Next: Concurrency (Stallings, chapter , 5. Lecture Topics Today: Threads (Stallings, chapter 4.1-4.3, 4.6) Next: Concurrency (Stallings, chapter 5.1-5.4, 5.7) 1 Announcements Make tutorial Self-Study Exercise #4 Project #2 (due 9/20) Project #3

More information

Refresher: Lifecycle models. Lecture 22: Moving into Design. Analysis vs. Design. Refresher: different worlds. Analysis vs. Design.

Refresher: Lifecycle models. Lecture 22: Moving into Design. Analysis vs. Design. Refresher: different worlds. Analysis vs. Design. Analysis vs. Design Why the distinction? Design Processes Logical vs. Physical Design System vs. Detailed Design Architectures System Architecture Software Architecture Architectural Patterns (next lecture)

More information

Getting Started with High Performance GEOS-Chem

Getting Started with High Performance GEOS-Chem Getting Started with High Performance GEOS-Chem Lizzie Lundgren GEOS-Chem Support Team geos-chem-support@as.harvard.edu June 2017 Overview 1) What is GCHP and why use it? 2) Common Misconceptions 3) Useful

More information

Chapter 3: Process Concept

Chapter 3: Process Concept Chapter 3: Process Concept Silberschatz, Galvin and Gagne 2013! Chapter 3: Process Concept Process Concept" Process Scheduling" Operations on Processes" Inter-Process Communication (IPC)" Communication

More information

Chapter 4: Threads. Operating System Concepts. Silberschatz, Galvin and Gagne

Chapter 4: Threads. Operating System Concepts. Silberschatz, Galvin and Gagne Chapter 4: Threads Silberschatz, Galvin and Gagne Chapter 4: Threads Overview Multithreading Models Thread Libraries Threading Issues Operating System Examples Linux Threads 4.2 Silberschatz, Galvin and

More information

The Arm Technology Ecosystem: Current Products and Future Outlook

The Arm Technology Ecosystem: Current Products and Future Outlook The Arm Technology Ecosystem: Current Products and Future Outlook Dan Ernst, PhD Advanced Technology Cray, Inc. Why is an Ecosystem Important? An Ecosystem is a collection of common material Developed

More information

Software Infrastructure for Data Assimilation: Object Oriented Prediction System

Software Infrastructure for Data Assimilation: Object Oriented Prediction System Software Infrastructure for Data Assimilation: Object Oriented Prediction System Yannick Trémolet ECMWF Blueprints for Next-Generation Data Assimilation Systems, Boulder, March 2016 Why OOPS? Y. Trémolet

More information

Ricardo Rocha. Department of Computer Science Faculty of Sciences University of Porto

Ricardo Rocha. Department of Computer Science Faculty of Sciences University of Porto Ricardo Rocha Department of Computer Science Faculty of Sciences University of Porto Slides based on the book Operating System Concepts, 9th Edition, Abraham Silberschatz, Peter B. Galvin and Greg Gagne,

More information

Chapter 3: Processes. Operating System Concepts Essentials 2 nd Edition

Chapter 3: Processes. Operating System Concepts Essentials 2 nd Edition Chapter 3: Processes Silberschatz, Galvin and Gagne 2013 Chapter 3: Processes Process Concept Process Scheduling Operations on Processes Interprocess Communication Examples of IPC Systems Communication

More information

Announcements Processes: Part II. Operating Systems. Autumn CS4023

Announcements Processes: Part II. Operating Systems. Autumn CS4023 Operating Systems Autumn 2018-2019 Outline Announcements 1 Announcements 2 Announcements Week04 lab: handin -m cs4023 -p w04 ICT session: Introduction to C programming Outline Announcements 1 Announcements

More information

Trends and Challenges in Multicore Programming

Trends and Challenges in Multicore Programming Trends and Challenges in Multicore Programming Eva Burrows Bergen Language Design Laboratory (BLDL) Department of Informatics, University of Bergen Bergen, March 17, 2010 Outline The Roadmap of Multicores

More information

The IBM Blue Gene/Q: Application performance, scalability and optimisation

The IBM Blue Gene/Q: Application performance, scalability and optimisation The IBM Blue Gene/Q: Application performance, scalability and optimisation Mike Ashworth, Andrew Porter Scientific Computing Department & STFC Hartree Centre Manish Modani IBM STFC Daresbury Laboratory,

More information

Chapter 4: Processes. Process Concept

Chapter 4: Processes. Process Concept Chapter 4: Processes Process Concept Process Scheduling Operations on Processes Cooperating Processes Interprocess Communication Communication in Client-Server Systems 4.1 Process Concept An operating

More information

Chapter 3: Processes

Chapter 3: Processes Chapter 3: Processes Silberschatz, Galvin and Gagne 2013 Chapter 3: Processes Process Concept Process Scheduling Operations on Processes Interprocess Communication 3.2 Silberschatz, Galvin and Gagne 2013

More information

Model Driven, Component Based Development for CBDDS. IDL to C++11. Johnny Willemsen

Model Driven, Component Based Development for CBDDS. IDL to C++11. Johnny Willemsen Model Driven, Component Based Development for CBDDS IDL to C++11 Johnny Willemsen jwillemsen@remedy.nl This presentation is based on material from Northrop Grumman Component Based DDS (CBDDS) CBDDS is

More information

Towards a codelet-based runtime for exascale computing. Chris Lauderdale ET International, Inc.

Towards a codelet-based runtime for exascale computing. Chris Lauderdale ET International, Inc. Towards a codelet-based runtime for exascale computing Chris Lauderdale ET International, Inc. What will be covered Slide 2 of 24 Problems & motivation Codelet runtime overview Codelets & complexes Dealing

More information

Chapter 3: Processes. Operating System Concepts 8th Edition, modified by Stewart Weiss

Chapter 3: Processes. Operating System Concepts 8th Edition, modified by Stewart Weiss Chapter 3: Processes Operating System Concepts 8 Edition, Chapter 3: Processes Process Concept Process Scheduling Operations on Processes Interprocess Communication Examples of IPC Systems Communication

More information

Chapter 3: Processes. Operating System Concepts 8 th Edition,

Chapter 3: Processes. Operating System Concepts 8 th Edition, Chapter 3: Processes, Silberschatz, Galvin and Gagne 2009 Chapter 3: Processes Process Concept Process Scheduling Operations on Processes Interprocess Communication 3.2 Silberschatz, Galvin and Gagne 2009

More information

On Software Component for HPC Programmability and Efficiency

On Software Component for HPC Programmability and Efficiency On Software Component for HPC Programmability and Efficiency Christian Perez Julien Bigot, Zhenxiong Hou, Vincent Lanore, Jérôme Richard Avalon, LIP, Lyon, France christian.perez@inria.fr Calcul Day @

More information

The Icosahedral Nonhydrostatic (ICON) Model

The Icosahedral Nonhydrostatic (ICON) Model The Icosahedral Nonhydrostatic (ICON) Model Scalability on Massively Parallel Computer Architectures Florian Prill, DWD + the ICON team 15th ECMWF Workshop on HPC in Meteorology October 2, 2012 ICON =

More information

A Python extension for the massively parallel framework walberla

A Python extension for the massively parallel framework walberla A Python extension for the massively parallel framework walberla PyHPC at SC 14, November 17 th 2014 Martin Bauer, Florian Schornbaum, Christian Godenschwager, Matthias Markl, Daniela Anderl, Harald Köstler

More information

Software Engineering with Objects and Components Open Issues and Course Summary

Software Engineering with Objects and Components Open Issues and Course Summary Software Engineering with Objects and Components Open Issues and Course Summary Massimo Felici Software Engineering with Objects and Components Software development process Lifecycle models and main stages

More information

SURVEY PAPER ON CLOUD COMPUTING

SURVEY PAPER ON CLOUD COMPUTING SURVEY PAPER ON CLOUD COMPUTING Kalpana Tiwari 1, Er. Sachin Chaudhary 2, Er. Kumar Shanu 3 1,2,3 Department of Computer Science and Engineering Bhagwant Institute of Technology, Muzaffarnagar, Uttar Pradesh

More information