Some of the tools mentioned in the previous section ("Coding Errors" ) can also be helpful if a formulation error is suspected. In particular, use of the -G0 compiler option followed by the debugview command is a very useful diagnostic tool if the model is actually crashing.
If the model is running but producing incorrect or suspicious history files, a quick and easy-to-use diagnostic program, cprtpsf90, is available. This program provides a statistical analysis of differences in history file data. No command line arguments are required. cprtpsf90 compares fields of the same name on each file, printing out statistics about the number of differences found, location and magnitude of worst absolute difference, location and magnitude of worst relative difference, rms difference, maximum and minimum field values, and average field values.
Questions on these pages can be sent to... erik@ucar.edu .