set_alloc_time is exactly what I am looking for. Thank you all!

Unfortunately I do not have the luxury of a newer MATLAB, and thus I am probably stuck with the 1.6.5 HDF version. I doubt that it is possible to independently upgrade the HDF library. I am quite sure that this combo has some nasty bugs; right now, I am struggling with incorrect all-zero reads from some machines after changing the initial fill pattern. The failure happens without any error messages, and because MATLAB swallows the API return codes, I can only guess what is happening. Maybe the 0.5GB buffer cache I am using is too large for some hardware.

BTW is parallel access safe with read-only access opening? I have already learnt the hard way that read-write opening is not safe even when reading only (file was truncated to its header once). I read somewhere that this is a confirmed bug in this HDF version, but I would expect parallel reads to be safe for read-only opening, even if the library was compiled without threading support.

Once more, thank you for your answers.

Regards,
Balint

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to