34
The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological Administration [email protected] 2005/09/16

The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological

  • View
    217

  • Download
    0

Embed Size (px)

Citation preview

Page 1: The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological

The Realization of GRAPES Model on

China Meteorological Application Grid

Xuesheng YANGChinese Academy of Meteorological Sciences

China Meteorological [email protected]

2005/09/16

Page 2: The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological

Characteristics of Numerical weather prediction

• Meteorology is one of the main components in the grid application– US:

• LEAD (Linked Environment for Atmospheric Discovery)• MEAD (Modeling Environment for Atmospheric Discovery)

– ECMWF: ECAccess

• NWP system includes preprocessing, analysis, numerical model, post processing, visualization:– execution processes are dynamically connected – enormously complex even if run individually – Involves in data management, remote collaborative research, hea

vy computation, massive data and intensive services• to ensure the proper operation of a NWP:

– massive computing resources needed

Page 3: The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological

Existed issues

• tough issues meteorologists encountered:– organization of the NWP workflow and data– execution of model simulations– management of the resulting large volumes of data– subsequent data analysis– visualization

• model developers and computing resources stationed in different locations– telephone, mobile, e-mail, …

• inadequate for conducting a research project that involves in huge amount of simulations and extensive on-line discussions and consultations

– Computing resources can’t satisfy the research requirements• divert researchers’ focus on how to acquire computing resources

instead of addressing the scientific issues

Page 4: The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological

Existed computing resources at CMA

• Available operational computing resources:– IBM Cluster 1600 – IBM SP

• Available computing resources for research:– IBM – Clusters: Sunway, Dawning, Oscar, Ocean

• CAMS• NMIC• Guangdong• Shanghai• Guangxi • etc.

• do not get full utilized– Computing resources– manpower

Page 5: The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological

2. China Meteorological Application Grid(CMAG)

• grid portal

• GridWeather– a NWP workflow control interface

• GRAPES meso-scale model

• user management sub-system

• CVSExplorer – a code management system

• visualization

Page 6: The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological

Tomcat5.28 Application Server

GridSphere Container

Base Portlets

LoginP

ortlet

ProfileM

anager

PortletA

pplication

LayoutM

anager

GridUser PortletsPortlets Modules

CredentialR

equest

CredentialS

ign

CredentialD

eleteG

ridUserM

ap

CMAGPortal Page

GridWeather portletsPortlets Modules

CredentialR

ecieve

JobSubm

ission

FileM

anager

FileT

ransfer

ResourceB

rowser

JobMonitoring

JobPosttreatm

ent

Forecast PortletsPortlets Modules

RainF

orecast

CityF

orecast

Elem

entForecast

PrecipitionO

bserved

CVSExplorerPortlets Modules

ProjectM

anager

CodeE

xplorer

CV

SM

anager

GridServices Myproxy GRAPES service

Grid Software(GT2,GT3,GT4,GOS)

Job Scheduler (OpenPBS,LSF,Conder)

Grid Resources(Cluster, expensive instrument)G

ang

lia

CVS ServerDatabase ServerMysql

IE browserarchitecture of CMAG Portal

Page 7: The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological

Security and user management

• provides a single-log-on access interface for all grid services and grid resources

• authenticated users can access to computing, storage, data, software resources as well as all kinds of services

Page 8: The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological

Security and user management

• SimpleCA of Globus toolkit is adopted to ensure the security of the grid resources– based on GSI and supports X.509 inter-certification mechanism

• CMAG Certification Authority signs each certificate

• In actual implementation, a CA center at CMA is set up and CA distribution packages are installed at all CMAG nodes or provincial meteorological bureaus

• User certifications managed by Myproxy library

Page 9: The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological
Page 10: The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological

CMAG Portal• Resource Access Portal

– to access geographically distributed computing resources

• NWP Products Browse Portal – to disseminate NWP products to the public and professional clients

• Remote Collaborative Portal (RCP)– to offer a universal platform for scientists to develop NWP modules, to share

source codes, to register modules within the grid and to perform NWP experiments.

Page 11: The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological

CMAG Portal

• Globus 4.0 as the communication and tool-kit for collaborative research

• authentification and grid-job management is performed based on Gridsphere Portal Framework and Java COG tool-kits.

Page 12: The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological

Infrastructure of CMAG Portal

Page 13: The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological

Job Submission and resource monitoring

• based on the pre-wsrf-gram and wsrf-gram of Globus 4.0

• Each grid resource has its own job scheduling software:– SSC:

• PLATFORM’s LSF to perform job scheduling

– Others:• OpenPBS

• Ganglia to display dynamically the load of computing resource :– such as CPU load, availability of both memory and ha

rd-disk, as well as network throughput

Page 14: The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological

The load report of grid resources displayed dynamically by Ganglia within CMAG

Page 15: The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological

NWP executing control interface ---

GridWeather

• NWP system involves complicated process control and massive parameters setting

• traditional implementation method:– write a control routine – effective in local mode familiar with both every part of

NWP system and system environment.

• Gridweather:– based on Portlet including GRAM and GridFTP of Co

G as well as Globus toolkit

Page 16: The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological

interface for research: GARPES model improvement

– to select the appropriate physical parameterization schemes

– to designate forecast domain, available numerical schemes, etc.

Page 17: The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological

Flowchart of GRAPES model improvement on CMAG

job-submission strategy : firstly, select the computing resources already with special experimental data, secondly, select machines that can run the GRAPES model

Page 18: The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological

NWP operational executing interface

Page 19: The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological

Flowchart of operational GRAPES meso-scale model on CAMG

job-submitting strategy:

(1) selecting the computing resources that have had data already

(2) selecting idle machines, then local machine, or any available high-performance computing capabilities machines.

Page 20: The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological

CVSExplorer

• NWP system upgrading• frequent modifications• diversity of program versions• intensive interactions between model devel

opers and inter-comparisons between numerical experiments

• it is necessary to create a suitable platform for joint NWP software development based on WinCVS

Page 21: The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological

• Browse source codes

Page 22: The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological

• GRAPES improvement

Page 23: The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological

Configuration of CMAG

• portal server:– deployed on a DELL server at CAMS, includes:

• Web server Tomcat• Portal Framework Gridsphere• Web service software Java SOAP• grid application and development package CoG, GMETAD• web Front-end Ganglia

• management node:– implemented at OSCAR Cluster at CAMS

• Hierarchically structured MDS is installed– GIIS is available at each managing node and GRIS at

other nodes.

Page 24: The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological

Computing resources

Location Grid Software

Security NWP software Job scheduler

Oscar CAMS GT4 CMA CA Center

GRAPES OpenPBS

Sunway48I CMAS GT4 CADP GRAPES OpenPBS

Sunway32I NMIC GT4 CADP GRAPES OpenPBS

Sunway32P NMIC GT4 CADP GRAPES OpenPBS

Ocean STI GT4 CADP GRAPES OpenPBS

Dawning GRMC GT4 CADP GRAPES OpenPBS

Dawn GXMB GT4 CADP GRAPES OpenPBS

PC Wuhan GT4 CADP GRAPES No

Dawning 4000A

SSC GT3 CADP GRAPES LSF

CADP: CMA CA Distributed Packages

STI: Shanghai Typhoon Research Inst.

Computing platform on CMAG

Page 25: The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological

Real-time weather forecasts

• GRAPES meso-scale model 30KM/15KM– Mainly for rain forecast– runs every day on CMAG

• Real-time forecast products:– http://grid.cma.gov.cn:8080/

• Also computing resources and NWP technique comparatively less developed regions can utilize the grid resources or even run the NWP models to satisfy their forecast service requirement:– Yantai– Qinghai

Page 26: The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological

GRAPES-Meso Scale model

• new NWP system developed by Research Center for Numerical Prediction at CAMS

• Features:– fully compressible primitive equations– switchable between hydrostatic and non-hydrostatic mode– semi-implicit and semi-Lagrangian advection schemes – latitude and longitude grid– horizontal Arakawa C grid – terrain-following coordinates – Charney-Phillips staggering vertically– physical parameterization package

Page 27: The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological

ATOVS Data

Preprocess

Quality control

ConventionalData

preprocess

Quality control

3DVariation Anal

ysis

3DVariation Anal

ysis

Global model lateral B.C.

GRAPES Model real-timeforecasts

GRAPES Model real-timeforecasts

Post-processing

Post-processing

Forecast products

visualizationvisualization

prepocessing

Initial 48hrs forecast

6hrs cycling

Analysis Forecast Postprocessing

Flowchart of meso-scale GRAPES model on CMAG

Page 28: The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological

500 hPa Geopotential height forecast over China (2005090900UTC)

Page 29: The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological

forecast

Page 30: The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological

Hourly rain forecast for Beijing, 2005080800UTC

Typhoon MTyphoon Matsaatsa

Page 31: The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological
Page 32: The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological
Page 33: The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological

Conclusion

• Distributed computing resources at Beijing, Shanghai, Guangdong and Guangxi aggregated

• real-time GRAPES executions on CMAG feasible

• a virtual collaborative R/D center established:– provides researchers at different locations with a

common R/D environment aimed at further improvement of the GRAPES

Page 34: The Realization of GRAPES Model on China Meteorological Application Grid Xuesheng YANG Chinese Academy of Meteorological Sciences China Meteorological

Thanks for listening!