﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
240	netCDF 4.1.3 compatibility	Dave Offiler	Dave Offiler	"The latest netCDF release is v4.1.3 (17 June 2011). On attempting to install & test this version with ROPP, some compatibility issues have arisen.

The principal one relates to separate basic C and Fortran API object libraries. 
   * For v3.x.x, the netCDF build system installed all C, F77 & F90 code in one library (''<prefix>/lib/libnetcdf.a''). 
   * This is also the default for v4.0.x, though ''./configure'' has an option (''--enable-separate-fortran'') to enable separate Fortran & C libraries (C as above, F77/F90 in ''<prefix>/lib/libnetcdff.a''). 
   * At v4.1.1 (and 4.1.2) the default is to enable separate libraries, but this can be optionally disabled (''--disable-separate-fortran''); this option is given in the ''netcdf_configure_*'' mini-scripts for ROPP-4.1/ROPP-5
   * At v4.1.3, separate libraries is not only default, but there is no longer an option switch to disable this behaviour. Therefore to support netCDF v4.1.3 (and later), the ROPP configure must be able to deal with these two netCDF object libraries.

Secondly, to help with backwards compatibility, netCDF v4 ''./configure'' had an option ''--disable-option-checking'' which allowed unknown options meant for a different release to be ignored if not supported in this one. netCDF v4.1.3 no longer has this option - the default is to silently ignore unknown options (including this one). Therefore leaving this option in the mini-scripts shouldn't cause any problems, and retains compatibility for previous v4 releases, so should be left in.

Finally, checking the xlf95_aix  mini-script for netCDF v4.1.3 (and in particular noting the guidance at '''http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-install.html#Quick-Instructions''') some of the mini-script details are likely legacy from v3 (or where never really necessary in the first place) - all ''netcdf_configure_*'' scripts should be reviewed, removing redundant options and variable settings (in some cases, let the netCDF ''./configure'' script work them out).

I propose that for the next release of ROPP, we drop support for building netCDF v3.x.x, and further, support only the (now unavoidable) 2-library netCDF installs at all v4.x.x.
 "	defect	closed	normal	5.1	ROPP (all)	4.1	fixed		
