This document is designed to aid in debugging a failed WRF simulation and follows a typical workflow employed by staff in the Mesoscale and Microscale Meteorology Lab at NCAR. The essential idea is to begin with a working configuration of the model, and to incrementally change that configuration until it fails in the same way as the original, failed simulation. In this way, it's much easier to identify the specific cause for the failure.
Schematically, the process is shown in the cartoon, below.
Here, "Basic configuration" is a well-tested configuration of the WPS and WRF model.
Basic configurations of the WPS and WRF are provided for the last several WRF/WPS releases in the links, below. If you happen to be working with an older version of the WRF modeling system, we strongly encourage you to try reproducing your setup with the current WRF/WPS releases.
WRF Version | WPS download | WRF download |
---|---|---|
4.3.x | WPS | WRF |
4.2.x | WPS | WRF |
In addition to the basic configurations for the WPS and WRF model, meteorological data are needed by the WPS. The following links provide three time periods of GFS 0.25-degree data that have been verified to work well with the basic configuration:
After downloading a basic configuration, you can unpack the tar file within
your WPS
or WRF/run
directory before trying to run the WPS programs or the
WRF model. It's critically important to verify that the basic configuration runs
successfully on your system using just a single processor -- without verifying
this, you won't have a known-working configuration to begin with!
Once you have a working basic configuration, the suggested sequence of steps to work towards your configuration (which is not working) is as follows. Each of the steps in the outline below is a link to more detailed information about that step.
- Adjust the horizontal domain so that it matches your configuration
- Adjust the vertical grid so that it matches your configuration
- Try with more than on MPI task
- Add the first nested domain (if nested domains are being used)
- Change physics suite / schemes to match
- Activate model option one at a time (e.g., adaptive timestep, DFI, etc.)
The idea here is to change only the geographic location, horizontal resolution, and number of gridpoints in the single horizontal domain.
Tip: If your simulation fails after changing the horizontal domain, you can then try changing one aspect of the horizontal domain at a time: geographic location, then resolution, and finally number of gridpoints.
If you are using something other than the default vertical grid, you can rerun the real.exe program after editing the namelist.input file to use the same vertical levels as in your failed model setup.
Try using more than one MPI task.
Tip: If the model now fails when attempting to use the same number of MPI tasks as in your failed model setup, try gradually increasing the number of MPI tasks.