The CCSM2.0 Quick Start Guide Lawrence Buja CCSM Software Engineering Group June 29 2002.

Slides:



Advertisements
Similar presentations
ATMO5332 WRF-ARW Tutorial 0.01”.
Advertisements

Building CCSM2.0 Brian Kauffman CCSM Software Engineering Group
NCAS Unified Model Introduction Part 1b: Running the UM University of Reading, 3-5 December 2014.
9.0 EMBEDDED SOFTWARE DEVELOPMENT TOOLS 9.1 Introduction Application programs are typically developed, compiled, and run on host system Embedded programs.
1 OBJECTIVES To generate a web-based system enables to assemble model configurations. to submit these configurations on different.
Running CCSM Tony Craig CCSM Software Engineering Group
CCSM Testing Status Tony Craig Lawrence Buja Wei Yu CCSM SEWG Meeting Feb 5, 2003.
OpenVMS System Management A different perspective by Andy Park TrueBit b.v.
This is the footer Running WRF on HECToR Ralph Burton, NCAS (Leeds) Alan Gadian, NCAS (Leeds) With thanks to Paul Connolly, Hector.
Israel Cluster Structure. Outline The local cluster Local analysis on the cluster –Program location –Storage –Interactive analysis & batch analysis –PBS.
Linux+ Guide to Linux Certification Chapter 12 Compression, System Backup, and Software Installation.
Linux+ Guide to Linux Certification, Third Edition Chapter 11 Compression, System Backup, and Software Installation.
Java Servlets and JSP.
Introduction to The Linaro Toolchain Embedded Processors Training Multicore Software Applications Literature Number: SPRPXXX 1.
1 Introduction to Tool chains. 2 Tool chain for the Sitara Family (but it is true for other ARM based devices as well) A tool chain is a collection of.
Chapter 11 Compression, System Backup, and Software Installation.
Lesson 4 Computer Software
Introduction to Perl Part III By: Cedric Notredame Adapted from (BT McInnes)
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
Computer Systems Week 10: File Organisation Alma Whitfield.
Linux+ Guide to Linux Certification
© Janice Regan, CMPT 128, Jan CMPT 128 Introduction to Computing Science for Engineering Students Creating a program.
Donald Stark National Center for Atmospheric Research (NCAR) The Developmental Testbed Center (DTC) Wednesday 29 June, 2011 GSI Fundamentals (1): Setup.
Introduction to Advanced UNIX March Kevin Keay.
The Pipeline Processing Framework LSST Applications Meeting IPAC Feb. 19, 2008 Raymond Plante National Center for Supercomputing Applications.
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”
Linux Operations and Administration
3rd June 2004 CDF Grid SAM:Metadata and Middleware Components Mòrag Burgon-Lyon University of Glasgow.
Compiled Matlab on Condor: a recipe 30 th October 2007 Clare Giacomantonio.
Cygwin Linux for Windows Desktop Paul Stuyvesant.
Linux+ Guide to Linux Certification Chapter Thirteen Compression, System Back-Up, and Software Installation.
Day 7 Installing Software RPM tar, mtools make, ssh.
Module 2 - The File System
Transferring VMS SAS/SPSS Data to UNIX Jeff Hayes Social Science Computing Co-op February 26, 1999.
Invitation to Computer Science 5 th Edition Chapter 6 An Introduction to System Software and Virtual Machine s.
CESM/ESMF Progress Report Mariana Vertenstein NCAR Earth System Laboratory CESM Software Engineering Group (CSEG) NCAR is sponsored by the National Science.
PetaApps: Update on software engineering and performance J. Dennis M. Vertenstein N. Hearn.
Parallel Programming on the SGI Origin2000 With thanks to Igor Zacharov / Benoit Marchand, SGI Taub Computer Center Technion Moshe Goldberg,
Managing SX.e and TWL with MARC and Scripts Jeremiah Curtis
Installing and Running the WPS Michael Duda 2006 WRF-ARW Summer Tutorial.
Regional Models in CCSM CCSM/POP/ROMS: Regional Nesting and Coupling Jon Wolfe (CSEG) Mariana Vertenstein (CSEG) Don Stark (ESMF)
Introduction to Perl Part III By: Bridget Thomson McInnes 6 Feburary 2004.
Namelist and Code Modifications
Adrianne Middleton National Center for Atmospheric Research Boulder, Colorado CAM T340- Jim Hack Running the Community Climate Simulation Model (CCSM)
Donald Stark National Center for Atmospheric Research (NCAR) The Developmental Testbed Center (DTC) 15 January, 2014 Building the HWRF Components.
CCSM Portability and Performance, Software Engineering Challenges, and Future Targets Tony Craig National Center for Atmospheric Research Boulder, Colorado,
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.
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)
A.Abhari CPS1251 Topic 1: Introduction to Computers Computer Hardware Computer components Connecting Computers Computer Software Operating System (OS)
Changing the CCSM setup: Active Ocean plus Data Models Nancy Norton
Running CESM An overview
Installing and Running the WPS Michael Duda 2006 WRF-ARW Summer Tutorial.
Using the CCSM GUI Mariana Vertenstein CCSM Software Engineering Group
CCSM Software Engineering Update Tony Craig CCSM SEWG Meeting Feb 4, 2003.
1 Project 7: Looping. Project 7 For this project you will produce two Java programs. The requirements for each program will be described separately on.
CCJ introduction RIKEN Nishina Center Kohei Shoji.
Hernán García CeCalcULA Universidad de los Andes.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Operating Systems Overview: Using Hardware.
+ Auto-Testing Code for Teachers & Beginning Programmers Dr. Ronald K. Smith Graceland University.
C Copyright © 2006, Oracle. All rights reserved. Oracle Secure Backup Additional Installation Topics.
Overview of the CCSM CCSM Software Engineering Group June
Computer Science 2 What’s this course all about?
Haiyan Meng and Douglas Thain
Tivoli Common Reporting v1.2 Overview
9.0 EMBEDDED SOFTWARE DEVELOPMENT TOOLS
CPL7/CCSM4 (J.Jakacki/G.Jost)
Quick Tutorial on MPICH for NIC-Cluster
Presentation transcript:

The CCSM2.0 Quick Start Guide Lawrence Buja CCSM Software Engineering Group June

CCSM2.0 Quick Start Guide What is needed to run CCSM2? Downloading the CCSM2.0 distribution The CCSM source code Input datasets Building the CCSM Running the CCSM CCSM output data

What is needed to run CCSM2? OS: IBM AIX or SGI IRIX64 Compilers: Fortran 90, C Tools: gunzip, gnumake, Perl5, Perl/Tk Permanent & Temporary disk space Libraries: MPI and netCDF Input data : 0.2 GB for T31_gx3 grid, 0.8 GB for T42_gx1v3 grid CCSM2 source code: 35 MB

The CCSM2.0 distribution CCSM2.0 is available via the web from: ccsm2.0.tar.gz CCSM2.0 source codes ccsm2.0.inputdata.T42_gx1v3.tar input data for T42_gx1v3 resolution ccsm2.0.inputdata.T31_gx3.tar input data for T31_gx3 resolution ccsm2.0.inputdata.T62.tar latm data for T62 resolution ccsm2.0.inputdata.CLM_SPINUP_FILES.tar are CLM datasets gunzip -c ccsm2.0.tar.gz | tar -xf - tar -xf ccsm2.0.inputdata.T42_gx1v3.tar

The CCSM distribution $HOME/ ccsm2.0/ $CSMROOT /fs/$LOGNAME/ inputdata/ $CSMDATA ccsm2.0.tar.gz (35 Mbytes) Scripts & Model Code ccsm2.0.inputdata.T42_gx1v3.tar (.8 Gbytes ) Initial data

The CCSM source code: inputdata/

The CCSM source code: Top Level ($CSMROOT)

The CCSM source code: models/

The CCSM source code: scripts/ test.a1.run cpl.setup.csh atm.setup.csh ocn.setup.csh ice.setup.csh lnd.setup.csh datm.setup.csh docn.setup.csh dice.setup.csh dlnd.setup.csh ccsm_archive test.a1.har ccsm_checkenvs ccsm_cpdata ccsm_getfile ccsm_getinput ccsm_getrestart ccsm_msmkdir ccsm_msread ccsm_mswrite ccsm_splitdf modules.AIX.seaborg modules.IRIX64.nirvana modules.IRIX64.ute test.a1.mods.* ccsm_gui.pl

Building the CCSM Three levels of c-shell scripts are used: –Run script builds & runs CCSM ( i.e. test.a1.run ) –Define the CCSM environment –Run each component setup script –Execute all components simultaneously –Setup scripts builds each model ( i.e. ice.setup.csh ) –Position any input data needed by that component –Generate the component's namelist input file –Build the component executable –Utility tools ( i.e. ccsm_getinput )

Building the CCSM A sample run script (test.a1.run) is distributed. Functional summary of test.a1.run setenv A abc setenv B xyz foreach i (cpl atm ocn ice lnd) $i.setup.csh end mpirun cpl atm ocn ice lnd exit Loop over setup scripts Define environment Run CCSM

Building the CCSM: $CASE $CASE identifies a CCSM run. The sample $CASE is test.a1, $CASE for the CCSM control run is b To define a new $CASE –Copy all of test.a1/ into $CASE/ –rename test.a1.run to $CASE.run –Modify the main run script –CASE CASESTR CSMROOT CSMDATA EXEROOT ARCROOT –$HOME/ccsm2.0/scripts/$CASE/$CASE.run submitted to the batch queue.

Building the CCSM $HOME/ccsm2.0/ $CSMROOT /fs/$LOGANME/inputdata/ $CSMDATA Scripts & Model Code Initial data /ptmp/$LOGNAME/$CASE $EXEROOT Large model build/execute directories doc/models/scripts/

Methods for starting the CCSM New CCSM case is started as either a startup, hybrid or branch run, depending on the science requirements. startup:new run from arbitrary input files hybrid:new run from initial or restart files branch:new run from restart files continue: extend an existing run exactly

General concepts: Exact Restarts Wall-clock limits in the batch queues typically restrict runs to a finite length, usually 1-3 model years. At specified intervals, restart and initial files will be created by all components Runs are extended as "continue" runs. A continued run must give exactly the same results as if the run had never stopped.

Are your results reproducible? Factors: Any change in machine architecture Any change in math libraries Running on different number of processors Changes you've made to the code Additional variables added to model not properly written to restart files Exact Restarts

Changing the code Frozen Code Keep the CCSM2.0 model code "frozen" To introduce code changes: copy specific model files to new directory modify the new copies of model code tell the model setup scripts to get the modified code from the new directory first, then get rest of unchanged model code from the "frozen" version This method encapsulates modified code Use same "frozen code" for different work

Changing the code Three levels of change: 1. "Bit-for-bit" (no change to answers) adding/subtracting output 2. Machine-level (answers similar at the bit level) Changes in operation order Changes in math libraries changes in compiler options/flags/versions 3. Algorithm changes (answers change) Different parameterization Rerun control integration

atm ocn ice lnd Coupler CCSM Components

CCSM2: Performance OCN ICE LND ATM CPL secs 53 secs/day total (~130 years/month) NERSC T42/gx1v3 (128Pes) Critical path

Output log files The printed output from each CCSM component is saved in a "log file" A coordinated timestamp links filenames $LID is of the form YYMMDD-hhmmss, where YYMMDD are the Year, Month, Day and hhmmss are hour, minute and second that the run began (i.e. $EXEROOT/ocn/ocn.log ).

History and restart output data Default: netCDF monthly averaged history files for all components in netCDF format. CCSM2.0 also writes out binary restart files from all components at regular intervals. The total output volume of the model output can vary greatly depending upon the output frequencies and options selected.

Tape Archive Device cpl atm ocn ice lnd 1.4 Gbytes 0.7 Gbytes 4.1 Gbytes.6 Gbytes.4 Gbytes disk Tape Archive Devices 7.4 Gbytes/year CCSM Yearly Output (b20.014)

Getting help forum