prism an infrastructure project for climate research in europe by nils wedi @ ecmwf contributions by...

33
PRISM An Infrastructure Project for Climate Research in Europe by Nils Wedi @ ECMWF Contributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V. Gayler, E. Guilyardi, C. Larsson, S. Legutke, R. Redler, H. Ritzdorf, T. Schoenemeyer, S. Valcke, R. Vogelsang and many others in ESMF 3 rd Community Meeting, Boulder, July 15, 2004

Upload: kevin-watkins

Post on 29-Dec-2015

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: PRISM An Infrastructure Project for Climate Research in Europe by Nils Wedi @ ECMWF Contributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V

PRISM

An Infrastructure Project for Climate Research in Europe

by Nils Wedi @ ECMWFContributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V. Gayler, E. Guilyardi, C. Larsson, S. Legutke, R. Redler, H. Ritzdorf, T. Schoenemeyer, S. Valcke, R. Vogelsang and many others in the PRISM community ...

ESMF 3rd Community Meeting, Boulder, July 15, 2004

Page 2: PRISM An Infrastructure Project for Climate Research in Europe by Nils Wedi @ ECMWF Contributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V

Overview

• What is PRISM?

• European Interest, partners

• PRISM Objectives

• PRISM Model Components

• PRISM Approach

• Architecture and User Interface

• Current Status and Perspective

Page 3: PRISM An Infrastructure Project for Climate Research in Europe by Nils Wedi @ ECMWF Contributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V

What is PRISM?

• PRogram for Integrated Earth System Modelling• A European project for climate modelling

involving 22 partners, 12/2001 – 12/2004• Funded by the European Commission (4.8 M€)• Involves state-of-the-art atmosphere, ocean, sea-

ice, atmospheric chemistry, land-surface and ocean-biogeochemistry models

Page 4: PRISM An Infrastructure Project for Climate Research in Europe by Nils Wedi @ ECMWF Contributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V

PRISM partners• MPI-M, Germany (Guy Brasseur,

coordinator)• KNMI, The Netherlands

(Gerbrand Komen, co-coordinator)• MPI-M&D, Germany• MetOffice, United Kingdom• UREADMY, United Kingdom• IPSL, France• Météo-France, France• CERFACS, France• DMI, Denmark• SHMI, Sweden• NERSC, Norway

• CSCS/ETH, Switzerland

• INGV, Italy

• MPI-BGC, Germany

• PIK, Germany

• ECMWF

• UCL-ASTR, Belgium

• NEC-ESS, Germany

• FECIT/Fujitsu, France

• SGI, Germany

• SUN, Germany

• NEC-CCRLE, Germany

Page 5: PRISM An Infrastructure Project for Climate Research in Europe by Nils Wedi @ ECMWF Contributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V

Help scientists to spend more time on science

Provide software infrastructure to

• easily assemble earth system coupled models based on existing state-of-art components models

• launch/monitor complex/ensembles earth system simulations

• access, analyse and share results across wide community

Define and promote technical and scientific standards for Earth System modelling

Page 6: PRISM An Infrastructure Project for Climate Research in Europe by Nils Wedi @ ECMWF Contributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V

Technical and scientific standards

• Scientific:Global parametersPhysical interfaces

• Technical:Coupler and I/OData format and gridsArchitecture and User Interface

Diagnostics and visualizationCoding and quality

Page 7: PRISM An Infrastructure Project for Climate Research in Europe by Nils Wedi @ ECMWF Contributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V

PRISM model componentsAtmosphere:Météo-France (ARPEGE), MPG-IMET (ECHAM), IPSL (LMDZ), MetOffice (Unified Model), UREADMY, INGV

Atmospheric Chemistry:MPG-IMET, UREADMY, IPSL, MetOffice, Météo-France, KNMI

Land Surface: IPSL (Orchidée), MetOffice, MPG-IMET, UREADMY, Météo-France (ISBA)

Sea Ice:NERSC, UCL-ASTR, MetOffice, IPSL, MPG-IMET

Ocean Biogeochemistry:MPI-BGC, IPSL, MPG-IMET, MetOffice

Ocean: UREADMY, MetOffice (FOAM), MPI-M (HOPE), IPSL (OPA/ORCA)

Regional Climate:SHMI, DMI, MetOffice

Coupler:CERFACS, NEC,

CCRLE, FECIT, SGI, MPI-MAD

Page 8: PRISM An Infrastructure Project for Climate Research in Europe by Nils Wedi @ ECMWF Contributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V

ESMF - PRISM

PRISM

ESMF

Running environment

Superstructure

User code

Code Infrastructure

Page 9: PRISM An Infrastructure Project for Climate Research in Europe by Nils Wedi @ ECMWF Contributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V

Coupling software and its evolution in PRISM

• Coupler: OASIS 3.0/4.0 (~10 years experience)

• Prism system model interface library: PSMILe• MPI1 or MPI2 direct communication between

models with same grid otherwise repartitioning using a transformer

• modularity: prism_put() and prism_get() to implement in existing models

Page 10: PRISM An Infrastructure Project for Climate Research in Europe by Nils Wedi @ ECMWF Contributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V

OASIS coupler: Ocean Atmosphere Sea Ice SoilHistorical review: Developed since 1991 in CERFACS to couple existing GCMs. At the time:

•Models at relatively low resolution (~10000-20000 pts)

•Small number of 2D coupling fields (~10) •Low coupling frequency (~once/day)

flexibility was very important, efficiency not so much!

1991 2001

|-- |--- PRISM

OASIS 1 OASIS 2 OASIS3

OASIS4

Page 11: PRISM An Infrastructure Project for Climate Research in Europe by Nils Wedi @ ECMWF Contributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V

•CGAM-Reading (UK) HadAM3 - ORCA2

•Southampton University (UK) Inter. Atm - OCCAM lite

•UCL (Belgium) LMDz - CLIO

•SMHI (Sweden) ECHAM - RCA RCA(region.) – RCO(region.)

•U. of Bergen (Norway) MM5 - ROMS

•KNMI (Netherlands) ECHAM5 - MPI-OM

•DMI (Danemark) ECHAM - HIRLAM

•INGV (Italy) ECHAM5 – MPI-OM

•IRI (USA) ECHAM4 - MOM3

•JAMSTEC (Japan) ECHAM4 - OPA 8.2

•BMRC (Australia) BAM - MOM4 BAM3 - ACOM2

•U. of Tasmania (Australia) Data Atm. - MOM4

•CAS,IIT Delhi (India) MM5 - POM

OASIS community

Page 12: PRISM An Infrastructure Project for Climate Research in Europe by Nils Wedi @ ECMWF Contributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V

•CERFACS (France) ARPEGE3 - ORCA2LIM ARPEGE3 - OPA 8.1 ARPEGE3 - OPAICE

•METEO-FRANCE (France)ARPEGE4 - ORCA2 ARPEGE medias -OPAmed ARPEGE3 - OPA8.1 ARPEGE2 - OPA TDH

•IPSL- LODYC, LMD, LSCE (France) LMDz - ORCA2LIMLMDz - ORCA4 LMDz - OPA ATL3/ATL1 IFS

- OPA 8.1 ECHAM4 - ORCA2

•MERCATOR (France) PAM(OPA)

•MPI - M&D (Germany)ECHAM5 - MPI-OM ECHAM5 - C-HOPE PUMA - C-HOPE EMAD - E-HOPE ECHAM5 - E-HOPE

ECHAM4 - E-HOPE

•ECMWF (UK)IFS Cy23r4 - E-HOPE IFS Cy15r8 - E-HOPE

OASIS community

Page 13: PRISM An Infrastructure Project for Climate Research in Europe by Nils Wedi @ ECMWF Contributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V

Oasis2 and Oasis3

Flexibility, modularity: Coupler and PSMILe act according to user-defined coupling

configuration (text file):• number of models and coupling fields • coupling frequencies and transformations for each field• I/O or coupling mode (transparent for model)

•Mono-process coupler•2D scalar coupling fields interpolation (SCRIP1.4)

•PRISM System Model Interface Library PSMILe• coupling fields exchange (MPI1 & MPI2)• I/O actions (GFDL mpp_io)

A

A

A

file

A

A

A

O

O

O

O

Oasis3

Page 14: PRISM An Infrastructure Project for Climate Research in Europe by Nils Wedi @ ECMWF Contributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V

Oasis4 – new demands

• Higher resolution, parallel and scalable models

• Higher coupling frequencies desirable

• Higher number of models and (3D) coupling fields

• Massively parallel platforms

Need to optimise and parallelise the coupler

Page 15: PRISM An Infrastructure Project for Climate Research in Europe by Nils Wedi @ ECMWF Contributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V

OASIS4

is composed of: • a Driver• a Transformer• a new PRISM System Model Interface Library

Page 16: PRISM An Infrastructure Project for Climate Research in Europe by Nils Wedi @ ECMWF Contributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V

• Interface and data flow

Page 17: PRISM An Infrastructure Project for Climate Research in Europe by Nils Wedi @ ECMWF Contributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V

•MPI parallel communication including repartitioning

•parallel multigrid 3D neighbourhood search and calculation of communication patterns in each source process PSMILe

•extraction of useful part of source field only

OASIS4

OB

OB

OB

C

C

C

O1

O1

C

C

•parallel I/O: single file, distributed files: GFDL mpp_io parallel file: parNetCDF

•parallel Transformer: loops over PSMILe requests

•flexibility and modularity same as Oasis3

T

OB

OB

OB

C

C

C

O2

O2

C

C

Page 18: PRISM An Infrastructure Project for Climate Research in Europe by Nils Wedi @ ECMWF Contributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V

Driver

TOCE

ATM

LAND

fileV4Definition Phase

OCE PMIODV1: out, metadata V1V2: in, metadata V2

ATM PMIODV1: in, metadata V1V2: out, metadata V2V3: out, metadata V3

LAND PMIODV3: in, metadata V3V4: in, metadata V4

ATM-LAND AD

OCE AD

OCE SMIOCV1 : to ATM, T1 to file V1V2 : from ATM, T2

userATM SMIOC V1 : from OCE, T1V2: to OCE, T2V3 : to LAND

user

LAND SMIOC V3 : from ATMV4 : from fileV4

user

Composition Phase

user

SCC ATM:...OCE:...LAND:...

user

Deployment Phase

V1V1

V2V2

V3

fileV1

V4

Page 19: PRISM An Infrastructure Project for Climate Research in Europe by Nils Wedi @ ECMWF Contributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V

Oasis – Current status

•OASIS3_prism_2-2 available

•OASIS4 prototype available

•OASIS4 final PRISM version due 12/2004

Page 20: PRISM An Infrastructure Project for Climate Research in Europe by Nils Wedi @ ECMWF Contributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V

File formats and grids

• NetCDF for grid and restart auxiliary files

• CF convention under development, extending the COARDS conventions

• XML for model and script meta-data input (Fortran namelist and shell replacement)

Page 21: PRISM An Infrastructure Project for Climate Research in Europe by Nils Wedi @ ECMWF Contributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V

System Architecture and User Interface

PRISM architecture to provide an efficient climate modelling infrastructure to users and developers through:

• Standardised interfaces

• Remote functionality

• Centralised administration

• Distributed resources

Page 22: PRISM An Infrastructure Project for Climate Research in Europe by Nils Wedi @ ECMWF Contributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V
Page 23: PRISM An Infrastructure Project for Climate Research in Europe by Nils Wedi @ ECMWF Contributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V
Page 24: PRISM An Infrastructure Project for Climate Research in Europe by Nils Wedi @ ECMWF Contributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V

Standard compile (SCE) and run environment (SRE)

• Finalizing the SCE and SRE for the PRISM models• The system comprises 15 models (arpege_climat4

echam5 hamocc lim lmdz mozart mpi-om oasis3 opa orchidee pisces toy4opa toyatm toyche toyoce) which are adapted to a varying degree to the PRISM standards and can run in several combinations.

• Most of the models have been tested on a variety of platforms (NEC (SX), SGI (MIPS or IA64SGI), FUJITSU (VPP), IBM (power4))

A tedious task without flashy graphics but very useful !!!

Page 25: PRISM An Infrastructure Project for Climate Research in Europe by Nils Wedi @ ECMWF Contributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V

PrepIFS

Page 26: PRISM An Infrastructure Project for Climate Research in Europe by Nils Wedi @ ECMWF Contributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V

PrepIFS – earth system modeling via the Internet …

Page 27: PRISM An Infrastructure Project for Climate Research in Europe by Nils Wedi @ ECMWF Contributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V

OASIS4 – GUI support

XML designed to be read by machines not humans !!!

Page 28: PRISM An Infrastructure Project for Climate Research in Europe by Nils Wedi @ ECMWF Contributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V

SMS/WebCdp job scheduling and monitoring

• Complex automated scheduling

• Macro-parallelism• Flexible inter-

dependencies• Interactive control• Visual structure of

large systems• Used for all

operational and research activities at ECMWF ( ~10 years)

Page 29: PRISM An Infrastructure Project for Climate Research in Europe by Nils Wedi @ ECMWF Contributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V

Further tools …

• Diagnostics – Prism processing and visualization software (COCO, CDAT/VCS and VTK), at ECMWF MARS/Vis5D/Metview

• Web GUI – database and diagnostics web interface using web-access server technology, (DODS and LAS), at ECMWF Web-MARS

Page 30: PRISM An Infrastructure Project for Climate Research in Europe by Nils Wedi @ ECMWF Contributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V

A PRISM sustained team

•Document by PRISM Steering Group proposing establishment of a PRISM sustained team of 7 people sent to European Climate modelling Community (June 04)

•First preparation meeting: August 17th, 2004

•Target: Signature of Consortium Agreement: 01/2005

•MPI (Germany), CERFACS (France), ECMWF (EU), CNRS (France), MetOffice (UK), NCAS(UK), CCRLE (Germany) already expressed strong interest.

•Additional FP6 funding (March 2005)?

Enthusiasm is still high !!!

Page 31: PRISM An Infrastructure Project for Climate Research in Europe by Nils Wedi @ ECMWF Contributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V

Further information

http://prism.enes.org

Page 32: PRISM An Infrastructure Project for Climate Research in Europe by Nils Wedi @ ECMWF Contributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V

•Access and use of XML information •Coupling and I/O of n parallel applications with m components.•Coupling exchange with repartitioning, direct or through the Transformer •Interpolations:

•PSMILe (non-exact) parallel neighbourhood search•3D 2D nearest-neighbour, 3D linear, 2D linear

•I/O: •single and parallel mode

•Coupling and I/O exchange from one source to many targets •Local transformations (scatter, gather, add or mult scalar, statistics)

•Basic time transformation (average, accumul, min, max)

Oasis4: in the prototype (05/2004)

Page 33: PRISM An Infrastructure Project for Climate Research in Europe by Nils Wedi @ ECMWF Contributions by A. Caubel, P. Constanza, D. Declat, J. Latour, V

•PSMILe API for model access to SCC and SMIOC information

•Interpolation:•More schemes (conservative, 3D, etc.)•Exact parallel neighbour search

•Transformer parallelisation (almost completed)

•Field reduction, combination

•Full support of vector and bundle fields (I/O OK)

•I/O: distributed mode (parNetCDF)

•Adaptive grids

•Unstructured grids

Oasis4: still to be done