This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hi Tim, > I've just noticed that the udunits which comes packaged in the > netcdf-4.1.1.tar.gz file is quite old (version 2.1.9). This version of > udunits contains a moderately serious memory leak which appears to have > been fixed in later versions. Just dropping the latest version of > udunits (2.1.21) in place of version 2.1.9 causes no problems as far as > I can tell with compiling the NetCDF library, and eliminates the memory > leak. > > Given that many users will not bother installing the latest udunits > library if it already comes pre-packaged with NetCDF-4; I'm wondering if > it would worth including a more recent version of udunits in the NetCDF > tar ball? Yes, in fact the current netCDF-4.1.2 daily snapshot contains the 2.1.21 udunits release, which was just integrated into the package. The integration required some minor autotools configure changes, changing 11 files. Thanks for letting us know about the old udunits version. We could easily have missed this without a reminder from an alert user. --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: UVA-971071 Department: Support netCDF Priority: Normal Status: Closed