sanity checks for post linking of hdf5