[parallel-netcdf] #42: MPI-agnostic "ncmpidiff" tool?

Carl Ponder cponder at nvidia.com
Wed Jun 12 12:09:13 CDT 2019


*On 6/11/19 1:05 PM, Wei-keng Liao wrote:*
>
>     I have implemented a serial version of ncmpidiff, named "cdfdiff”.
>     It is available in PnetCDF repo and will be added to the next release.
>
>         https://github.com/Parallel-NetCDF/PnetCDF/tree/master/src/utils/ncmpidiff
>
>     Command “make” or “make cdfdiff” will create it. Note it only
>     compares the classic NetCDF files.
>
Wei-Keng -- do you have some explanation of the tool output?
I have this, for example:

    DIFF: global attribute "history" length (31) != (30)
    DIFF: global attribute "config_run_duration" of type "NC_CHAR" (3)
    DIFF: global attribute "file_id" of type "NC_CHAR" (3)
    DIFF: variable "ru" of type "NC_FLOAT" (158)
    DIFF: variable "ru_save" of type "NC_FLOAT" (-185)
    DIFF: variable "rw" of type "NC_FLOAT" (-91)
    DIFF: variable "rw_save" of type "NC_FLOAT" (101)
    DIFF: variable "rtheta_p" of type "NC_FLOAT" (77)
    DIFF: variable "rtheta_p_save" of type "NC_FLOAT" (-47)
    DIFF: variable "rho_p" of type "NC_FLOAT" (42)
    DIFF: variable "rho_p_save" of type "NC_FLOAT" (-35)
    DIFF: variable "rho_zz_old_split" of type "NC_FLOAT" (83)
    DIFF: variable "ruAvg" of type "NC_FLOAT" (-151)
    DIFF: variable "ruAvg_split" of type "NC_FLOAT" (15)
    DIFF: variable "wwAvg" of type "NC_FLOAT" (-93)
    DIFF: variable "wwAvg_split" of type "NC_FLOAT" (-70)
    Number of differences in header 3
    Number of differences in variables 13

Most of these are arrays, is this reporting the largest absolute 
difference across all the elements?

         -- Carl



-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/parallel-netcdf/attachments/20190612/a2fa72a3/attachment.html>


More information about the parallel-netcdf mailing list