[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #UJQ-996963]: bugs in netcdf-4.2.1.1 testing



Hi Luis,

> I just tried to install netcdf-4.2.1.1 on out IBM PWR6. I used the
> following configure:
> 
> CC=xlc_r CFLAGS="-O3 -qhot -qmaxmem=-1 -qarch=pwr6 -qtune=balanced"
> ./configure --disable-dap --disable-netcdf-4 --prefix=$HOME
> 
> OS and compiler:
> 
> m214074@blizzard2% uname -a
> AIX blizzard2 1 6 00CBAAC24C00 powerpc AIX
> 
> m214074@blizzard2% xlc_r -qversion
> IBM XL C/C++ for AIX, V11.1 (5724-X13)
> Version: 11.01.0000.0008
> 
> Some checks fail with floats as you can see. I enable the DEBUG switch
> in the test to see the values (see below).
> 
> During this I saw in nc_test/tests.h the following line
> 
> #define X_INT_MIN       (-2147483648.)
> 
> which most probably has a dot which should not be there ...
> 
> Best regards,
> Luis

Thanks for reporting the problems.  We no longer have an up-to-date AIX platform
on which to test our releases, so we have to rely on users to report problems
with netCDF on AIX.

Could you please try using "-O0" instead of "-O3" and add "-qstrict" to the 
CFLAGS?  If the errors go away, then they are an artifact of optimizations
that may result in results not in strict compliance with IEEE floating-point
standards, for the sake of better performance.  In that case, you can ignore
the test failures if you aren't concerned about such discrepncies.

If you still get the failures, I'm not sure what's causing the problem.  To
eliminate reports of the failures, it may be enough to specify the configure 
option "--disable-extreme-numbers" before building, which should eliminate
tests using floating-point values at the boundaries of valid number 
representations.

Anyway, thanks again for reporting the problem, and if it's convenient to run
any of the tests above, we'd be interested in the results.

--Russ


> Making check in nc_test
> make[1]: Entering directory `/pf/zmaw/m214074/src/netcdf-4.2.1.1/nc_test'
> make  t_nc tst_small nc_test tst_misc tst_norm tst_names tst_nofill
> tst_nofill2 tst_nofill3 tst_atts3    tst_diskless tst_diskless3
> tst_diskless4
> make[2]: Entering directory `/pf/zmaw/m214074/src/netcdf-4.2.1.1/nc_test'
> make[2]: `t_nc' is up to date.
> make[2]: `tst_small' is up to date.
> source='util.c' object='util.o' libtool=no \
> DEPDIR=.deps depmode=aix /bin/sh ../depcomp \
> xlc_r -DHAVE_CONFIG_H -I. -I..  -I../include   -I../liblib
> -O3 -qhot -qmaxmem=-1 -qarch=pwr6 -qtune=balanced -c -o util.o util.c
> 1500-036: (I) The NOSTRICT option (default at OPT(3)) has the
> potential to alter the semantics of a program.  Please refer to
> documentation on the STRICT/NOSTRICT option for more information.
> /bin/sh ../libtool --tag=CC   --mode=link xlc_r  -O3 -qhot -qmaxmem=-1
> -qarch=pwr6 -qtune=balanced   -o nc_test nc_test.o error.o test_get.o
> test_put.o test_read.o test_write.o util.o ../liblib/libnetcdf.la  -lm
> libtool: link: xlc_r -O3 -qhot -qmaxmem=-1 -qarch=pwr6 -qtune=balanced
> -o .libs/nc_test nc_test.o error.o test_get.o test_put.o test_read.o
> test_write.o util.o  -L../liblib/.libs -lnetcdf -lm
> -Wl,-blibpath:/home/zmaw/m214074/lib:/sw/ibm/xlc/11.1.0.8/usr/lib:/sw/ibm/xlc/11.1.0.8/usr/vac/lib:/usr/lib:/lib
> make[2]: `tst_misc' is up to date.
> make[2]: `tst_norm' is up to date.
> make[2]: `tst_names' is up to date.
> make[2]: `tst_nofill' is up to date.
> make[2]: `tst_nofill2' is up to date.
> make[2]: `tst_nofill3' is up to date.
> make[2]: `tst_atts3' is up to date.
> make[2]: `tst_diskless' is up to date.
> make[2]: `tst_diskless3' is up to date.
> make[2]: `tst_diskless4' is up to date.
> make[2]: Leaving directory `/pf/zmaw/m214074/src/netcdf-4.2.1.1/nc_test'
> make  check-TESTS
> make[2]: Entering directory `/pf/zmaw/m214074/src/netcdf-4.2.1.1/nc_test'
> PASS: t_nc
> 
> *** Testing small files.
> Switching to 64-bit offset format.
> *** testing simple small file with a global attribute...ok.
> *** testing simple small file with fixed dimensions...ok.
> *** testing simple small file with an unlimited dimension...ok.
> *** testing small file with one variable...ok.
> *** testing small file with one variable and one att...ok.
> *** testing small file with one record variable, which grows...ok.
> *** testing small file with one growing record variable, with attributes
> added...ok.
> *** testing small file with two growing record variables, with
> attributes added...ok.
> Switching to netCDF classic format.
> *** testing simple small file with a global attribute...ok.
> *** testing simple small file with fixed dimensions...ok.
> *** testing simple small file with an unlimited dimension...ok.
> *** testing small file with one variable...ok.
> *** testing small file with one variable and one att...ok.
> *** testing small file with one record variable, which grows...ok.
> *** testing small file with one growing record variable, with attributes
> added...ok.
> *** testing small file with two growing record variables, with
> attributes added...ok.
> *** Tests successful!
> PASS: tst_small
> Testing 2 different netCDF formats.
> 
> 
> Switching to netCDF classic format.
> *** testing nc_strerror ... ok
> *** testing nc_open ... ok
> *** testing nc_close ... ok
> *** testing nc_inq ... ok
> *** testing nc_inq_dimid ... ok
> *** testing nc_inq_dim ... ok
> *** testing nc_inq_dimlen ... ok
> *** testing nc_inq_dimname ... ok
> *** testing nc_inq_varid ... ok
> *** testing nc_inq_var ... ok
> *** testing nc_inq_natts ... ok
> *** testing nc_inq_ndims ... ok
> *** testing nc_inq_nvars ... ok
> *** testing nc_inq_unlimdim ... ok
> *** testing nc_inq_vardimid ... ok
> *** testing nc_inq_varname ... ok
> *** testing nc_inq_varnatts ... ok
> *** testing nc_inq_varndims ... ok
> *** testing nc_inq_vartype ... ok
> *** testing nc_get_var_text ...  179 good comparisons. ok
> *** testing nc_get_var_uchar ...  264 good comparisons. ok
> *** testing nc_get_var_schar ...  269 good comparisons. ok
> *** testing nc_get_var_short ...  682 good comparisons. ok
> *** testing nc_get_var_int ...  1189 good comparisons. ok
> *** testing nc_get_var_long ...  1189 good comparisons. ok
> *** testing nc_get_var_float ...
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 1194 good comparisons. ok
> *** testing nc_get_var_double ...  1207 good comparisons. ok
> *** testing nc_get_var1_text ...  179 good comparisons. ok
> *** testing nc_get_var1_uchar ...  264 good comparisons. ok
> *** testing nc_get_var1_schar ...  269 good comparisons. ok
> *** testing nc_get_var1_short ...  682 good comparisons. ok
> *** testing nc_get_var1_int ...  1189 good comparisons. ok
> *** testing nc_get_var1_long ...  1189 good comparisons. ok
> *** testing nc_get_var1_float ...
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 1194 good comparisons. ok
> *** testing nc_get_var1_double ...  1207 good comparisons. ok
> *** testing nc_get_var1 ...  1386 good comparisons. ok
> *** testing nc_get_vara_text ...  179 good comparisons. ok
> *** testing nc_get_vara_uchar ...  264 good comparisons. ok
> *** testing nc_get_vara_schar ...  269 good comparisons. ok
> *** testing nc_get_vara_short ...  682 good comparisons. ok
> *** testing nc_get_vara_int ...  1189 good comparisons. ok
> *** testing nc_get_vara_long ...  1189 good comparisons. ok
> *** testing nc_get_vara_float ...
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 1194 good comparisons. ok
> *** testing nc_get_vara_double ...  1207 good comparisons. ok
> *** testing nc_get_vara ...  1386 good comparisons. ok
> *** testing nc_get_vars_text ...  179 good comparisons. ok
> *** testing nc_get_vars_uchar ...  264 good comparisons. ok
> *** testing nc_get_vars_schar ...  269 good comparisons. ok
> *** testing nc_get_vars_short ...  682 good comparisons. ok
> *** testing nc_get_vars_int ...  1189 good comparisons. ok
> *** testing nc_get_vars_long ...  1189 good comparisons. ok
> *** testing nc_get_vars_float ...
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 1194 good comparisons. ok
> *** testing nc_get_vars_double ...  1207 good comparisons. ok
> *** testing nc_get_vars ...  1386 good comparisons. ok
> *** testing nc_get_varm_text ...  179 good comparisons. ok
> *** testing nc_get_varm_uchar ...  264 good comparisons. ok
> *** testing nc_get_varm_schar ...  269 good comparisons. ok
> *** testing nc_get_varm_short ...  682 good comparisons. ok
> *** testing nc_get_varm_int ...  1189 good comparisons. ok
> *** testing nc_get_varm_long ...  1189 good comparisons. ok
> *** testing nc_get_varm_float ...
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 1194 good comparisons. ok
> *** testing nc_get_varm_double ...  1207 good comparisons. ok
> *** testing nc_get_varm ...  1386 good comparisons. ok
> *** testing nc_get_att_text ...  7 good comparisons. ok
> *** testing nc_get_att_uchar ...  5 good comparisons. ok
> *** testing nc_get_att_schar ...  7 good comparisons. ok
> *** testing nc_get_att_short ...  15 good comparisons. ok
> *** testing nc_get_att_int ...  19 good comparisons. ok
> *** testing nc_get_att_long ...  19 good comparisons. ok
> *** testing nc_get_att_float ...
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 21 good comparisons. ok
> *** testing nc_get_att_double ...  27 good comparisons. ok
> *** testing nc_get_att ...  34 good comparisons. ok
> *** testing nc_inq_att ... ok
> *** testing nc_inq_attname ... ok
> *** testing nc_inq_attid ... ok
> *** testing nc_inq_attlen ... ok
> *** testing nc_inq_atttype ... ok
> *** testing nc_create ... ok
> *** testing nc_redef ...  1386 good comparisons.  34 good comparisons.
> 1386 good comparisons.  34 good comparisons. ok
> *** testing nc_sync ...  34 good comparisons.  1386 good comparisons. ok
> *** testing nc_abort ...  1386 good comparisons.  34 good comparisons. ok
> *** testing nc_def_dim ... ok
> *** testing nc_rename_dim ... ok
> *** testing nc_def_var ... ok
> *** testing nc_put_var_text ...  179 good comparisons. ok
> *** testing nc_put_var_uchar ...  264 good comparisons. ok
> *** testing nc_put_var_schar ...  269 good comparisons. ok
> *** testing nc_put_var_short ...  682 good comparisons. ok
> *** testing nc_put_var_int ...  1189 good comparisons. ok
> *** testing nc_put_var_long ...  1189 good comparisons. ok
> *** testing nc_put_var_float ...
> FAILURE at line 2864 of test_put.c: range error: status = 0
> FAILURE at line 2864 of test_put.c: range error: status = 0
> FAILURE at line 2864 of test_put.c: range error: status = 0
> FAILURE at line 2912 of test_put.c: range error: status = 0
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> 1194 good comparisons.
> ### 4 FAILURES TESTING nc_put_var_float! ###
> *** testing nc_put_var_double ...  1207 good comparisons. ok
> *** testing nc_put_var1_text ...  179 good comparisons. ok
> *** testing nc_put_var1_uchar ...  264 good comparisons. ok
> *** testing nc_put_var1_schar ...  269 good comparisons. ok
> *** testing nc_put_var1_short ...  682 good comparisons. ok
> *** testing nc_put_var1_int ...  1189 good comparisons. ok
> *** testing nc_put_var1_long ...  1189 good comparisons. ok
> *** testing nc_put_var1_float ...
> FAILURE at line 1964 of test_put.c: Range error: status = 0
> for type NC_INT value 2.14748364800000000e+09 2147483648
> FAILURE at line 1964 of test_put.c: Range error: status = 0
> for type NC_INT value 2.14748364800000000e+09 2147483648
> FAILURE at line 1964 of test_put.c: Range error: status = 0
> for type NC_INT value 2.14748364800000000e+09 2147483648
> FAILURE at line 1964 of test_put.c: Range error: status = 0
> for type NC_INT value 2.14748364800000000e+09 2147483648
> FAILURE at line 1964 of test_put.c: Range error: status = 0
> for type NC_INT value 2.14748364800000000e+09 2147483648
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> 1194 good comparisons.
> ### 5 FAILURES TESTING nc_put_var1_float! ###
> *** testing nc_put_var1_double ...  1207 good comparisons. ok
> *** testing nc_put_var1 ...  1386 good comparisons. ok
> *** testing nc_put_vara_text ...  179 good comparisons. ok
> *** testing nc_put_vara_uchar ...  264 good comparisons. ok
> *** testing nc_put_vara_schar ...  269 good comparisons. ok
> *** testing nc_put_vara_short ...  682 good comparisons. ok
> *** testing nc_put_vara_int ...  1189 good comparisons. ok
> *** testing nc_put_vara_long ...  1189 good comparisons. ok
> *** testing nc_put_vara_float ...
> FAILURE at line 4088 of test_put.c: range error: status = 0
> FAILURE at line 4088 of test_put.c: range error: status = 0
> FAILURE at line 4088 of test_put.c: range error: status = 0
> FAILURE at line 4088 of test_put.c: range error: status = 0
> FAILURE at line 4088 of test_put.c: range error: status = 0
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> 1194 good comparisons.
> ### 5 FAILURES TESTING nc_put_vara_float! ###
> *** testing nc_put_vara_double ...  1207 good comparisons. ok
> *** testing nc_put_vara ...  1386 good comparisons. ok
> *** testing nc_put_vars_text ...  179 good comparisons. ok
> *** testing nc_put_vars_uchar ...  264 good comparisons. ok
> *** testing nc_put_vars_schar ...  269 good comparisons. ok
> *** testing nc_put_vars_short ...  682 good comparisons. ok
> *** testing nc_put_vars_int ...  1189 good comparisons. ok
> *** testing nc_put_vars_long ...  1189 good comparisons. ok
> *** testing nc_put_vars_float ...
> FAILURE at line 5346 of test_put.c: range error: status = 0
> FAILURE at line 5346 of test_put.c: range error: status = 0
> FAILURE at line 5346 of test_put.c: range error: status = 0
> FAILURE at line 5346 of test_put.c: range error: status = 0
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> 1194 good comparisons.
> ### 4 FAILURES TESTING nc_put_vars_float! ###
> *** testing nc_put_vars_double ...  1207 good comparisons. ok
> *** testing nc_put_vars ...  1386 good comparisons. ok
> *** testing nc_put_varm_text ...  179 good comparisons. ok
> *** testing nc_put_varm_uchar ...  264 good comparisons. ok
> *** testing nc_put_varm_schar ...  269 good comparisons. ok
> *** testing nc_put_varm_short ...  682 good comparisons. ok
> *** testing nc_put_varm_int ...  1189 good comparisons. ok
> *** testing nc_put_varm_long ...  1189 good comparisons. ok
> *** testing nc_put_varm_float ...
> FAILURE at line 6669 of test_put.c: range error: status = 0
> FAILURE at line 6669 of test_put.c: range error: status = 0
> FAILURE at line 6669 of test_put.c: range error: status = 0
> FAILURE at line 6669 of test_put.c: range error: status = 0
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> 1194 good comparisons.
> ### 4 FAILURES TESTING nc_put_varm_float! ###
> *** testing nc_put_varm_double ...  1207 good comparisons. ok
> *** testing nc_put_varm ...  1386 good comparisons. ok
> *** testing nc_rename_var ...  1386 good comparisons. ok
> *** testing nc_put_att_text ...  7 good comparisons. ok
> *** testing nc_put_att_uchar ...  5 good comparisons. ok
> *** testing nc_put_att_schar ...  7 good comparisons. ok
> *** testing nc_put_att_short ...  15 good comparisons. ok
> *** testing nc_put_att_int ...  19 good comparisons. ok
> *** testing nc_put_att_long ...  19 good comparisons. ok
> *** testing nc_put_att_float ...
> FAILURE at line 7282 of test_put.c: range error: status = 0
> FAILURE at line 7282 of test_put.c: range error: status = 0
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> 21 good comparisons.
> ### 2 FAILURES TESTING nc_put_att_float! ###
> *** testing nc_put_att_double ...  27 good comparisons. ok
> *** testing nc_put_att ...  34 good comparisons. ok
> *** testing nc_copy_att ...  34 good comparisons. ok
> *** testing nc_rename_att ...  34 good comparisons. ok
> *** testing nc_del_att ... ok
> *** testing nc_set_default_format ... ok
> 
> 
> Switching to 64-bit offset format.
> *** testing nc_strerror ... ok
> *** testing nc_open ... ok
> *** testing nc_close ... ok
> *** testing nc_inq ... ok
> *** testing nc_inq_dimid ... ok
> *** testing nc_inq_dim ... ok
> *** testing nc_inq_dimlen ... ok
> *** testing nc_inq_dimname ... ok
> *** testing nc_inq_varid ... ok
> *** testing nc_inq_var ... ok
> *** testing nc_inq_natts ... ok
> *** testing nc_inq_ndims ... ok
> *** testing nc_inq_nvars ... ok
> *** testing nc_inq_unlimdim ... ok
> *** testing nc_inq_vardimid ... ok
> *** testing nc_inq_varname ... ok
> *** testing nc_inq_varnatts ... ok
> *** testing nc_inq_varndims ... ok
> *** testing nc_inq_vartype ... ok
> *** testing nc_get_var_text ...  179 good comparisons. ok
> *** testing nc_get_var_uchar ...  264 good comparisons. ok
> *** testing nc_get_var_schar ...  269 good comparisons. ok
> *** testing nc_get_var_short ...  682 good comparisons. ok
> *** testing nc_get_var_int ...  1189 good comparisons. ok
> *** testing nc_get_var_long ...  1189 good comparisons. ok
> *** testing nc_get_var_float ...
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 1194 good comparisons. ok
> *** testing nc_get_var_double ...  1207 good comparisons. ok
> *** testing nc_get_var1_text ...  179 good comparisons. ok
> *** testing nc_get_var1_uchar ...  264 good comparisons. ok
> *** testing nc_get_var1_schar ...  269 good comparisons. ok
> *** testing nc_get_var1_short ...  682 good comparisons. ok
> *** testing nc_get_var1_int ...  1189 good comparisons. ok
> *** testing nc_get_var1_long ...  1189 good comparisons. ok
> *** testing nc_get_var1_float ...
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 1194 good comparisons. ok
> *** testing nc_get_var1_double ...  1207 good comparisons. ok
> *** testing nc_get_var1 ...  1386 good comparisons. ok
> *** testing nc_get_vara_text ...  179 good comparisons. ok
> *** testing nc_get_vara_uchar ...  264 good comparisons. ok
> *** testing nc_get_vara_schar ...  269 good comparisons. ok
> *** testing nc_get_vara_short ...  682 good comparisons. ok
> *** testing nc_get_vara_int ...  1189 good comparisons. ok
> *** testing nc_get_vara_long ...  1189 good comparisons. ok
> *** testing nc_get_vara_float ...
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 1194 good comparisons. ok
> *** testing nc_get_vara_double ...  1207 good comparisons. ok
> *** testing nc_get_vara ...  1386 good comparisons. ok
> *** testing nc_get_vars_text ...  179 good comparisons. ok
> *** testing nc_get_vars_uchar ...  264 good comparisons. ok
> *** testing nc_get_vars_schar ...  269 good comparisons. ok
> *** testing nc_get_vars_short ...  682 good comparisons. ok
> *** testing nc_get_vars_int ...  1189 good comparisons. ok
> *** testing nc_get_vars_long ...  1189 good comparisons. ok
> *** testing nc_get_vars_float ...
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 1194 good comparisons. ok
> *** testing nc_get_vars_double ...  1207 good comparisons. ok
> *** testing nc_get_vars ...  1386 good comparisons. ok
> *** testing nc_get_varm_text ...  179 good comparisons. ok
> *** testing nc_get_varm_uchar ...  264 good comparisons. ok
> *** testing nc_get_varm_schar ...  269 good comparisons. ok
> *** testing nc_get_varm_short ...  682 good comparisons. ok
> *** testing nc_get_varm_int ...  1189 good comparisons. ok
> *** testing nc_get_varm_long ...  1189 good comparisons. ok
> *** testing nc_get_varm_float ...
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 1194 good comparisons. ok
> *** testing nc_get_varm_double ...  1207 good comparisons. ok
> *** testing nc_get_varm ...  1386 good comparisons. ok
> *** testing nc_get_att_text ...  7 good comparisons. ok
> *** testing nc_get_att_uchar ...  5 good comparisons. ok
> *** testing nc_get_att_schar ...  7 good comparisons. ok
> *** testing nc_get_att_short ...  15 good comparisons. ok
> *** testing nc_get_att_int ...  19 good comparisons. ok
> *** testing nc_get_att_long ...  19 good comparisons. ok
> *** testing nc_get_att_float ...
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 21 good comparisons. ok
> *** testing nc_get_att_double ...  27 good comparisons. ok
> *** testing nc_get_att ...  34 good comparisons. ok
> *** testing nc_inq_att ... ok
> *** testing nc_inq_attname ... ok
> *** testing nc_inq_attid ... ok
> *** testing nc_inq_attlen ... ok
> *** testing nc_inq_atttype ... ok
> *** testing nc_create ... ok
> *** testing nc_redef ...  1386 good comparisons.  34 good comparisons.
> 1386 good comparisons.  34 good comparisons. ok
> *** testing nc_sync ...  34 good comparisons.  1386 good comparisons. ok
> *** testing nc_abort ...  1386 good comparisons.  34 good comparisons. ok
> *** testing nc_def_dim ... ok
> *** testing nc_rename_dim ... ok
> *** testing nc_def_var ... ok
> *** testing nc_put_var_text ...  179 good comparisons. ok
> *** testing nc_put_var_uchar ...  264 good comparisons. ok
> *** testing nc_put_var_schar ...  269 good comparisons. ok
> *** testing nc_put_var_short ...  682 good comparisons. ok
> *** testing nc_put_var_int ...  1189 good comparisons. ok
> *** testing nc_put_var_long ...  1189 good comparisons. ok
> *** testing nc_put_var_float ...
> FAILURE at line 2864 of test_put.c: range error: status = 0
> FAILURE at line 2864 of test_put.c: range error: status = 0
> FAILURE at line 2864 of test_put.c: range error: status = 0
> FAILURE at line 2912 of test_put.c: range error: status = 0
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> 1194 good comparisons.
> ### 4 FAILURES TESTING nc_put_var_float! ###
> *** testing nc_put_var_double ...  1207 good comparisons. ok
> *** testing nc_put_var1_text ...  179 good comparisons. ok
> *** testing nc_put_var1_uchar ...  264 good comparisons. ok
> *** testing nc_put_var1_schar ...  269 good comparisons. ok
> *** testing nc_put_var1_short ...  682 good comparisons. ok
> *** testing nc_put_var1_int ...  1189 good comparisons. ok
> *** testing nc_put_var1_long ...  1189 good comparisons. ok
> *** testing nc_put_var1_float ...
> FAILURE at line 1964 of test_put.c: Range error: status = 0
> for type NC_INT value 2.14748364800000000e+09 2147483648
> FAILURE at line 1964 of test_put.c: Range error: status = 0
> for type NC_INT value 2.14748364800000000e+09 2147483648
> FAILURE at line 1964 of test_put.c: Range error: status = 0
> for type NC_INT value 2.14748364800000000e+09 2147483648
> FAILURE at line 1964 of test_put.c: Range error: status = 0
> for type NC_INT value 2.14748364800000000e+09 2147483648
> FAILURE at line 1964 of test_put.c: Range error: status = 0
> for type NC_INT value 2.14748364800000000e+09 2147483648
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> 1194 good comparisons.
> ### 5 FAILURES TESTING nc_put_var1_float! ###
> *** testing nc_put_var1_double ...  1207 good comparisons. ok
> *** testing nc_put_var1 ...  1386 good comparisons. ok
> *** testing nc_put_vara_text ...  179 good comparisons. ok
> *** testing nc_put_vara_uchar ...  264 good comparisons. ok
> *** testing nc_put_vara_schar ...  269 good comparisons. ok
> *** testing nc_put_vara_short ...  682 good comparisons. ok
> *** testing nc_put_vara_int ...  1189 good comparisons. ok
> *** testing nc_put_vara_long ...  1189 good comparisons. ok
> *** testing nc_put_vara_float ...
> FAILURE at line 4088 of test_put.c: range error: status = 0
> FAILURE at line 4088 of test_put.c: range error: status = 0
> FAILURE at line 4088 of test_put.c: range error: status = 0
> FAILURE at line 4088 of test_put.c: range error: status = 0
> FAILURE at line 4088 of test_put.c: range error: status = 0
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> 1194 good comparisons.
> ### 5 FAILURES TESTING nc_put_vara_float! ###
> *** testing nc_put_vara_double ...  1207 good comparisons. ok
> *** testing nc_put_vara ...  1386 good comparisons. ok
> *** testing nc_put_vars_text ...  179 good comparisons. ok
> *** testing nc_put_vars_uchar ...  264 good comparisons. ok
> *** testing nc_put_vars_schar ...  269 good comparisons. ok
> *** testing nc_put_vars_short ...  682 good comparisons. ok
> *** testing nc_put_vars_int ...  1189 good comparisons. ok
> *** testing nc_put_vars_long ...  1189 good comparisons. ok
> *** testing nc_put_vars_float ...
> FAILURE at line 5346 of test_put.c: range error: status = 0
> FAILURE at line 5346 of test_put.c: range error: status = 0
> FAILURE at line 5346 of test_put.c: range error: status = 0
> FAILURE at line 5346 of test_put.c: range error: status = 0
> FAILURE at line 5346 of test_put.c: range error: status = 0
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> 1194 good comparisons.
> ### 5 FAILURES TESTING nc_put_vars_float! ###
> *** testing nc_put_vars_double ...  1207 good comparisons. ok
> *** testing nc_put_vars ...  1386 good comparisons. ok
> *** testing nc_put_varm_text ...  179 good comparisons. ok
> *** testing nc_put_varm_uchar ...  264 good comparisons. ok
> *** testing nc_put_varm_schar ...  269 good comparisons. ok
> *** testing nc_put_varm_short ...  682 good comparisons. ok
> *** testing nc_put_varm_int ...  1189 good comparisons. ok
> *** testing nc_put_varm_long ...  1189 good comparisons. ok
> *** testing nc_put_varm_float ...
> FAILURE at line 6669 of test_put.c: range error: status = 0
> FAILURE at line 6669 of test_put.c: range error: status = 0
> FAILURE at line 6669 of test_put.c: range error: status = 0
> FAILURE at line 6669 of test_put.c: range error: status = 0
> FAILURE at line 6669 of test_put.c: range error: status = 0
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> 1194 good comparisons.
> ### 5 FAILURES TESTING nc_put_varm_float! ###
> *** testing nc_put_varm_double ...  1207 good comparisons. ok
> *** testing nc_put_varm ...  1386 good comparisons. ok
> *** testing nc_rename_var ...  1386 good comparisons. ok
> *** testing nc_put_att_text ...  7 good comparisons. ok
> *** testing nc_put_att_uchar ...  5 good comparisons. ok
> *** testing nc_put_att_schar ...  7 good comparisons. ok
> *** testing nc_put_att_short ...  15 good comparisons. ok
> *** testing nc_put_att_int ...  19 good comparisons. ok
> *** testing nc_put_att_long ...  19 good comparisons. ok
> *** testing nc_put_att_float ...
> FAILURE at line 7282 of test_put.c: range error: status = 0
> FAILURE at line 7282 of test_put.c: range error: status = 0
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value -3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> min   -3.40282346638528860e+38
> value  3.40282387203345800e+38
> max    3.40282346638528860e+38
> 
> 21 good comparisons.
> ### 2 FAILURES TESTING nc_put_att_float! ###
> *** testing nc_put_att_double ...  27 good comparisons. ok
> *** testing nc_put_att ...  34 good comparisons. ok
> *** testing nc_copy_att ...  34 good comparisons. ok
> *** testing nc_rename_att ...  34 good comparisons. ok
> *** testing nc_del_att ... ok
> *** testing nc_set_default_format ... ok
> 
> *** Total number of failures: 50
> *** nc_test FAILURE!!!
> FAIL: nc_test
> 
> --
> \\\\\\
> (-0^0-)
> --------------------------oOO--(_)--OOo-----------------------------
> 
> Luis Kornblueh                           Tel. : +49-40-41173289
> Max-Planck-Institute for Meteorology     Fax. : +49-40-41173298
> Bundesstr. 53
> D-20146 Hamburg                   Email: address@hidden
> Federal Republic of Germany
> 
> 

Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: UJQ-996963
Department: Support netCDF
Priority: Normal
Status: Closed