Donald Stark National Center for Atmospheric Research (NCAR) The Developmental Testbed Center (DTC) 15 January, 2014 Building the HWRF Components.

Slides:



Advertisements
Similar presentations
Weather Research & Forecasting: A General Overview
Advertisements

WRF Modeling System V2.0 Overview
Mesoscale & Microscale Meteorological Division / NCAR WRF Modeling System “Short” Tutorial John Michalakes, Jimy Dudhia, Wei Wang, Cindy Bruyere, Michael.
This is the footer WRF Basics Weather Research and Forecasting.
14 January 2011 Upgrading Your Geant4 Release J. Perl 1 Upgrading Your Geant4 Release Joseph Perl, SLAC.
WWOSC 2014 Thursday, August 21, 2014 Montreal, Canada
This is the footer Running WRF on HECToR Ralph Burton, NCAS (Leeds) Alan Gadian, NCAS (Leeds) With thanks to Paul Connolly, Hector.
Software Installation, release 4.0 Geant4 Users’ Workshop Tutorial SLAC February 18-22, 2002 Takashi Sasaki, Gabriele Cosmo,
® IBM Software Group © 2003 IBM Corporation How to Download and Install RMC 7.5 David Trent RMC Product Manager.
NDT Tools Tutorial: How-To setup your own NDT server Rich Carlson Summer 04 Joint Tech July 19, 2004.
Software Installation The full set of lecture notes of this Geant4 Course is available at
Julie McEnery1 Installing the ScienceTools The release manager automatically compiles each release of the Science Tools, it creates a set of wrapper scripts.
The NCAR Command Language (NCL) Ethan Alpert Visualization and Enabling Technologies Section, SCD, NCAR.
Installing WPS and WRF Michael Duda1 and Wei Wang1
L. Bernardet NOAA ESRL Global Systems Division, Boulder CO University of Colorado CIRES, Boulder CO Developmental Testbed Center, Boulder, CO Sara Michelson.
Donald Stark National Center for Atmospheric Research (NCAR) The Developmental Testbed Center (DTC) Wednesday 29 June, 2011 GSI Fundamentals (1): Setup.
Donald Stark National Center for Atmospheric Research (NCAR) The Developmental Testbed Center (DTC) Thursday 13 August, 2015 Downloading and Building EnKF.
Introduction to the WRF Modeling System Wei Wang NCAR/MMM.
Software Tools and Processes Training and Discussion October 16, :00-4:30 p.m. Jim Willenbring.
Trilinos 101: Getting Started with Trilinos November 7, :30-9:30 a.m. Mike Heroux Jim Willenbring.
WRF Portal (A GUI Front End For WRF) WRF Domain Wizard (A GUI Front End For WPS) Presented by Jeff Smith January 18, 2007.
WRF Modeling System Overview
Apache Web Server v. 2.2 Reference Manual Chapter 1 Compiling and Installing.
How to run RSM on imtf4 As of 2010/8/2 by Kei Yoshimura (AORI)
Managing Software Patches 10/15/ Introducing Solaris OE Patches A patch contains collection of files and directories Patch replaces existing files.
WRF Domain Wizard The WRF Preprocessing System GUI Jeff S Smith Paula McCaslin and Mark Govett AMS 2008 Presentation.
How to configure, build and install Trilinos November 2, :30-9:30 a.m. Jim Willenbring Mike Phenow.
DTC HWRF Task AOP2009 & AOP /01/2009 Ligia Bernardet.
Ming Hu Developmental Testbed Center Introduction to Practice Session 2011 GSI Community Tutorial June 29-July 1, 2011, Boulder, CO.
Installing and Running the WPS Michael Duda 2006 WRF-ARW Summer Tutorial.
Mesoscale & Microscale Meteorological Division / NCAR WRF Modeling System Overview Jimy Dudhia.
L. Bernardet NOAA ESRL Global Systems Division, Boulder CO University of Colorado CIRES, Boulder CO Developmental Testbed Center, Boulder, CO Sara Michelson.
Setting up Cygwin Computer Organization I 1 May 2010 ©2010 McQuain Cygwin: getting the setup tool Free, almost complete UNIX environment emulation.
Ligia Bernardet, S. Bao, C. Harrop, D. Stark, T. Brown, and L. Carson Technology Transfer in Tropical Cyclone Numerical Modeling – The Role of the DTC.
The CCSM2.0 Quick Start Guide Lawrence Buja CCSM Software Engineering Group June
Introduction on WRF-Var Regression Test Ruifang Li MMM Phone:
J.P. Wellisch, CERN/EP/SFT SCRAM Information on SCRAM J.P. Wellisch, C. Williams, S. Ashby.
Getting Started with Trilinos October 14, :30-10:30 a.m. Jim Willenbring.
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.
Software in the Data Protector Architecture
Installing and Running the WPS Michael Duda 2006 WRF-ARW Summer Tutorial.
1 Setting Up & Running the WRF Standard Initialization Paula McCaslin John Smart, Brent Shaw and Matt Pyle NOAA / Forecast Systems Laboratory Sept 27,
How to configure, build and install Trilinos November 2, :30-9:30 a.m. Jim Willenbring.
GLite build and integration system Building and Packaging Robert HARAKALY
Debugging Lab Antonio Gómez-Iglesias Texas Advanced Computing Center.
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.
ScienceTools Linux Instructions Windows Instructions.
CACI Proprietary Information | Date 1 PD² v4.2 Increment 2 SR13 and FPDS Engine v3.5 Database Upgrade Name: Semarria Rosemond Title: Systems Analyst, Lead.
SimTK 1.0 Workshop Downloads Jack Middleton March 20, 2008.
 CSC 215 : Procedural Programming with C C Compilers.
CACI Proprietary Information | Date 1 Upgrading to webMethods Product Suite Name: Semarria Rosemond Title: Systems Analyst, Lead Date: December 8,
SWIM Project Meeting, Bloomington, IN September 2006 Working with the SWIM Code Repository David E. Bernholdt Oak Ridge National Laboratory
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:
Regional Climate Model Version 4.1 (RegCM4.1) Centre for Oceans, Rivers, Atmosphere and Land Sciences Indian Institute of Technology Kharagpur Kharagpur.
CSC 215 : Procedural Programming with C
WRFDA Regression Testing Suite
Installation of the ALICE Software
Install external command line softwares
SHARED MEMORY PROGRAMMING WITH OpenMP
National Scientific Library at Tbilisi State University
National Scientific Library at Tbilisi State University
Practice for WPS Master’s student at UC Davis
Practice for Real Cases
Software Installation
Software Installation, release 4.0
WRF Application in COAWST
Presentation transcript:

Donald Stark National Center for Atmospheric Research (NCAR) The Developmental Testbed Center (DTC) 15 January, 2014 Building the HWRF Components

Outline HWRF system components Where to get the codes User directory structure Unpacking, setup, & build Build system infrastructure Support

HWRF System Components WRF: Weather Research & Forecast Model WPS: WRF Preprocessor UPP: Unified Post-processor GSI: Gridpoint Statistical Interpolation HWRF-Utilities: HWRF utilities & Vortex Init POM-TC: Tropical Cyclone version of the Princeton Ocean Model. NCEP Coupler: Couples WRF & POMTC GFDL Vortex Tracker: Storm tracker for post processing

Downloading the code & setting up the directory structure

Downloading the Source Code All HWRF source code can be obtained from the WRF for Hurricanes web site:

Setting up the HWRF Directory 1. Select the links to download the source code tar files: hwrfv3.5a_hwrf-utilities.tar.gz hwrfv3.5a_pomtc.tar.gz hwrfv3.5a_gfdl-vortextracker.tar.gz hwrfv3.5a_ncep-coupler.tar.gz hwrfv3.5a_WRFV3.tar.gz hwrfv3.5a_WPSV3.tar.gz hwrfv3.5a_UPP.tar.gz hwrfv3.5a_GSI.tar.gz 2. Create a working directory and move the src into it: mkdir ${HOME}/HWRF/src/ mv *.gz ${HOME}/HWRF/src/ cd ${HOME}/HWRF/src/

Setting up the HWRF Directory 3. Move the tar files into the src directory created in Unpack the tar archives and clean up Uncompress the source code “gunzip *.tar.gz” Untar the source code archives Remove the tar files 5. The src directory will contain the following subdirectories: WRFV3 WPSV3 UPP GSI hwrf-utilities gfdl-vortextracker ncep-coupler pomtc

Setting up the HWRF Directory 6. Check the “Release Notes” and “Known Issues” for code fixes needed prior to trying to build.

Building the code

System Requirements C compiler Perl netCDF V3.6+ ( for WRF, WPS, UPP & HWRF-Utilities ) Linear algebra library (ESSL or LAPACK/BLAS) MPI V1.2+ FORTRAN 90/95 compiler IBM AIX (legacy support) PGI pgf90 Intel ifort Gfortran (limited support) GrADS (visualization) Grib 1 or 2 & wgrib (decode grib files)

Building the Components Code dependencies WRF WPS UPP GSI HWRF-Utilities HWRF Utilities POM-TC GFDL Vortex Tracker Order of build 1. WRF 2. WPS or UPP or GSI 3. HWRF-Utilities 4. Rest (POM-TC & Vortex Tracker & Coupler)

Building the Components Build sequence./clean –a Set necessary environment variables & library paths./configure Customize file configure.component if necessary./compile

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

Building WRF NMM Type cd./WRFV3 Type./clean –a Set library paths and system variables, for csh setenv HWRF 1 setenv NETCDF /path_to_netcdf_lib/ setenv WRF_NMM_CORE 1 setenv WRF_NMM_NEST 1 setenv WRFIO_NCD_LARGE_FILE_SUPPORT 1 For full details, see the WRF-NMM Users’ Guide nmm/users/downloads/index.php

Building WRF NMM ( continued ) Type./configure Multiple options for Linux For 64 bit PGI with gcc, select option 3 (dmpar) For 64 bit PGI with pgcc (Yellowstone), select option 7 (dmpar) For 64 bit PGI with pgcc (SGI MPT), select option 11 (dmpar) For 64 bit Intel, select option 19 (dmpar) etc. Creates configuration file configure.wrf To compile type (for csh)./compile nmm_real |& tee wrf.log Successful compilation will produce: Two executables, real_nmm.exe & wrf.exe, in /main

Building WRF Idealized Tropical Cyclone The Idealized Tropical Cyclone WRF creates two unique executables that can not not be exchanged with the standard WRF executables. Therefore we create a separate directory for the Idealized WRF. After you expand the file hwrfv3.5a_WRFV3.tar.gz, change the directory name from WRFV3 to WRFV3_idealized Type mv./WRFV3./WRFV3_idealized Type cd./WRFV3_idealized Set up the environment variables setenv HWRF 1 setenv NETCDF /path_to_netcdf_lib/ setenv WRF_NMM_CORE 1 setenv WRF_NMM_NEST 1 setenv IDEAL_NMM_TC 1 setenv WRFIO_NCD_LARGE_FILE_SUPPORT 1

Building WRF Idealized Tropical Cyclone (continued) Type./configure Select the appropriate build option for your platform Creates configuration file configure.wrf To compile type (for csh)./compile nmm_tropical_cyclone |& tee wrf.log Successful compilation will produce: Two executables, ideal.exe & wrf.exe, in /main NOTE: wrf.exe created by setting the IDEAL_NMM_TC flag is NOT interchangeable with any other NMM WRF executables.

Building HWRF utilities Type cd./hwrf-utilities Type./clean –a Set path to WRF (WRF_DIR) & check that netCDF library path NETCDF is set. setenv WRF_DIR ${HOME}/HWRF/src/WRFV3 Type./configure Select compiler used to build WRF in previous step. Creates file configure.hwrf For csh type./compile |& tee hwrf-util.log Successful compilation will produce: 10 NCEPlib libraries in hwrf-utilities/libs 24 executables in hwrf-utilities/exec

Building POMTC Type cd./pomtc Type./clean –a Set library paths for W3, SP, & SFCIO. setenv LIB_SFCIO_PATH ${HOME}/HWRF/src/hwrf-utilities/libs/ setenv LIB_SP_PATH ${HOME}/HWRF/src/hwrf-utilities/libs/ setenv LIB_W3_PATH ${HOME}/HWRF/src/hwrf-utilities/libs/ And for LINUX, the BLAS library setenv LIB_BLAS_PATH ${HOME}/HWRF/src/hwrf-utilities/libs/

Building POMTC (continued) Type./configure Select compiler used to build WRF. Creates configure file configure.pom For csh type./compile |& tee pomtc.log Successful compilation produces 13 executables in pomtc/ocean_exec.

Building GFDL Vortex Tracker Type cd./gfdl-vortextracker Type./clean –a Set library paths for W3, SP, & BACIO. setenv LIB_BACIO_PATH ${HOME}/HWRF/src/hwrf- utilities/libs/ setenv LIB_SP_PATH ${HOME}/HWRF/src/hwrf-utilities/libs/ setenv LIB_W3_PATH ${HOME}/HWRF/src/hwrf-utilities/libs/

Building GFDL Vortex Tracker Type./configure Select compiler used to build WRF. Creates configuration file configure.trk Type./compile |& tee tracker.log Successful compilation produces three executables: /trk_exec/hwrf_gettrk.exe /trk_exec/hwrf_tave.exe /trk_exec/hwrf_vint.exe

Building NCEP Coupler Type cd./ncep-coupler Type./clean –a Type./configure Select compiler used to build WRF. Creates configure file configure.cpl For csh type./compile |& tee cpl.log Successful compilation produces: /cpl_exec/hwrf_wm3c.exe

Building WPS Requires WRF, must be compiled first. Type cd./WPSV3 Type./clean –a Set the environment variable for the WRF path setenv WRF_DIR ${HOME}/HWRF/src/WRFV3 Type./configure Choose the compile Choose the serial option Choose if you want GRIB2 support or not Creates configuration file configure.wps For csh type./compile |& tee wps.log Successful compilation produces 3 executables: in WPS/ geogrid.exe, ungrib.exe, & metgrid.exe and a symbolic link to mod_levs.exe for use by the idealized tropical cyclone configuration

Building UPP Type cd./UPPV3 Type./clean –a Set library paths setenv WRF_DIR ${HOME}/HWRF/src/WRFV3 setenv HWRF 1 Type./configure Select serial option Creates configuration file configure.upp For csh type./compile |& tee upp.log Successful compilation produces 3 executables: In bin/ unipost.exe, ndate.exe, & copygb.exe.

Building GSI Type cd./GSI Type./clean –a Set library paths and system variables, for csh setenv HWRF 1 setenv WRF_DIR ${HOME}/HWRF/src/WRFV3 On some systems depending on the compiler setup (see Ch. 2 of the HWRF User’s Guide for Details) setenv LAPACK_PATH /location of LAPACK library/

Building GSI (continued) Type./configure Select compiler used to build WRF in previous step. Creates file configure.gsi For csh type./compile |& tee gsi.log Successful compilation will produce: GSI/run/gsi.exe util/test/ssrc.exe

Build Infrastructure

Uses DTC Build system based on WRF’s. /arch directory contains rules & scripts for build. /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.xxx; contains info on compiler, MPI, & paths../compile script to compile executable(s).

Summary & Support

Summary Download the tar files from the HWRF site. Don’t mix components from different releases. Build components in proper order i.e. WRF before HWRF-Utilities, WPS, UPP, & GSI. i.e. HWRF-Utilities before POM-TC, coupler, & Vortex Tracker. Set necessary environment paths before running configure. When all else fails, read the Users’ Guide.

Support For more detailed information on installation, please see: HWRF Users’ Guide WRF NMM Users’ Guide GSI User’s Guide For further assistance contact: