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

Slides:



Advertisements
Similar presentations
Jörg Uhlenbrock Universität Hannover Institut für Meteorologie und Klimatologie PALM-Seminar How to work with the user-interface-routine in.
Advertisements

Universität Hannover Institut für Meteorologie und Klimatologie Zingst PALM-Seminar July 2004 How to work with the user-interface-routine in PALM Contents:
Chapter 3 Basic Input/Output
Computer Architecture
CCSM4 Tony Craig NCAR Dec 5, Topics CCSM4 Overview CCSM4 Usage Adding new components Status of CCSM4 Development.
1/1/ / faculty of Electrical Engineering eindhoven university of technology Introduction Part 3: Input/output and co-processors dr.ir. A.C. Verschueren.
ESMF adoption in CCSM First steps: getting to ESMF-compliant data components. August 25, 2008.
Configuring ROMS for South of Java Kate Hedstrom, ARSC/UAF October, 2007.
Workflow Manager and General Tuning Tips. Topics to discuss… Working with Workflows Working with Tasks General Tuning Tips.
The Art of Climate Modeling Community Atmosphere Model (CAM) Tutorial Dani Bundy Coleman
RTSUG 04Feb2014: Beyond Directory Listings in SAS By: Jim Worley.
FINAL MPX DELIVERABLE Due when you schedule your interview and presentation.
CESM/RACM/RASM Update May 15, Since Nov, 2011 ccsm4_0_racm28:racm29:racm30 – vic parallelization – vic netcdf files – vic coupling mods and “273.15”
Computational Design of the CCSM Next Generation Coupler Tom Bettge Tony Craig Brian Kauffman National Center for Atmospheric Research Boulder, Colorado.
Getting Started with MATLAB 1. Fundamentals of MATLAB 2. Different Windows of MATLAB 1.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
Regional Models in CCSM CCSM/POP/ROMS: Regional Nesting and Coupling Jon Wolfe (CSEG) Mariana Vertenstein (CSEG) Don Stark (ESMF)
13-Nov-15 (1) CSC Computer Organization Lecture 7: Input/Output Organization.
ROMS as a Component of the Community Climate System Model (CCSM) Enrique Curchitser, IMCS/Rutgers Kate Hedstrom, ARSC/UAF Bill Large, Mariana Vertenstein,
The CCSM2.0 Quick Start Guide Lawrence Buja CCSM Software Engineering Group June
This document gives one example of how one might be able to “fix” a meteorological file, if one finds that there may be problems with the file. There are.
CCSM Portability and Performance, Software Engineering Challenges, and Future Targets Tony Craig National Center for Atmospheric Research Boulder, Colorado,
Lab 2 Parallel processing using NIOS II processors
NCEP ESMF GFS Global Spectral Forecast Model Weiyu Yang, Mike Young and Joe Sela ESMF Community Meeting MIT, Cambridge, MA July 21, 2005.
CCSM Performance, Successes and Challenges Tony Craig NCAR RIST Meeting March 12-14, 2002 Boulder, Colorado, USA.
SVN tag tiegcm1.92_r325 has been saved as an interim code to tiegcm1.93 We propose that this revision be tested and evaluated over a 2-week period, during.
Introduction to the Standard Running Environment (SRE) of the Integrating Model & Data Infrastructure Heinrich Widmann, M&D.
Threaded Programming Lecture 2: Introduction to OpenMP.
On the Road to a Sequential CCSM Robert Jacob, Argonne National Laboratory Including work by: Mariana Vertenstein (NCAR), Ray Loy (ANL), Tony Craig (NCAR)
Changing the CCSM setup: Active Ocean plus Data Models Nancy Norton
An Overview of ROMS Code Kate Hedstrom, ARSC April 2007.
Running CESM An overview
Report on POP & CICE of RACM components Jaromir Jakacki, IO PAS Boulder, CO, 2010.
Random Logic l Forum.NET l State Machine Mechanism Forum.NET 1 st Meeting ● December 27, 2005.
Climate System Component Studies via One-way Coupling Experiments VIC Offline Simulations of the Pan-Arctic Domain RACM Workshop University of Colorado.
Transmitter Interrupts Review of Receiver Interrupts How to Handle Transmitter Interrupts? Critical Regions Text: Tanenbaum
Architectures of Digital Information Systems Part 1: Interrupts and DMA dr.ir. A.C. Verschueren Eindhoven University of Technology Section of Digital.
VAB™ for INFINITY Tutorial
Chapter Objectives In this chapter, you will learn:
Progress on NA61/NA49 software virtualisation Dag Toppe Larsen Wrocław
Operating System.
CS 6560: Operating Systems Design
The Mach System Sri Ramkrishna.
MIPS I/O and Interrupt.
Computer Architecture
Coupled atmosphere-ocean simulation on hurricane forecast
Chapter 4 The Von Neumann Model
Chapter 4 The Von Neumann Model
MIPS I/O and Interrupt.
Initial Implementation of VIC within CCSM System through CPL7
Computer System Overview
Chapter 2: The Linux System Part 2
Programming Logic and Design Fourth Edition, Comprehensive
Processor Fundamentals
Introduction Paul Flynn
BIC 10503: COMPUTER ARCHITECTURE
ERRORS AND EXCEPTIONS Errors:
Transmitter Interrupts
Report on RACM – POP & CICE components
Architectural Support for OS
Operating Systems Tasks 04/04/2019.
The Stored Program Computer
DAT2343 LMC Simulator Usage © Alan T. Pinck / Algonquin College; 2003.
Extended submodel interface of echam6
Architectural Support for OS
Cygwin: getting the setup tool
More Loops Topics Relational Operators Logical Operators for Loops.
Testing & Security Dr. X.
Operating Systems Tasks 05/08/2019.
Chapter 4 The Von Neumann Model
Presentation transcript:

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

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

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

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)

Cpl directory structure

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.

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

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

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

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)

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------- 1 jost arctico 0 May 14 17:16 ../inputdata/cpl/cpl6/map_T42_to_gx1v3_aave_da_010709.nc -rw------- 1 jost arctico 0 May 14 17:16 ../inputdata/cpl/cpl6/map_T42_to_gx1v3_bilin_da_010710.nc -rw------- 1 jost arctico 0 May 14 17:17 ../inputdata/cpl/cpl6/map_gx1v3_to_T42_aave_da_010709.nc -rw------- 1 jost arctico 0 May 14 17:18 ../inputdata/cpl/cpl6/map_r05_to_gx1v3_roff_smooth_010718.nc

./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.080514-173323 Wed May 14 17:33:28 ADT 2008 /gpfsa/wrkdir/jost/test1/csm_share/csm_share.buildlib.080514-173323 - Determine if models must be rebuilt - Create model directories, build model executables, create namelist files, prestage input data

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

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