Presentation is loading. Please wait.

Presentation is loading. Please wait.

CPL7/CCSM4 (J.Jakacki/G.Jost)

Similar presentations


Presentation on theme: "CPL7/CCSM4 (J.Jakacki/G.Jost)"— Presentation transcript:

1 CPL7/CCSM4 (J.Jakacki/G.Jost)

2 Coupler and components (cpl5 and cpl7)
ACTIVE DATA DEAD STUB (only cpl7)

3 Main routine of the cpl5 Initialization of the all components (include MPI initialization) DO MAIN LOOP (until receiving stop signal) run n-steps of the k-model send data to the coupler wait for receiving new data write output data ENDDO Saving restart data and finalize all the components

4 Features: Each model saves (history, restart, diagnostics and so on) and reads own data except provided by the coupler (i.e. surface heat fluxes, momentum fluxes) Time synchronisation is done by different time steps of the each model, for example time steps: 3600/1200/400 (atm/ice/ocn) and by different number of processors Cpl5 has one executable file (cpl7 has 5)

5 Cpl directory structure

6 Changes required to add component model to cpl5
Change main program to routine (i.e. to atm_run, ocn_run, ice_run, lnd_run) Change MPI initialization (main initialization is done in the driver), you must create own communicator for the specific model Select variables for exchanging information with coupler Add shared variables to the model Add shared routines to the model (for example ice_to_coupler) Note: this process assumes the coupler can handle spatial resolution of new model component, if not coupler should be modified.

7 Changes required in cpl7
Couple of days we worked with it so far is not enough to write something about it.

8 Plan for our next steps:
Compile and test on Iceberg and Midnight cpl7 with dead models (suggested as a first step) Run the cpl7 with true grids (e.g. 50 km and 9 km) and data components Try to connect active model components

9 Current status of cpl7 Machine: Iceberg (ARSC) IBM Power 4 (bluice)
In root directory, create the files below. I copied the th e"blueice" files. ./scripts/ccsm_utils/Machines/Macros.AIX.iceberg ./scripts/ccsm_utils/Machines/env.ibm.iceberg ./scripts/ccsm_utils/Machines/pes_setup.iceberg ./scripts/ccsm_utils/Machines/l_archive.ibm.iceberg ./scripts/ccsm_utils/Machines/batch.ibm.iceberg ./scripts/ccsm_utils/Machines/run.ibm.iceberg

10 Create a test case by: ./create_newcase -case $WRK/test -mach iceberg -compset X -res T42_gx1v3 -skip_rundb TRUE Note: skip_rundb TRUE disables svn checkout This creates directory test1 Then run ./configure –mach iceberg in the new case directory (test1)

11 3.2. :LDFLAGS += -bdatapsize:64K -bstackpsize:64K -btextpsize:64K
no recognized by ld. Fix: eliminate this line 3.3. Input data files not found: Fix: Touch input data files to complite build process: iceberg1 14% ls -ltr ../inputdata/cpl/cpl6/* -rw jost arctico May 14 17:16 ../inputdata/cpl/cpl6/map_T42_to_gx1v3_aave_da_ nc -rw jost arctico May 14 17:16 ../inputdata/cpl/cpl6/map_T42_to_gx1v3_bilin_da_ nc -rw jost arctico May 14 17:17 ../inputdata/cpl/cpl6/map_gx1v3_to_T42_aave_da_ nc -rw jost arctico May 14 17:18 ../inputdata/cpl/cpl6/map_r05_to_gx1v3_roff_smooth_ nc

12 ./test1.iceberg.build Preparing T42_gx1v3 component models for execution - Create execution directories for atm,cpl,lnd,ice,ocn - Check validity of variables - Build flag (BLDTYPE) is TRUE - Check validity of configuration - Build Libraries: mct csm_share Wed May 14 17:33:23 ADT 2008 /gpfsa/wrkdir/jost/test1/mct/mct.buildlib Wed May 14 17:33:28 ADT 2008 /gpfsa/wrkdir/jost/test1/csm_share/csm_share.buildlib - Determine if models must be rebuilt - Create model directories, build model executables, create namelist files, prestage input data

13 This builds an executable ccsm.exe
Wed May 14 17:33:31 ADT 2008 /gpfsa/wrkdir/jost/test1/ccsm_se/cpl.build Wed May 14 17:33:32 ADT 2008 /gpfsa/wrkdir/jost/test1/ccsm_se/atm.build Wed May 14 17:33:32 ADT 2008 /gpfsa/wrkdir/jost/test1/ccsm_se/lnd.build Wed May 14 17:33:33 ADT 2008 /gpfsa/wrkdir/jost/test1/ccsm_se/ice.build Wed May 14 17:33:34 ADT 2008 /gpfsa/wrkdir/jost/test1/ccsm_se/ocn.build Wed May 14 17:33:35 ADT 2008 /gpfsa/wrkdir/jost/test1/ccsm_se/ccsm.build - CCSM BUILD HAS FINISHED SUCCESSFULLY This builds an executable ccsm.exe

14 http://hydrodata.iopan.gda.pl/pips3 password: popcice
Thank You password: popcice


Download ppt "CPL7/CCSM4 (J.Jakacki/G.Jost)"

Similar presentations


Ads by Google