190 likes | 333 Views
Putting the CO in COAMPS using the ESMF API. Steve Lowder (CSC) Naval Research Lab Marine Meteorology Division Monterey, CA. Joint Collaboration. NRL – Stennis Space Center, MS Oceanography Division. Project funding provided by the Battlespace Environments Institute.
E N D
Putting the CO in COAMPS using the ESMF API Steve Lowder (CSC) Naval Research Lab Marine Meteorology Division Monterey, CA
Joint Collaboration NRL – Stennis Space Center, MS Oceanography Division Project funding provided by the Battlespace Environments Institute
Current Coupling Script Control COAMPS Atmospheric Model Executable NCOM Ocean Model Executable FluxCoupling Executable Files Files Data Control
Future Coupling Driver with ESMF API COAMPS Atmospheric Model Component NCOM Ocean Model Component FluxCoupling Component Memory Memory states states Data ESMF Control Single executable
Driver with ESMF API Alternate Build Driver without ESMF API COAMPS Atmospheric Model Component NCOM Ocean Model Component FluxCoupling Component Memory Memory states states Data ESMF Control Single executable
Current Status Driver with ESMF API COAMPS Atmospheric Model Component NCOM Ocean Model Component FluxCoupling Component Memory • Init • Run • Finalize states Tim Campbell NRL Stennis • Init • Run • Finalize • Init • Run • Finalize Data ESMF Control
Latest Effort Driver with ESMF API Dummy Atmos Comp Dummy Ocean Comp Dummy Coupler Comp Memory Memory states states Initialization Component Architecture IO Checkpoint/restart Concurrency
Initialization Text editor GUI based markup language <model> …<grid> …</grid> </model> <forecast-start> … </forecast-start> Namelists ENV vars Namelists ESMF Config file Driver software NCOM Ocean Model Component COAMPS Atmospheric Model Component FluxCoupling Component
Driver Driver Driver Driver Driver Grid Comp Grid Comp Grid Comp Grid Comp Coupler Comp Coupler Comp Coupler Comp Coupler Comp Coupler Comp Coupler Comp Coupler Comp Coupler Comp Grid Comp Grid Comp Grid Comp Driver Driver Driver Component Architecture Atmos Tasks (2x2) Ocean Tasks (3x1) regrid
Driver Driver Driver Driver A Grid Comp A Grid Comp A Grid Comp A Grid Comp Derive Fields Derive Fields Derive Fields Derive Fields Coupler Comp Coupler Comp Coupler Comp Coupler Comp Driver Coupler Comp Coupler Comp Coupler Comp Coupler Comp O Grid Comp OGrid Comp O Grid Comp Driver Driver Driver Component Architecture Atmos Tasks (2x2) Ocean Tasks (3x1) regrid Derive new fields in parallel
Driver Driver Driver Driver A Grid Comp A Grid Comp A Grid Comp A Grid Comp Coupler Comp Coupler Comp Coupler Comp Coupler Comp Driver Coupler Comp Derive Regrid Coupler Comp Coupler Comp Coupler Comp Coupler Comp O Grid Comp O Grid Comp OGrid Comp Driver Driver Driver Component Architecture Atmos Tasks (2x2) Ocean Tasks (3x1) Redist Redist Derive & Regrd Derive new fields
Driver Driver Driver Driver A Grid Comp A Grid Comp A Grid Comp A Grid Comp Coupler Comp Coupler Comp Coupler Comp Coupler Comp Driver Coupler Comp Derive Regrid Coupler Comp Driver Coupler Comp IO or Post Coupler Comp Coupler Comp Coupler Comp O Grid Comp O Grid Comp OGrid Comp Driver Driver Driver Component Architecture Atmos Tasks (2x2) Ocean Tasks (3x1)
COAMPS Atmospheric Model Component Timing Driver with ESMF API • Call • per atmos timestep • or • per coupling interval
COAMPS Atmospheric Model Component Timing per timestep Driver with ESMF API per couple interval or Parent Gridded Atmos Comp COAMPS Atmospheric Model Component per atmos timestep
Performance • COAMPS alone - no significant change, +2% • Dynamic coupling will be faster • ESMF communication weights might help
Technology Adoption gulper nibbler
Putting the CO in COAMPS using the ESMF API Conclusion • The Naval Research Laboratory is actively involved in incorporating ESMF into COAMPS through the BEI • NRL MRY:COAMPS atmospheric model and flux coupler • NRL SSC:NRL Coastal Ocean Model (NCOM) • FY05 Work: • Constructing system design • Testing prototypes • Individual components to be finalized by the end of the year • FY06+ Plans: • Use ESMF components to establish two-way air/ocean coupling in COAMPS • Review design for performance improvements • Conduct two-way coupled experiments