NetCDF4 C++ API
|
File: NetCDF/cpp4/doc/Configuration.txt Subject: Configuration notes for the NetCDF 4 C++ API Author: Thomas E. Hilinski <tom.hilinski@colostate.edu> Natural Resource Ecology Laboratory, Colorado State University Date: 2013Jan
The NetCDF4 library source has changed significantly over its versions. This C++ API requires at least 4.1.3.
netCDF 4.1.1 is missing the function nc_inq_path. This was added in 4.1.2.
netCDF 4.1.x does not have the header file "netcdf_par.h".
The API source file NcConfig.h helps select the correct header files based upon the following preprocessor macros:
-DUSE_PARALLEL
Builds with the NetCDF4 MPI parallel I/O capabilities. Both the NetCDF and HDF libraries should have been built with MPI parallel I/O enabled.
-DHAS_NETCDF_PAR_H
If defined, the header file "netcdf_par.h" should be available, otherwise the usual header file "netcdf.h" is used. With NetCDF version 4.2, define this macro.