Sie sind auf Seite 1von 8

WRF ARW (Real Time Case) Installation Guide

Overview of the Document


1. Introduction
2. Software, Compilers and Library Package Requirement
3. Hardware and Platform Specification
4. Installation process
5. Some Notes
6. Thanks

1. Introduction

<This portion covers a brief introduction about: the real WRF ARW Model, its
Pre-processing stage, followed by Post Processing. Describe each case relative to the
Real Time Case Model.>

<Good figures to remember the model and its installation procedure are as
follows:

WPS
Pre Processing

WRF ARW
The Model

Post Processing

Model Dependency

<Put the chart describing the model installation flow here.>


2. Hardware, Platform Support Specification
Note: This chapter particularly talks about the hardware and platform specification of
my Fedora Box.

Hardware:
Physical Processors: 4
Logical Processors: 8
Architecture: 32bit Intel x86 SMP
Memory Model: -na-
Primary Memory: -na-

Platform:
Operating System: Linux based 32-bit OS, Fedora 8 Desktop version

3. Software, Compilers, Library Graphic Package Requirements

Software Packages
WRF3
Version: 3.1
Download:
http://www.mmm.ucar.edu/wrf/src/WRFV3.1.TAR.gz
Description: #2
http://www.mmm.ucar.edu/wrf/users/docs/user_guide_V3/contents.html

WPS
Version: 3.1
Download:
http://www.mmm.ucar.edu/wrf/src/WPSV3.1.TAR.gz
Description: #3
http://www.mmm.ucar.edu/wrf/users/docs/user_guide_V3/contents.html

MET (Optional)
Version: 2.0
Download:
http://www.dtcenter.org/met/users/downloads/MET_releases/METv2.0.20090416
.tar.gz
Description:
http://www.dtcenter.org/met/users/support/online_tutorial/METv2.0/index.php

Compilers
FORTRAN Compiler: gfortran
Version: 4.0.0
Download:
ftp://ftp.dti.ad.jp/pub/lang/gcc/releases/gcc-4.4.0/gcc-fortran-4.4.0.tar.gz
Description: GCC gfortran

C Compiler: gcc
Version: 4.4.0
Download:
ftp://ftp.dti.ad.jp/pub/lang/gcc/releases/gcc-4.4.0/gcc-4.4.0.tar.gz
Description: GNU Compiler Collection

Parallel Compilers: MPI / MPICH2 for Linux gcc


Version:
Download:
http://www.mcs.anl.gov/research/projects/mpich2/downloads/tarballs/1.2.1/mpich
2-1.2.1.tar.gz
Description:

Library Packages
NetCDF
Version: 3.6.3
Download:
http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-3.6.3.tar.gz
Description:
NetCDF (network Common Data Form) is a set of software libraries and
machine-independent data formats that support the creation, access, and sharing
of array-oriented scientific data.

JasPer
Version: 1.701.0
Download:
http://www.mmm.ucar.edu/wrf/src/wps_files/jasper-1.701.0.tar.gz
Description:
An implementation of the JPEG 2000 standard for "lossy" compression.

libPNG
Version: 1.2.12
Download:
http://www.mmm.ucar.edu/wrf/src/wps_files/libpng-1.2.12.tar.gz
Description:
Libraries for "lossless" compression.

Zlib
Version: 1.2.3
Download: http://www.mmm.ucar.edu/wrf/src/wps_files/zlib-1.2.3.tar.gz
Description: another compression library
Graphic Packages
Grads
Version: 2.0
Download: ftp://iges.org/grads/2.0/grads-2.0.a7.1-src.tar.gz
Description: The Grid Analysis and Display System (GrADS) is an interactive
desktop tool that is used for easy access, manipulation, and
visualization of earth science data.

NCL, NCAR Graphics Command Language


Version: 5.1.1
Download: http://ngwww.ucar.edu/download.html
Description: NCAR Graphics is a Fortran and C based software package
for scientific visualization
The NCAR Command Language (NCL) is an interpreted
language designed specifically for scientific data analysis and
visualization. NCL has robust file input and output: it can read and
write netCDF-3, netCDF-4 classic, HDF4, binary, and ASCII data,
and read HDF-EOS2, GRIB1, and GRIB2. The graphics are based
on NCAR Graphics.
4. Installation Process
Follow this Installation Instructions sequentially, one after other, don’t jump or skip
anything in between, else you will definitely end up with compilation/build errors that are
really consume your much precious and productive time.

1. Install the GNU-gcc and gcc-gfortran compiler


Please, refer to the installation steps mentioned here in the following web link.
http://gcc.gnu.org/install/
i) $tar –zxvf gcc-4.4.0.tar.gz
ii) cd to the extracted gcc directory
iii) ./configure –prefix=<dirname>
iv) make
v) make check
vi) make install

2. Install MPICH2 parallel compilers and make sure it works else do not use them at all.
<To do tonite Thursday 14th Jan 2010>

3. Install NetCDF library as its need by all the WRF ARW and WPS and Post Processing
parts.
i) $tar –zxvf netcdf-3.6.3.tar.gz
ii) cd netcdf-3.6.3
iii) ./configure CC=gcc FC=gfortran CXX=g++ --prefix=/home/keyur/wrf
iv) make
v) make check
vi) make install
vii) set appropriate variables in your .bashrc file
viii) make sure that netcdf works

4. Install the WRF ARW Model for Real Time Data Case
i) $tar –zxvf wrf3.tar.gz
ii) cd to wrf3/ directory
iii) ./configure
from the list of choices select 2, in my case for
Linux ix86, gfortran, gcc (smpar)#1
iv) $./compile em_real
v) cd to run/ directory, where you should find the following executables if
the compilation went successful.
ndown.exe, nup.exe, real.exe, tc.exe, wrf.exe
vi) set appropriate variables in your .bashrc file#4

5. Compile the JasPer-1.701.0 library


i) $tar –zxvf jasper-1.701.0.tar.gz
ii) cd to that extracted directory
iii) ./configure CC=gcc FC=gfortran --prefix=/home/keyur/wrf
iv) make
v) make install
vi) set appropriate variables in your .bashrc file#4
vii) make sure the it works

7. Compile the libPNG-1.2.12 library


i) tar –zxvf libpng-1.2.12.tar.gz
ii) cd to that extracted directory
iii) ./configure --prefix=/home/keyur/wrf
iv) make
v) make install
vi) set appropriate variables in your .bashrc file#4

8. Compile zlib-1.2.3 library


i) tar –zxvf zlib.tar.gz
ii) cd to the extracted directory
iii) ./configure --prefix=/home/keyur/wrf
iv) make
v) make install
vi) set appropriate variables in your .bashrc file#4

9. Compiling WPS
i) untar WPS
ii) cd to WPS/ directory
iii) ./configure
iv) Choose 14 based on my system settings#1
v) ./compile
vi) do $ls –ls *.exe you must get these executables, else something went wrong!
avg_tsfc.exe, calc_ecmwf.exe, gsprint.exe, g2print.exe, mod_levs.exe,
rd_intermediate.exe

10. Install Post Processing Software/Graphics Tool, Grads Sofware

*still to finish this one…


5. Some Notes
Extra useful and helpful information
#1
• serial means single processor
• smpar means Symmetric Multi-Processing/Shared Memory Parallel (OpenMP)
• dmpar means Distributed Memory Parallel (MPI)
• dm+sm means Distributed Memory with Shared Memory (for example, MPI
across nodes with OpenMP within a node)
• the second option is for nesting: 0 = no nesting, 1 = standard static nesting, 2 =
nesting with a prescribed set of moves, 3 = nesting that allows a domain to follow
a vortex (typhoon tracking)

#2
Web Tutorial for WRF
Users:http://www.mmm.ucar.edu/wrf/users/docs/user_guide_V3/contents.html

#3
WPS GUI: If you are interested in using a graphical user interface for WPS, please
visit http://wrfportal.org/DomainWizard.html

#4
Your .bashrc file should look like this:
# .bashrc

# Source global definitions


if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi

# ### init path variable here ###


export PATH=$PATH:$HOME/kbin:/home/keyur/mywrf/netcdf-
3.6.3:/home/keyur/mywrf/jasper-
1.701.0/bin:/home/keyur/mywrf/libpng-1.2.12/bin
# ### init path variable done ###

# ### set path for Libraries here ###


export
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/keyur/mywrf/netcdf-
3.6.3/lib:/home/keyur/mywrf/jasper-
1.701.0/lib:/home/keyur/mywrf/libpng-
1.2.12/lib:/home/keyur/mywrf/zlib-1.2.3/lib
# ### setpath for Libraries done ###

# ### set path for Include here ###


export INCLUDE=$INCLUDE:/home/keyur/mywrf/netcdf-
3.6.3/include:/home/keyur/mywrf/jasper-
1.701.0/include:/home/keyur/mywrf/libpng-
1.2.12/include:/home/keyur/mywrf/zlib-1.2.3/include
# ### set path for Include done ###
# ### set netcdf here ###
export NETCDF=/home/keyur/mywrf/netcdf-3.6.3
# ### set netcdf done ###

# ### set wrf here ###


export WRF_EM_CORE=1
# ### set wrf done ###

# ### set jasper here ###


export JASPERINC=/home/keyur/mywrf/jasper-1.701.0/include
export JASPERLIB=/home/keyur/mywrf/jasper-1.701.0/lib
# ### set jasper done ###

# User specific aliases and functions

Das könnte Ihnen auch gefallen