Let's get Started

The normal program flow of the WRF-NMM system is depicted below:

            

BUT, the successful compilation of the WPS and WPP programs DEPEND on the successful compilation of the WRF-NMM Model. Compilation of WPS and WPP depend on WRF because the programs share common routines, such as the WRF I/O API. Therefore, once you have the source code, you will first compile WRF, and then WPS.

To start , create a new working directory where you have enough space to download and build the code. e.g.,

mkdir WRF
cd WRF

Get Source Code

The source code for WRF and WPS is available from the download page:

http://www.dtcenter.org/wrf-nmm/users/downloads/index.php

NOTE: From the downloads page, new users will be asked to subscribe (it is free), while returning users must supply their email address before they can download the code again.

Download

    • the latest WRF tar file
    • the latest WPS tar file

Working Directory

    • create a working directory (mkdir WRF/)
    • Place both tar files you downloaded in your working directory

Unpack the Code

gunzip WRFV3.TAR.gz
tar -xvf WRFV3.TAR.gz
gunzip WPSV3.TAR.gz
tar -xvf WPSV3.TAR.gz

NOTE: The tar file names will contain the latest version number (not shown here).

These commands will create two new directories:

WRFV3/
WPS/