70 likes | 88 Views
This guide outlines the steps to adopt the Earth System Modeling Framework (ESMF) in the Community Climate System Model (CCSM). It provides instructions for converting data components to ESMF-compliant structures and verifying the integration using global integrals.
E N D
ESMF adoption in CCSM First steps: getting to ESMF-compliant data components. August 25, 2008
MCT data and infodata Driver • BaselineA for steps 1 and 2: • Use dead atm component • INFO_DEBUG set to 2 in driver namelist. • Values of global integrals in the coupler log file are the baseline. • Block arrows represent a data structure conversion, plain arrows information transfer. MCT interface MCT interface Dead Component MCT data and infodata Native data structures
First step: • Inside the dead component • 1. MCT to ESMF conversion. • 2. ESMF to MCT conversion. • During run-time: • Infodata is updated between components inside the driver. • Driver passes updated infodata to dead component. • Dead component updates specific values of infodata locally. • Verification: • Confirm global integrals are bit for bit against baselineA. MCT data and infodata Driver MCT interface MCT interface MCT data and infodata Dead Component ESMF data and infodata MCT data and infodata Native data structures
Second step: • Remove MCT to ESMF conversion in the dead component. • Put ESMF interface on the dead component. • MCT to ESMF conversion and update routines move to a comp converter that is called in a layer outside the ESMF interface, sits in new esmf_share code directory • During run-time: • Infodata is updated inside the driver. • Driver passes updated infodata to comp converter. • Comp converter updates specific values of infodata locally. • Verification: • Confirm global integrals are bit for bit against baselineA. MCT data and infodata Driver MCT interface comp converter ESMF interface Dead Component ESMF data and infodata MCT data and infodata Native data structures
MCT data and infodata Driver • BaselineB for steps 3 and 4: • Using data atm component • INFO_DEBUG set to 2 in driver namelist. • Values of global integrals are the baseline. • We are here. MCT interface MCT interface Data Component MCT data and infodata Native data structures
Third step: • Run with data components. • Put ESMF interface on the data component. • Use comp converter approach from second step. • During run-time: • Infodata is updated inside the driver. • Driver passes updated infodata to comp converter. • Comp converter updates specific values of infodata locally. • Verification: • Confirm global integrals are bit for bit against baselineB. MCT data and infodata Driver MCT interface comp converter ESMF interface ESMF data and infodata Data Component MCT data and infodata Native data structures
Fourth step: • Remove ESMF to MCT conversion inside the data component. • Do direct translation of ESMF to native data structures. • During run-time: • Infodata is updated inside the driver. • Driver passes updated infodata to comp converter. • Comp converter updates specific values of infodata locally. • Verification: • Confirm global integrals are bit for bit against baselineB. • At the end of this step the data atm will contain a valid ESMF component. MCT data and infodata Driver MCT interface comp converter ESMF interface ESMF data and infodata Data Component Native data structures