Skip to content

Commit

Permalink
Merge pull request #3009 from WardF/h5-min-ver.wif
Browse files Browse the repository at this point in the history
Bump incorrect minimum HDF5 version to 1.8.15.
  • Loading branch information
WardF authored Sep 3, 2024
2 parents 411f791 + 5d3218d commit d35b1b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ full functionality. (See \ref architecture).
Requirements {#netcdf_requirements}
----------------------------------

* HDF5 1.8.9 (netcdf-4 support)
* HDF5 1.8.15 (netcdf-4 support)
* zlib 1.2.5
* curl 7.18.0 (DAP support)

Expand All @@ -100,7 +100,7 @@ Building with netCDF-4 and the Remote Data Client {#build_default}

The usual way of building netCDF requires the HDF5, zlib, and curl
libraries. (And, optionally, the szlib library). Versions required are
at least HDF5 1.8.9, zlib 1.2.5, and curl 7.18.0 or later.
at least HDF5 1.8.15, zlib 1.2.5, and curl 7.18.0 or later.
(Optionally, if building with szlib, get szip 2.0 or later.)

These packages are available at:
Expand Down Expand Up @@ -332,7 +332,7 @@ For example, one user reports that she can build other applications
with netCDF-4 by setting the LIBS environment variable:

~~~
LIBS='-L/X/netcdf-4.0/lib -lnetcdf -L/X/hdf5-1.8.9/lib -lhdf5_hl -lhdf5 -lz -lm -L/X/szip-2.1/lib -lsz'
LIBS='-L/X/netcdf-4.0/lib -lnetcdf -L/X/hdf5-1.8.15/lib -lhdf5_hl -lhdf5 -lz -lm -L/X/szip-2.1/lib -lsz'
~~~

For shared builds, only -lnetcdf is needed. All other libraries will
Expand Down

1 comment on commit d35b1b5

@Dave-Allured
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Info. This version bump was needed because of a change in memory allocation mechanisms in HDF5 1.8. See netcdf-c issue #3000.

Please sign in to comment.