Hi Paul,

On Mar 26, 2010, at 5:24 PM, Paul Zumbo wrote:

> 
> Hello,
> 
> I am new to HD5.
> 
> 
> I am trying to create many many number of groups ; however, the below piece 
> of code hangs,
> 
>       chr1_id = H5Gcreate(file_id, "/chr1", H5P_DEFAULT, H5P_DEFAULT, 
> H5P_DEFAULT);
>       for (i = 1; i <= 247249719; i++){
>               k = sprintf(pos, "%d", i);
>               group_id = H5Gcreate(chr1_id, pos, H5P_DEFAULT, H5P_DEFAULT, 
> H5P_DEFAULT);
>               status = H5Gclose(group_id);
>       }
> 
> whenever i attempt to create, say, 1000 groups, it works just fine..
> is there a maximum number of groups that an H5 structure supports?
> 
> am I doing some wrong?

        Looks fine to me.  What version of the HDF5 library are you using?

        Quincey


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

Reply via email to