Is HDF5 required for NetCDF4, or not?
I do *not* have HDF5 installed on my system, and I see that we append
to the configure arguments for netcdf in netcdf.m4 when you don't have HDF5.
And indeed, netCDF's configure script prints:
checking whether we should try to build netCDF-4... no
But in the libmesh config summary I still see:
netcdf........................... : yes
version....................... : 4
Am I actually getting "netCDF3" functionality (although built with netCDF
22.214.171.124 sources) in this case due to my lack of HDF5?
From: Kirk, Benjamin (JSC-EG311) <benjamin.kirk-1@na...> - 2013-03-07 18:50:54
On Mar 7, 2013, at 12:44 PM, John Peterson <jwpeterson@...> wrote:
> Am I actually getting "netCDF3" functionality (although built with netCDF 126.96.36.199 sources) in this case due to my lack of HDF5?
That's right. The source package included the latest version 3 API in
and version 4 API in
The version 4 API requires HDF5, and the latest exodus requires version 4 for full feature support.
When HDF5 is absent we fall back to building the libsrc version 3 only API, but from the new 'v4' source tree (sorry for the confusion!!) and then tell Exodus to turn off the new features, c.f. exodus.m4:
# no HDF5 &/or no NETCDF4
if (test "x$enablehdf5" = "xno" -o "x$netcdfversion" = "x3"); then
AC_MSG_RESULT([defining -DNOT_NETCDF4 for our Exodus build])