[MacPorts] #51089: hdf5 netcdf version problem
MacPorts
noreply at macports.org
Tue May 3 08:33:35 PDT 2016
#51089: hdf5 netcdf version problem
--------------------------------+--------------------------------
Reporter: barry.j.mcinnes@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords:
Port: hdf5 netcdf |
--------------------------------+--------------------------------
Comment (by barry.j.mcinnes@…):
{{{
AN example of the problems with hdf5 1.10, here is a hdf5dump of generated
netcdf files using
hdf5 1.8.16
mac56:~/hdf5 2> foreach f ( netcdf* )
foreach? /opt/local/bin/h5dump -BH $f | grep SUPERBLOCK
foreach? end
h5dump error: unable to open file "netcdf3.nc"
SUPERBLOCK_VERSION 2
SUPERBLOCK_VERSION 2
SUPERBLOCK_VERSION 2
SUPERBLOCK_VERSION 3
SUPERBLOCK_VERSION 3
mac56:~/hdf5 5> ls -l
total 240
drwxr-xr-x 2 dallured rain 102 Apr 26 18:22 logfiles
-rw-r--r-- 1 dallured rain 384 Apr 18 18:03 netcdf3.nc
-rw-r--r-- 1 dallured rain 6480 Apr 26 15:39 netcdf4-classic.nc
-rw-rw-r-- 1 dallured rain 20173 Apr 5 09:22 netcdf4-classic.rean.nc
-rw-r--r-- 1 dallured rain 6480 Apr 18 18:04 netcdf4.nc
-rw-r--r-- 1 dallured rain 36882 Apr 7 12:10 netcdf4.superblock-3.nc
-rw-r--r-- 1 dallured rain 36882 Apr 7 12:10 netcdf4.superblock-3.nc4
mac56:~/hdf5 6>
then using the default macports install of hdf5 1.10
mac27:~/hdf5 9> foreach f ( netcdf* )
foreach? /opt/local/bin/h5dump -BH $f | grep SUPERBLOCK
foreach? end
h5dump error: unable to open file "netcdf3.nc"
h5dump error: unable to open file "netcdf4-classic.nc"
h5dump error: unable to open file "netcdf4-classic.rean.nc"
h5dump error: unable to open file "netcdf4.nc"
h5dump error: unable to open file "netcdf4.superblock-3.nc"
h5dump error: unable to open file "netcdf4.superblock-3.nc4"
mac27:~/hdf5 12>
Which is why we cannot use the current macports default hdf5 install.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/51089#comment:19>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list