Danyang Su <[email protected]> writes: > Hi Jed, > > Thanks for your double check. > > The HDF 1.10.6 version also works. But versions from 1.12.x stop working.
I'd suggest making a reduced test case in order to submit a bug report. This was the relevant change in PETSc for hdf5-1.12. https://gitlab.com/petsc/petsc/commit/806daeb7de397195b5132278177f4d5553f9f612 > Attached is the code section where I have problem. > > !c write the dataset collectively > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > !!!! CODE CRASHES HERE IF SOME PROCESSORS HAVE NO DATA TO WRITE!!!! > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! > call h5dwrite_f(dset_id, H5T_NATIVE_DOUBLE, dataset, hdf5_dsize, & > hdf5_ierr, file_space_id=filespace, & > mem_space_id=memspace, xfer_prp = xlist_id) > > Please let me know if there is something wrong in the code that causes the > problem.
