I tried to enable dense attribute storage by using H5Pset_attr_phase_change()
with both max_compact and min_dense set to zero. However it did not work and
attributes are still stored in the object header. That causes the
application to fail when attribute size reaches 64K.
Analyzing the HDF5 codes I found that since the latest_format property is
set (by default) to false the dense storage request is simply ignored. I
tried to set it to true by using H5Pset_libver_bounds(id, H5F_LIBVER_LATEST,
H5F_LIBVER_LATEST). As a result however the application started to crash.
I use 1.8.6.
If anybody was able to use dense storage for attributes larger than 16K
please share your thoughts.
HDF5 doesn't support attributes bigger than 64K. Dense storage was introduced to handle large numbers of attributes, but not a bigger size.
Are you saying that you cannot create an attribute bigger than 16KB (and less than 64K)? If so, an example program that demonstrates the issue will be highly appreciated.
Thank you!
Elena
···
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Elena Pourmal The HDF Group http://hdfgroup.org
1800 So. Oak St., Suite 203, Champaign IL 61820
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
On Dec 28, 2011, at 1:17 PM, AV wrote:
I tried to enable dense attribute storage by using H5Pset_attr_phase_change() with both max_compact and min_dense set to zero. However it did not work and attributes are still stored in the object header. That causes the application to fail when attribute size reaches 64K. Analyzing the HDF5 codes I found that since the latest_format property is set (by default) to false the dense storage request is simply ignored. I tried to set it to true by using H5Pset_libver_bounds(id, H5F_LIBVER_LATEST, H5F_LIBVER_LATEST). As a result however the application started to crash. I use 1.8.6. If anybody was able to use dense storage for attributes larger than 16K please share your thoughts. Thanks, Alex
View this message in context: Dense storage for large attributes in 1.8
Sent from the hdf-forum mailing list archive at Nabble.com.
_______________________________________________
Hdf-forum is for HDF software users discussion. Hdf-forum@hdfgroup.org http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
I am sorry, I was wrong. HDF5 1.8.8 should support attributes bigger than 64KB. Could you please send the example of failing program to help@hdfgroup.org?
Thank you!
Elena
···
On Jan 3, 2012, at 11:03 PM, Elena Pourmal wrote:
Alex,
HDF5 doesn't support attributes bigger than 64K. Dense storage was introduced to handle large numbers of attributes, but not a bigger size.
Are you saying that you cannot create an attribute bigger than 16KB (and less than 64K)? If so, an example program that demonstrates the issue will be highly appreciated.
Thank you!
Elena
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Elena Pourmal The HDF Group http://hdfgroup.org
1800 So. Oak St., Suite 203, Champaign IL 61820
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
On Dec 28, 2011, at 1:17 PM, AV wrote:
I tried to enable dense attribute storage by using H5Pset_attr_phase_change() with both max_compact and min_dense set to zero. However it did not work and attributes are still stored in the object header. That causes the application to fail when attribute size reaches 64K. Analyzing the HDF5 codes I found that since the latest_format property is set (by default) to false the dense storage request is simply ignored. I tried to set it to true by using H5Pset_libver_bounds(id, H5F_LIBVER_LATEST, H5F_LIBVER_LATEST). As a result however the application started to crash. I use 1.8.6. If anybody was able to use dense storage for attributes larger than 16K please share your thoughts. Thanks, Alex
View this message in context: Dense storage for large attributes in 1.8
Sent from the hdf-forum mailing list archive at Nabble.com.
_______________________________________________
Hdf-forum is for HDF software users discussion. Hdf-forum@hdfgroup.org http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org