Regression tests: Difference between revisions

Pchakrab (talk | contribs)
Pchakrab (talk | contribs)
Line 133: Line 133:
   --h5diff=H5DIFF  [RQD] location of h5diff utility
   --h5diff=H5DIFF  [RQD] location of h5diff utility
   --diff=DIFF      [OPT] location of diff utility (default=/usr/bin/diff)
   --diff=DIFF      [OPT] location of diff utility (default=/usr/bin/diff)
So, to compare the above two runs, one would issue the command
$ ./GCM_Cmp.py --bas /path/to/baseline/home/dir
                --cur /path/to/current/home/dir
                --h5diff /path/to/h5diff
This script compares and prints out the following to stdout and /path/to/current/home/dir/log.cmp_out
::Diffs *_rst files (BASELINE and CURRENT) and prints out the result. In case of non-zero diff finds min and max of differences between BASELINE and CURRENT fvcore_internal_rst
::Diffs *.nc4 files (BASELINE and CURRENT) and prints out the result.
::Counts the number of layout/transparency successes (not for AOGCM)