1 / 17

On Advanced Scientific Understanding, Model Componentisation and Coupling in GENIE

Sofia Panagiotidi, Eleftheria Katsiri and John Darlington. On Advanced Scientific Understanding, Model Componentisation and Coupling in GENIE. Motivation. Reverse engineer GENIE to inform research on component coupling frameworks: Analysis of a monolithic piece of code such as GENIE.

fisseha
Download Presentation

On Advanced Scientific Understanding, Model Componentisation and Coupling in GENIE

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Sofia Panagiotidi, Eleftheria Katsiri and John Darlington On Advanced Scientific Understanding, Model Componentisation and Coupling in GENIE

  2. Motivation Reverse engineer GENIE to inform research on component coupling frameworks: • Analysis of a monolithic piece of code such as GENIE. • Extraction of interface andmodel coupling semantics. • Development of methods for capturing such semantics and validating the development. • Methods to express at higher-levels co-ordination structure. 1

  3. Goals • A flexible coupling framework where components can be individually developed and coupled together. • The coupling needs to be correct, intelligent and without undue programming effort. • In synch with existing efforts: (GCF, Iceni I, Apples AMWAT, Reality Grid), but a system of the size and complexity of Genie requires a supporting semantic framework. 2

  4. What is GENIE? • Grid ENabled Integrated Earth system model. • Investigate long term changes to the Earth’s climate (i.e. global warming) by integrating numerical models of the Earth system. • e-Science aims: • Flexibly couple together state-of-the-art components to form unified Earth System Model (ESM). • Execute resultant ESM on a Grid infrastructure. • Share resultant data produced by simulation runs. • Provide high-level open access to the system, creating and supporting virtual organisation of Earth System modellers. 3

  5. GENIE model framework 3D atmosphere Atmospheric CO2 3D ice sheets 2D sea ice 2D land surface 3D ocean Land biogeochemistry Ocean biogeochemisty Ocean sediments 4

  6. Previous Work • Separation of the code into pieces - Layered representation of the application. • Wrapping GENIE as ICENI binary component. • Delivery of Web-based System (portal) to allow a virtual organisation of environmental scientists to create and manage simulations at a high-level. • Submission of multiple sweep experiments to the portal, exploiting multiple resources over a Condor pool. • Implementation of database management system to allow scientists to share, access and visualise data produced by simulation runs. 5

  7. Currently in GENIE • genie.F is a glorified metafile containing if-then-else statements. • Fortran routines act as “wrappers”, IN/OUT annotation. • Life cycle phases scattered, i.e. igcm_adiab.F and initialise_atmos.F. • Shared memory, file based I/O. • Complex semantics (e.g. grid interpolations). • Hard-coded time steps. 6

  8. OLOGEN Ontology for GENIE: • Classes • Relations 7

  9. Entities (1) OLOGEN Class Hierarchy: • Abstractions - What is the abstraction granularity? • Component • Module (atmosphere, land, ocean etc) • Model (IGCM, c-Goldstein, etc) • Wrapper ∶ • Routine • Function (…) • Interface • Data Flow Type (IN, OUT, INOUT, Control) • Model Scope (Common, Model-Specific) • Binding (Late, Current) • Layer (Local, Wrapper) ∶ is part of 8

  10. Entities (2) 8

  11. Relations 10

  12. Higher-order Functions Co-ordination forms • The Wrap Skeleton • The Thread Coupler Skeleton • Distribution Model • Same-host • Distributed • Parallel 11

  13. The Wrap Skeleton Wrap(c,list of wrapper input interfaces, list of wrapper output interfaces, list of local input interfaces, list of local output interfaces, list of control interfaces)=C 12

  14. The Thread Coupler Skeleton[SCL, Darlington93] IterFor koverall { IterForn step A IterForm step B where step A = threadA.execute threadB.notify(interfaceB) step B = threadB.execute threadA.notify(interfaceA) } 13

  15. Nested Coupling genie_land_surflux igcm3_diab pass results 2 igcm_ocean_surflux igcm3_adiab igcm_ocean_blayer igcm_land_blayer pass lowest level values to ocean & land igcm_land_surflux check_fluxes_surf_l pass results 3 ocean_niter_tim not flag_land not flag_goldsteinocean and flag_goldsteinseaice not flag_checkfluxes_surf land_niter_tim katmos_int 14

  16. Conclusions • Use of reverse engineering approach to research on component coupling frameworks: • Analysis of a monolithic piece of code such as GENIE. • Extraction of interface andmodel coupling semantics. • Development of OLOGEN, an ontology for capturing such semantics and validating the development. • Co-ordination via functional skeletons. 15

  17. Acknowledgments • We would like to thank Andrew Price, Dan Lunt, Gethin Williams, Ian Rutt, Andrew Yool, Neil Edwards, Tim Lenton and John Shepherd for their assistance and guidance. • Acknowledgments also go to the GENIE investigators: Prof. Paul Valdes (Reading), Prof. John Shepherd (SOC, Southampton), Prof. Andrew Watson (UEA), Prof. Melvyn Cannell (CEH Edinburgh), Dr. Anthony Payne (Bristol), Prof. Richard Harding (CEH Wallingford), Prof. Simon Cox (SReSC) and Prof. John Darlington (LeSC). • Reference: [SCL, Darlington93] J. Darlington, Y. Guo, H. W. To, and J. Yang. Functional skeletons for parallel coordination. In Seif Haridi, Khayri Ali, and Peter Magnussin, editors, Euro-Par'95 Parallel Processing, pages 55-69. Springer-Verlag, August 1995. 16

More Related