Hi Rafal, Ahh! I found a bug report for this same issue (HDFFV-10001). I added your information to the bug report.
Thanks! -Barbara h...@hdfgroup.org -----Original Message----- From: Hdf-forum [mailto:hdf-forum-boun...@lists.hdfgroup.org] On Behalf Of Rafal Lichwala Sent: Friday, October 27, 2017 4:06 AM To: hdf-forum@lists.hdfgroup.org Cc: HDF Helpdesk Subject: Re: [Hdf-forum] HDF5 library bug or feature? Hi Barbara, Thank you for an answer! Yes, your code also works fine on my side, BUT... when I try to set some custom H5P_FILE_ACCESS by call: H5Pset_fapl_mpio(plist_id, comm, info) (so running this example under OpenMPI - even for 1 process only) it DOES NOT work any more. In that case (see attached slightly modified your code) I've got the following output: 2: H5Pcreate: OK 2: H5Pset_fapl_mpio: OK 2: H5Fcreate: OK 2: H5Screate_simple: OK 2: H5Dcreate2: OK 2: H5Dclose: OK 2: H5Sclose: OK 2: H5Pclose: OK 2: H5Fclose: OK 2: H5Pcreate: OK 2: H5Pset_fapl_mpio: OK 2: H5Fopen: OK 2: H5Dopen2 Failed! 2: H5Dget_space Failed! 2: H5Dclose Failed! 2: H5Sclose Failed! 2: H5Pclose: OK 2: H5Fclose: OK HDF5 library also reports some error messages in that case: unable to open dataset unable to initialize file storage unable to mark dataspace as dirty unable to update layout info unable to write object header message unable to modify constant message The most interesting thing is (which possibly means it's a bug), that when in the same code I just change dims definition to: dims[0] = 1; dims[1] = 1; everything WORKS FINE now! :-) Best regards, Rafal W dniu 2017-10-26 o 17:53, Barbara Jones pisze: > > Hi Rafal, > > I am able to create a dataset with zero dimensions, close it, and re-open. > (See attached). > Can you send us an example of what you are trying that fails? > Please send it to the helpdesk: h...@hdfgroup.org > > Thanks! > -Barbara > h...@hdfgroup.org > > -----Original Message----- > From: Hdf-forum [mailto:hdf-forum-boun...@lists.hdfgroup.org] On > Behalf Of Gerd Heber > Sent: Thursday, October 26, 2017 6:49 AM > To: HDF Users Discussion List > Subject: Re: [Hdf-forum] HDF5 library bug or feature? > >>> Rafal, this might be a bug. > >> Is there any way to record/track this issue? > > Not sure. Helpdesk will check. (It's still early morning here...) > > G. > > _______________________________________________ > Hdf-forum is for HDF software users discussion. > Hdf-forum@lists.hdfgroup.org > http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.or > g > Twitter: https://twitter.com/hdf5 > > > > _______________________________________________ > Hdf-forum is for HDF software users discussion. > Hdf-forum@lists.hdfgroup.org > http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.or > g > Twitter: https://twitter.com/hdf5 > _______________________________________________ Hdf-forum is for HDF software users discussion. Hdf-forum@lists.hdfgroup.org http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org Twitter: https://twitter.com/hdf5