On Dec 11, 2012, at 9:33 PM, Suman Vajjala wrote: > Hi, > > I thank you for the replies. The problem is that for creating a dataset > using H5Dcreate every processor has to know that dataset's size. Is there a > way of of doing it without the processors knowing the data size. >
Yes, you can do this. You will need to use chunking and unlimited dimensions when you create each dataset, and issue H5Dset_extent (http://www.hdfgroup.org/HDF5/doc/RM/RM_H5D.html#Dataset-SetExtent) to set the correct size before writing. Unfortunately this call is also collective. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Elena Pourmal The HDF Group http://hdfgroup.org 1800 So. Oak St., Suite 203, Champaign IL 61820 217.531.6112 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Regards > Suman > > On Wed, Dec 12, 2012 at 8:58 AM, Elena Pourmal <[email protected]> wrote: > reate ia > > _______________________________________________ > Hdf-forum is for HDF software users discussion. > [email protected] > http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
_______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
