HWRF Online Tutorial V3.9a | Source Code

Acquire The Source Code

For this tutorial, all the source code tar files are available on NCAR's Cheyenne.
The source code for HWRF is also available on the HWRF User's Website from the Download page:

https://dtcenter.org/community-code/hurricane-wrf-hwrf/download

NOTE: New users must first register before downloading the source code. Returning users need only provide their registration email address.

Compilation of the WRFV3WPSUPP and GSI can take nearly an hour on Cheyenne. In the interest of time, these components are pre-compiled for this tutorial. However, users will need to compile hwrf-utilitiespomtcncep-coupler and gfdl-vortextracker on their own. A separate exercise is provided to compile all the components on Cheyenne. A detailed discussion of the build and installation process is in Chapter 2 of the HWRF Users' Guide.

The flow diagram shows the compilation dependency for the different components of the HWRF system.

To build and install the HWRF system, you need to first be logged on to Cheyenne and follow the steps listed below.

 

Set up HWRF directories

The source code for each of the HWRF components is available on a shared disk on Cheyenne:

  • /glade/p/ral/jnt/HWRF/HWRF_v3.9a_tut_codes/

If you look in this directory you will see ten files ending with tar.gz. You will need to unpack nine of these tar.gz files to run the fully-coupled HWRF system. The HWRF_v3.9a_WRFV3_Idealized.tar.gz file is used to run an Idealized case which is provided as an additional exercise. Untarring the files will be done with the GNU tar command.

 

Earlier, we defined the SCRATCH environment variable as the path to your HWRF installation directory. You will reference this throughout the tutorial. Create and change directory to ${SCRATCH} and untar the HWRF_v3.9a_hwrfrun.tar.gz file by typing:

mkdir ${SCRATCH}
cd ${SCRATCH}
tar -xzvf /glade/p/ral/jnt/HWRF/HWRF_v3.9a_tut_codes/HWRF_v3.9a_hwrfrun.tar.gz

Once completed, change directory to ${SCRATCH}/hwrfrun/sorc and unpack the remaining tar files by typing:

cd ${SCRATCH}/hwrfrun/sorc
tar -xzvf /glade/p/ral/jnt/HWRF/HWRF_v3.9a_tut_codes/HWRF_v3.9a_WRFV3.tar.gz
tar -xzvf /glade/p/ral/jnt/HWRF/HWRF_v3.9a_tut_codes/HWRF_v3.9a_WPSV3.tar.gz
tar -xzvf /glade/p/ral/jnt/HWRF/HWRF_v3.9a_tut_codes/HWRF_v3.9a_UPP.tar.gz
tar -xzvf /glade/p/ral/jnt/HWRF/HWRF_v3.9a_tut_codes/HWRF_v3.9a_GSI.tar.gz
tar -xzvf /glade/p/ral/jnt/HWRF/HWRF_v3.9a_tut_codes/HWRF_v3.9a_hwrf-utilities.tar.gz
tar -xzvf /glade/p/ral/jnt/HWRF/HWRF_v3.9a_tut_codes/HWRF_v3.9a_pomtc.tar.gz
tar -xzvf /glade/p/ral/jnt/HWRF/HWRF_v3.9a_tut_codes/HWRF_v3.9a_ncep-coupler.tar.gz
tar -xzvf /glade/p/ral/jnt/HWRF/HWRF_v3.9a_tut_codes/HWRF_v3.9a_gfdl-vortextracker.tar.gz

You should now have eight sub-directories in your working directory:

  • gfdl-vortextracker
    GSI
    hwrf-utilities
    ncep-coupler
    pomtc
    UPP
    WPSV3
    WRFV3