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

[netCDF #HHV-610093]: NetCDF 4.5.0: Bug in detection of PNETCDF_ERANGE_FILL



Hello,

Thank you very much for submitting this patch, it is very much appreciated!  I 
will incorporate it into our code, for the next release.

Have a great day,

-Ward

> 
> Dear NetCDF Developers,
> 
> I found a bug in the detection of the erange_fill feature of the
> parallel-netcdf library at configure time. The test in the configure
> script always returns enabled even if it's not.
> 
> The value coord_bound_pnetcdf is used in the test at line 1173 of configure.ac
> instead of enable_erange_fill.
> The diff with a fixed configure.ac follows:
> 
> [ CWD: netcdf-c-4.5.0] $ diff -u configure.ac 
> ../tmp/netcdf-c-4.5.0/configure.ac
> --- configure.ac        2017-10-25 11:44:59.589156236 +0200
> +++ ../tmp/netcdf-c-4.5.0/configure.ac  2017-10-20 19:20:52.000000000 +0200
> @@ -1170,7 +1170,7 @@
> erange_fill_pnetcdf=no
> else
> erange_fill_pnetcdf=`echo ${erange_fill_pnetcdf} | cut -d' ' -f3`
> -      if test "x$erange_fill_pnetcdf" = x0; then
> +      if test "x$coord_bound_pnetcdf" = x0; then
> enable_erange_fill_pnetcdf=no
> else
> enable_erange_fill_pnetcdf=yes
> 
> 
> Please note that no test fails because of this bug.
> 
> Best regards,
> Pier Giuseppe Fogli
> 
> 
> --
> Pier Giuseppe Fogli
> Euro-Mediterranean Center on Climate Change (CMCC)
> Via Marcantonio Franceschini, 31
> 40128 Bologna
> ITALY
> 
> Phone:  +39 051 4151206
> FAX:    +39 051 4151463
> e-mail: piergiuseppe DOT fogli AT cmcc DOT it
> skype:  beppecmcc
> Web:    www.cmcc.it
> 
> 


Ticket Details
===================
Ticket ID: HHV-610093
Department: Support netCDF
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.