Does Parellel HDF5 support derived data write?

Hi Quincey,

    Thanks for your answer.
    I understand what you said. But it seemed to be not a good ideas.
    I was reading the HDF5 user guide. I feel that use H5Tcreate, H5Tinsert to create a new compound datatype may solve this problems. May be I was wrong and I still don't know how to use HOFFSET in the situation.
    Or you have any other suggestions about this questions. I do want to write mass of data to a dataset in parellel HDF5 and I do not want to allocate a continous large memory to store the data.




From: "Quincey Koziol"
Date: 2009-09-02 22:12:19
Hi Tony,

On Sep 2, 2009, at 8:01 AM, tony wrote:

Hi all,

    I want to write the data to a datasets from different memory
address in parellel HDF5,
    For example:
        buf1[4] = {1,2,3,4}, buf2[3] = {5, 6, 7}, buf3[2]=[8,9}.
   I want to write these datas(memory address not continous) to a
dataset like this:
   I want to write these data by only one H5Dwrite calls, not
through 3 H5Dwrite calls.

  If you are careful, you could get this to work, but you'll have to
determine which buffer has the lowest address in memory which buffer
has the highest address in memory and define a dataspace that spans
that whole range. Then select the elements within that "spanning
buffer" that you'd like to perform I/O to a single dataset on.


Hdf-forum is for HDF software users discussion.

2 posts were merged into an existing topic: Does Parellel HDF5 support derived data write?