esmf,wrf and roms. purposes not a tutorial not a tutorial educational and conceptual educational and...

29
ESMF,WRF and ESMF,WRF and ROMS ROMS

Upload: adam-bridges

Post on 17-Jan-2018

226 views

Category:

Documents


0 download

DESCRIPTION

What do they represent for? ROMS: Regional Oceanographic Modeling ROMS: Regional Oceanographic ModelingSystem WRF: Weather Research Forecasting WRF: Weather Research Forecasting ESMF: Earth System Modeling Framework ESMF: Earth System Modeling Framework

TRANSCRIPT

Page 1: 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

ESMF,WRF and ESMF,WRF and ROMSROMS

Page 2: 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

PurposesPurposes Not a tutorial Not a tutorial Educational and conceptualEducational and conceptual Relation to our workRelation to our work

Page 3: 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

What do they represent What do they represent for?for?

ROMS: Regional Oceanographic ModelingROMS: Regional Oceanographic ModelingSystemSystem

WRF: Weather Research Forecasting WRF: Weather Research Forecasting

ESMF: Earth System Modeling ESMF: Earth System Modeling FrameworkFramework

Page 4: 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

ROMSROMS Classical software structure for Classical software structure for

numerical model numerical model No clear hierarchical levelNo clear hierarchical level Focus on physics Focus on physics

Curvilinear coordinateCurvilinear coordinate Nested and composed gridNested and composed grid

Page 5: 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

ROMS ROMS Some level of modularitySome level of modularity

Fortran 90/95Fortran 90/95 C – preprocessing macro managingC – preprocessing macro managing

Supports MPI and OpenMPSupports MPI and OpenMP Portable Portable Widely used – 30 countriesWidely used – 30 countries

Page 6: 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

WRF GeneralWRF General

Page 7: 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

WRFWRF A framework for regional weather A framework for regional weather

research and forecastingresearch and forecasting Emphasize on Emphasize on

physicsphysics software architecture software architecture standardstandard

Page 8: 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

WRF software WRF software ArchitectureArchitecture

Three hierarchical levelThree hierarchical level ProvideProvide dynamic and physics dynamic and physics

corescores Applications have options to add Applications have options to add

their own components including their own components including corescores

Page 9: 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

WRF software design schematic

Driver

ConfigInquiry I/O API

ConfigModule

WRF Tile-callableSubroutines

SolveMediation Layer

Model Layer

Driver Layer

DM comm

Thre

ads

OMP

External Packages

PackageIndependent

PackageDependent

Data formats,Parallel I/O

Mes

sage

Pass

ing

(Adapted from WRF software design document athttp://www.mmm.ucar.edu/wrf/users/WRF_arch_03.doc)

Page 10: 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

WRF FeaturesWRF Features Supports MPI and OpenMPSupports MPI and OpenMP PortablePortable Fortran 90Fortran 90 Widely Used by international Widely Used by international

research communityresearch community

Page 11: 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

Two level decomposition

Logical domain 12 patches

Level 1

Distributed memoryMPI etc.

Level 2Sha red m

emory 4 tiles

We are interested in

Page 12: 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

Now ESMF Now ESMF

Page 13: 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

Why ESMF?Why ESMF? Standard interface to couple Earth Standard interface to couple Earth

system modelssystem models InteroperabilityInteroperability

code validation, tuningcode validation, tuning migration from research to operationsmigration from research to operations

Productivity Productivity model components easily to buildmodel components easily to build maintenancemaintenance

Page 14: 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

ESMFESMF Superstructure: couple component Superstructure: couple component

(required)(required)How models are coupled!How models are coupled!

Substructure: tools, data component,Substructure: tools, data component,Data regridding etc.Data regridding etc.

No physics/dynamics inside, pure No physics/dynamics inside, pure frameworkframework

Page 15: 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

ESMF StructureESMF Structure Sandwiched architectureSandwiched architecture

ESMF Superstructure

User Code

ESMF Infrastructure

couple

commonutility

Page 16: 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

Now Examples of ESMF and Now Examples of ESMF and WRFWRF

Page 17: 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

Land Information System

Page 18: 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

LIS-GCE coupling (standard LIS-GCE coupling (standard way)way)

ESMF Coupler

LIS GCE

ESMF Utility

Page 19: 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

LIS-WRF couplingLIS-WRF couplingWRF-surface driver

LIS

ESMF couplerESMF becomes a

subcomponent

Page 20: 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

Impact of ESMF on Impact of ESMF on Coupled PerformanceCoupled Performance

0

2

4

6

8

10

12

14

16

18

0 20 40 60 80

Num ber of Processors

Tota

l ela

psed

tim

e (h

rs)

Default WRF

LIS-WRF

Weather Research and Forecasting Model (WRF)

Page 21: 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

Now about IOsNow about IOs

Page 22: 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

ROMS IO ROMS IO NetCDF onlyNetCDF only Stick to NetCDF toolsStick to NetCDF tools No motivation to use other data No motivation to use other data

formatformat Need parallel IONeed parallel IO

Page 23: 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

WRF IOWRF IO• Standard IO APIs• NetCDF NetCDF • GRIBGRIB• HDF5HDF5• Currently supports parallel IO Currently supports parallel IO

through HDF5through HDF5

Page 24: 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

WRF I/O Schematic

Application

I/O API

FormatPackage

CommPackage

Data Medium

Package-independent

Package-specific

Installation-specific

Page 25: 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

Wall Clock Time Used with Different Output File Size Case 1: Conus

IBM WinterHawkII (256 Processors)

0

10

20

30

40

50

60

70

80

0 5 10 15 20 25

Output File Size(GB)

Wal

l Clo

ck T

ime(

Min

ute)

Parallel HDF5NetCDF

Page 26: 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

ESMF IOESMF IO Only support NetCDF IO through Only support NetCDF IO through

WRF APIsWRF APIs Very preliminary Very preliminary No goal to improve IO in the near No goal to improve IO in the near

futurefuture

Page 27: 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

How’s that related to us?How’s that related to us? All these model developers express All these model developers express

interests about NetCDF4 project, interests about NetCDF4 project, especially parallel IOespecially parallel IO

NetCDF4 is the key product for NetCDF4 is the key product for HDF5 to be utilized HDF5 to be utilized

Simple Parallel IO?Simple Parallel IO? Fortran 90 supports?Fortran 90 supports?

Page 28: 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

ESMF web page:ESMF web page: http://www.esmf.ucar.edu/http://www.esmf.ucar.edu/

WRF web page:WRF web page: http://www.wrf-model.orghttp://www.wrf-model.org//

Applications about ESMF and WRF:Applications about ESMF and WRF: http://esto.nasa.gov/conferences/estc2004/presenhttp://esto.nasa.gov/conferences/estc2004/presen

tation/A4/a4p2.pdftation/A4/a4p2.pdf http://esto.nasa.gov/conferences/estc2005/papershttp://esto.nasa.gov/conferences/estc2005/papers

/a7p3.pdf/a7p3.pdf

ROMS web page: ROMS web page: http://marine.rutgers.edu/po/http://marine.rutgers.edu/po/

Page 29: 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