Donald Stark National Center for Atmospheric Research (NCAR) The Developmental Testbed Center (DTC) Wednesday 29 June, 2011 GSI Fundamentals (1): Setup.

Slides:



Advertisements
Similar presentations
Configuration management
Advertisements

Configuration management
SMiLE Lehrstuhl für Betriebssysteme SCI Low-level programming Lab-Session Joachim Worringen Lehrstuhl für Betriebssysteme RWTH Aachen Martin Schulz Lehrstuhl.
WRF Modeling System V2.0 Overview
CHyM tutorial Marco Verdecchia – Trieste, September 8/9, 2011.
Hui Shao Developmental Testbed Center GSI: Code Management and Transitions between Research and Operations 2011 Summer Community GSI Tutorial, June 29-July.
DTC AOP GSI October 1, FY09 Funding Resource/Tasks AFWA (February January 2010): – GSI code management and support (1.1FTE)
Guide To UNIX Using Linux Third Edition
Linux+ Guide to Linux Certification, Third Edition Chapter 11 Compression, System Backup, and Software Installation.
NDT Tools Tutorial: How-To setup your own NDT server Rich Carlson Summer 04 Joint Tech July 19, 2004.
Julie McEnery1 Installing the ScienceTools The release manager automatically compiles each release of the Science Tools, it creates a set of wrapper scripts.
Linux Operations and Administration
TrendReader Standard 2 This generation of TrendReader Standard software utilizes the more familiar Windows format (“tree”) views of functions and file.
IBM Software Group AIM Enterprise Platform Software IBM z/Transaction Processing Facility Enterprise Edition © IBM Corporation 2005 TPF Users Group.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Characterizing the Existing Network Designing and Supporting Computer Networks.
Installing WPS and WRF Michael Duda1 and Wei Wang1
Linux+ Guide to Linux Certification
Apache Server The Apache Server Apache is a WWW server that implements the HTTP protocol. Apache runs as a daemon. This means that it is a resident.
Introduction to Shell Script Programming
Project Source Code Structure and Build Process ● Remember consistency matters as source code structure, build process, and release processes are all intertwined.
Donald Stark National Center for Atmospheric Research (NCAR) The Developmental Testbed Center (DTC) Thursday 13 August, 2015 Downloading and Building EnKF.
Kathryn Newman * and Ming Hu ** Developmental Testbed Center * National Center for Atmospheric Research ** NOAA/ESRL/Global System Division EnKF Fundamentals.
Software Tools and Processes Training and Discussion October 16, :00-4:30 p.m. Jim Willenbring.
AQS Web Quick Reference Guide Changing Raw Data Values Using Maintenance 1. From Main Menu, click Maintenance, Sample Values, Raw Data 2. Enter monitor.
Ming Hu and Hui Shao Developmental Testbed Center GSI Fundamentals (2) Run and Namelist 2011 GSI Community Tutorial June 29-July 1, 2011, Boulder, CO.
Trilinos 101: Getting Started with Trilinos November 7, :30-9:30 a.m. Mike Heroux Jim Willenbring.
SchwartzGBIF Nodes III29 April 2003 DiGIR Portal Installation And Configuration.
I.Boulder Community GSI Code Repository II.GSI Regression Test Suite III.GSI Code Release IV.GSI Community Support V.Collaborative Efforts.
Apache Web Server v. 2.2 Reference Manual Chapter 1 Compiling and Installing.
Introduction Use of makefiles to manage the build process Declarative, imperative and relational rules Environment variables, phony targets, automatic.
N ATIONAL E NERGY R ESEARCH S CIENTIFIC C OMPUTING C ENTER 1 Porting from the Cray T3E to the IBM SP Jonathan Carter NERSC User Services.
How to run RSM on imtf4 As of 2010/8/2 by Kei Yoshimura (AORI)
1 What is a Kernel The kernel of any operating system is the core of all the system’s software. The only thing more fundamental than the kernel is the.
Tutorial build Main ideas –Reuse as much previously obtained configuration information as possible: from Babel, cca-spec-babel, etc. –Extract all irrelevant.
NA-MIC National Alliance for Medical Image Computing Slicer Building and Deployment Steve Pieper, PhD.
How to configure, build and install Trilinos November 2, :30-9:30 a.m. Jim Willenbring Mike Phenow.
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy’s National Nuclear.
Kathryn Newman Ming Hu, and Chunhua Zhou EnKF Fundamentals (2b): Applications Developmental Testbed Center (DTC) 2015 EnKF Community Tutorial August 13-14,
Connect. Communicate. Collaborate The Installation of RRD Measurement Archive (MA) Roman Łapacz, PSNC 27 th September, 2006 SEEREN2 Summer School, Heraklion.
Ming Hu Developmental Testbed Center Introduction to Practice Session 2011 GSI Community Tutorial June 29-July 1, 2011, Boulder, CO.
ARGONNE NATIONAL LABORATORY Climate Modeling on the Jazz Linux Cluster at ANL John Taylor Mathematics and Computer Science & Environmental Research Divisions.
Installing and Running the WPS Michael Duda 2006 WRF-ARW Summer Tutorial.
Donald Stark National Center for Atmospheric Research (NCAR) The Developmental Testbed Center (DTC) 15 January, 2014 Building the HWRF Components.
Paris package: practical aspects Installation / presentation To run a simulation Analysis To add a new module to Paris Installation / presentation To run.
The CCSM2.0 Quick Start Guide Lawrence Buja CCSM Software Engineering Group June
Track Short Course: TrackRT Installation Thomas Herring, MIT Room A
22-24 Feb 05 Workshop DKRZ / M&D Stephanie Legutke Introduction to the Standard Compile Environment (SCE) of the Integrated Model & Data Infrastructure.
Test Specifications A Specification System for Multi-Platform Test Suite Configuration, Build, and Execution Greg Cooksey.
Dissecting the Windows CE Build Process James Y. Wilson Principal Engineer, Windows Embedded MVP CalAmp, Inc. James Y. Wilson Principal Engineer, Windows.
NCEP ESMF GFS Global Spectral Forecast Model Weiyu Yang, Mike Young and Joe Sela ESMF Community Meeting MIT, Cambridge, MA July 21, 2005.
GLite build and integration system Building and Packaging Robert HARAKALY
Getting Started with Trilinos October 14, :30-10:30 a.m. Jim Willenbring.
® IBM Software Group © 2007 IBM Corporation Module 1: Getting Started with Rational Software Architect Essentials of Modeling with IBM Rational Software.
Running CESM An overview
Toward GSI Community Code Louisa Nance, Ming Hu, Hui Shao, Laurie Carson, Hans Huang.
Yannick Patois - Datagrid Software Repository Presentation - March, n° 1 Datagrid Software Repository Presentation CVS, packages and automatic.
® IBM Software Group © 2006 IBM Corporation Rational Asset Manager v7.2 Using Scripting Tutorial for using command line and scripting using Ant Tasks Carlos.
Installing and Running the WPS Michael Duda 2006 WRF-ARW Summer Tutorial.
Slide 1 Running NEMO at ECMWF Slide 1 NEMO under Perforce at ECMWF Kristian S. Mogensen Last revised:
How to configure, build and install Trilinos November 2, :30-9:30 a.m. Jim Willenbring.
DET Module 1 Ensemble Configuration Linda Wharton 1, Paula McCaslin 1, Tara Jensen 2 1 NOAA/GSD, Boulder, CO 2 NCAR/RAL, Boulder, CO 3/8/2016.
Hernán García CeCalcULA Universidad de los Andes.
CACI Proprietary Information | Date 1 PD² SR13 Client Upgrade Name: Semarria Rosemond Title: Systems Analyst, Lead Date: December 8, 2011.
Building and Using Libraries CISC/QCSE 810. Libraries libraries exist for many common scientific tasks linear algebra – BLAS/ATLAS, LAPACK optimization.
Installation and environment variables. Simple Installation 1 The latest sources can always be obtained from the CDAT website:
Troubleshooting Directories and Files Debugging
Introduction to Metview
Connect:Direct for UNIX v4.2.x Silent Installation
The Use of AMET and Automated Scripts for Model Evaluation
Presentation transcript:

Donald Stark National Center for Atmospheric Research (NCAR) The Developmental Testbed Center (DTC) Wednesday 29 June, 2011 GSI Fundamentals (1): Setup and Compilation 2011 GSI Summer Tutorial, Boulder, CO

Outline GSI fundamentals (1): Setup and Compilation Where to get the codes Directory structure Unpacking, setup, & build Porting build to new platforms GSI fundamentals (2): Run and Namelist GSI fundamentals (3): Diagnostics GSI fundamentals (4): Applications This talk is tailored based on Chapter 2 of the GSI User’s Guide for Community Release V3.0

Downloading the Source Code All GSI source code can be obtained from the web site:

Downloading Source code

System Requirements C compiler Perl netCDF V3.6+ (Version 3 series only) Linear algebra library (ESSL or LAPACK/BLAS) MPI V1.2+ FORTRAN 90/95 compiler IBM AIX PGI pgf90 Intel ifort

Unpack Downloads Two tar files comGSI_v3.tar.gz REL Coeffs.JCSDA_CRTM_forGSI.tar.gz Unpack source code & CRTM coefficients gunzip *.tar.gz tar –xvf comGSI_v3.tar tar –xvf REL Coeffs.JCSDA_CRTM_forGSI.tar

Tour of the Directory Structure Inside the top level of the comGSI_v3/ directory are four scripts and five directories. arch/ clean compile configure fix/ makefile run/ src/ util/ 7

Build Infrastructure Uses DTC Build system /arch directory contains rules & scripts for build. /arch/Config.pl perl script for parsing system info & combining together configure.gsi file. /arch/preamble: uniform requirements for the code, such as word size, etc. /arch/configure.defaults default platform settings /arch/postamble: standard make rules & dependencies./clean script to clean the build../configure script to create configuration file configure.gsi; contains info on compiler, MPI, & paths../compile script to compile executable../makefile top level makefile for build.

The rest fix/ directory containing fixed parameter files Background error covariance and observation errors CRTM coefficients – moved to a separate directory due to size Observation data control files BUFR tables for Prepbufr files run/ run_gsi.ksh sample run script gsi.exe executable src/ source directory libs/ supplemental library source code main/ main GSI source code util/ additional community tools 9

Supplemental Libraries (libs/) bacio/ NCEP BACIO library bufr/ NCEP BUFR library crtm_jcsda_2.0/ JCSDA Commuity Radiative Transfer Model gfsio/ Unformatted Fortran record for GFS I/O gsdcloud/ GSD Cloud Analysis nemsio/ Support for NEMS I/O sfcio/ NCEP GFS surface file I/O module sigio/ NCEP GFS atmospheric file I/O module sp/ NCEP spectral-grid transforms (global application only) w3/ NCEP W3 library (date/time manipulation, GRIB) 10

Building GSI 11

Building GSI Build sequence./clean –a Set library paths setenv WRF_DIR Location_of_WRF_directory setenv LAPACK (typically only needed for Linux w/Intel)../configure Customize file configure.gsi if necessary./compile Successful compilation will produce: comGSI_v3/run/gsi.exe

Clean Compilation To remove all object files and executables, type: clean To remove all built files, including the configure file, type: clean –a A clean all needed if: Compilation failed Want to change configuration file

Diagnosing Build Issues How the build system works What to do when the build fails 14

GSI Build System./src/ makefile src/libs/ makefile src/libs/lib1/ makefile src/libs/lib2/ makefile src/main/ makefile_DTC./makefile./configure./configure.gsi Configuration stage Compiling stage Run./configure Generate local compile options Saves values in configure.gsi Run./compile Runs top level./makefile Which in turn runs./src/makefile, Which runs./src/main/makefile

How the build works Running./configure creates file configure.gsi by: Running the Perl script /arch/Config.pl Script Config.pl queries the system & selects the appropriate entry from /arch/configure.defaults Results are saved to configure.gsi. 16

Fixing Build Issues Most build problems are due to non-standard instillation of one of the following: compiler, mpi, or support libraries. Edit paths in the file configure.gsi to correctly reflect your system. When build succeeds, modify file arch/configure.defaults to include new settings. Report issues to gsi_help so they can be addressed in next release. 17

Fixing Build Issues (continued) The name or location of your LAPACK library may differ from what the build assumes. See MYLIBsys You may also want to use different Fortran compiler flags: See FFLAGS_* You may also want to use different C compiler flags: See CFLAGS You may have a slightly different name for your compilers: See SFC, SF90, and SCC to specify your Fortran, Fortran90+, and C compilers. See the User’s Guide for details 18

19 configure.gsi

20 Sample configure file for Linux with PGI compiler. COREDIR – path to src directory SFC, SF90, SCC – compilers FFLAGS_DEFAULT, FFLAGS – fortran flags for src code configure.gsi

21 configure.gsi

22 Base Fortran flags

configure.gsi 23 Separate Fortran and C flags for supplemental libraries.

24 configure.gsi

25 Library Paths: The main library path of interest is the one to the LAPACK and BLAS libraries. Common issues are that library names are incorrect library paths are incorrect or both Check that your system has libraries in the specified path and with the specified names.

Support For more detailed information on installation, please see: GSI User’s Guide, chapter 2 For further assistance contact: