Opened 7 years ago
Closed 7 years ago
#54177 closed update (fixed)
netcdf @4.4.1: update to 4.4.1.1
Reported by: | Dave-Allured (Dave Allured) | Owned by: | tenomoto (Takeshi Enomoto) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | netcdf |
Description
netcdf-C released 2016 November 23: http://www.unidata.ucar.edu/blogs/news/entry/netcdf-4-4-1-1
Please also update dependency from hdf5-18 to hdf5 1.10.1 if it can be done through the same ticket.
See also #54139: Update hdf5 to 1.10.1.
See also #54101: Ports that depend on hdf5-18 should switch to hdf5. See caveats in this ticket.
Change History (4)
comment:1 Changed 7 years ago by mf2k (Frank Schima)
Cc: | takeshi@… removed |
---|---|
Owner: | set to tenomoto |
Status: | new → assigned |
comment:2 Changed 7 years ago by Dave-Allured (Dave Allured)
comment:3 Changed 7 years ago by dschlaep (daniel)
I am having the same hdf5 header/library mismatch as described in #52289 when loading netCDF files with the R package ncdf4 v1.16:
The HDF5 header files used to compile this application do not match the version used by the HDF5 library to which this application is linked.
I cannot wait until the macport netcdf is updated to version 4.4.1.1 and this works again.
I was able to get the header and library version of hdf5 that is used by ncdf4 to agree with the following steps:
1) install macports 'netcdf' (4.4.1_3+dap+netcdf4) 'hdf5-18' (1.8.18_0+cxx+hl)
2) copy (or create softlinks to) the content
- from /opt/local/lib/hdf5-18/bin to /opt/local/bin
- from /opt/local/lib/hdf5-18/include to /opt/local/include
- from /opt/local/lib/hdf5-18/lib to /opt/local/lib
3) install the R package 'ncdf4' from source
Now, I can load netCDF files with ncdf4 without segfault.
comment:4 Changed 7 years ago by tenomoto (Takeshi Enomoto)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
MacPorts hdf5 is now updated to 1.10.1 as of 2017 May 22. See #54139.
My two caveats in #54101 are now resolved for Netcdf. This port is ready for update to Netcdf version 4.4.1.1, with dependency change hdf5-18 to normal hdf5.