NetCDF-C 4.3.3-rc3
Pre-release4.3.3-rc3 Released 2015-01-14
- Added functionality to make it easier to build
netcdf-fortran
as part of thenetcdf-c
build for NON-MSVC builds. This functionality is enabled at configure time by using the following Highly Experimental options:- CMake:
-DENABLE_REMOTE_FORTRAN_BOOTSTRAP=ON
- Autotools:
--enable-remote-fortran-bootstrap
- CMake:
Details are as follows:
Enabling these options creates two new make targets:
build-netcdf-fortran
install-netcdf-fortran
Example Work Flow from netcdf-c source directory:
- $
./configure --enable-remote-fortran-bootstrap --prefix=$HOME/local
- $
make check
- $
make install
- $
make build-netcdf-fortran
- $
make install-netcdf-fortran
These make targets are only valid after
make install
has been invoked. This cannot be enforced rigidly in the makefile for reasons we will expand on in the documentation, but in short:make install
may require sudo, but using sudo will discard environmental variables required when attempting to build netcdf-fortran in this manner.It is important to note that this is functionality is for convenience only. It will remain possible to build
netcdf-c
andnetcdf-fortran
manually. These make targets should hopefully suffice for the majority of our users, but for corner cases it may still be required of the user to perform a manual build. NCF-323
-
Added a failure state if the
m4
utility is not found on non-Windows systems; previously, the build would fail when it reached the point of invoking m4. -
Added an explicit check in the build systems (autotools, cmake) for the CURL-related option
CURLOPT_CHUNK_BGN_FUNCTION
. This option was introduced in libcurl version7.21.0
. On installations which require libcurl and have this version,CURLOPT_CHUNK_BGN_FUNCTION
will be available. Otherwise, it will not. -
The pnetcdf support was not properly being used to provide mpi parallel io for netcdf-3 classic files. The wrong dispatch table was being used. NCF-319
-
Fixed bug in ncgen. When classic format was in force (k=1 or k=4), the "long" datatype should be treated as int32. Was returning an error. NCF-318
-
Fixed bug where if the netCDF-C library is built with the HDF5 library but without the HDF4 library and one attempts to open an HDF4 file, an abort occurs rather than returning a proper error code (NC_ENOTNC). NCF-317
-
Added a new option,
NC_EXTRA_DEPS
, for cmake-based builds. This is analogous toLIBS
in autotools-based builds. Example usage:$ cmake .. -NC_EXTRA_DEPS="-lcustom_lib"
More details may be found at the Unidata JIRA Dashboard. NCF-316