Yes, you should be able to do that as long as you set dataset allocation to 
EARLY when creating datasets in serial mode (the default is not Early for the 
non-parallel case):
https://www.hdfgroup.org/HDF5/doc/RM/RM_H5P.html#Property-SetAllocTime

While I don’t see any issues in the approach, this is not very well tested in 
HDF5 so if you find bugs please report to our Helpdesk.

Thanks,
Mohamad

From: Hdf-forum <[email protected]> on behalf of Andrew Ho 
<[email protected]>
Reply-To: hdf-forum <[email protected]>
Date: Thursday, June 16, 2016 at 12:01 PM
To: hdf-forum <[email protected]>
Subject: Re: [Hdf-forum] Parallel HDF5 file locking error

If I open up an H5 file with serial HDF5, can I write the metadata with one 
node (setup groups/attributes/datasets), and then later open up the H5 file 
from multiple nodes and only write actual data?


_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

Reply via email to