Compile WPS

Type:

./compile >& compile.log

Check the compile.log file for any errors. If your compilation was successful, you should see these executables created.

geogrid.exe -> geogrid/src/geogrid.exe
metgrid.exe -> metgrid/src/metgrid.exe
ungrib.exe -> ungrib/src/ungrid.exe

Generate static data
Generate input data for WRFV2
Unpack GRIB data

A few utilities will also be linked under the util/ directory.

avg_tsfc.exe

Computes daily mean surface temperature from intermediate files. Recommended for using with the 5-layer soil model (sf_surface_physics = 1) in WRF

g1print.exe

List the contents of a GRIB1 file

g2print.exe

List the contents of a GRIB2 file

mod_levs.exe 

Remove superfluous levels from 3-d fields in intermediate files

plotfmt.exe

Plot intermediate files (dependent on NCAR Graphics - if you don't have these libraries, plotfmt.exe will not compile correctly)

plotgrids.exe  

Generate domain graphics. An exellent tool to configure domains before running geogrid.exe (dependent on NCAR Graphics - if you don't have these libraries, plotgrids.exe will not compile correctly)

rd_intermediate.exe 

Read intermediate files

Utilities
Detailed explanations of the utilities are available from Chapter 3 of the User's Guide

   
NCAR Graphics
If you don't have NCAR Graphics on your system it is not a problem, but since it is a very handy free plotting program, we recommend installing it at some point.
   
question

The executables were not created
Check the compile.log file carefully for any errors.

Most common errors are:
- Incorrect netCDF version (e.g., netCDF complied with PGI, but you are compiling the code with Intel compilers).
- Paths to libraries not found.
- Required libraries not installed, or not installed correctly.
- You configured for GRIB2 data, but do not have the extra libraries (JasPer, PNG and Zlib) on your system, or they have been installed incorrectly. (Zlib may already be on your computer, so check before installing this library. JasPer and PNG are compression libraries needed to ungrib GRIB version 2 data.)

If you correct any problems in the configure.wps file, be sure to
./clean
before your attempt to compile the code again.

 

You are now ready to run the WRF ARW model.

Run Basics