A problem when saving NATIVE_LDOUBLE variables

@byrn I got the file thanks! Using h5dump@v1.12.0 gcc-10.2.0 from SPACK I got the same behaviour; In my understanding the conversion function is y = f(x) with a well defined inverse x = F(y) which is triggered by the datatype H5T_NATIVE_LDOUBLE running two software on the same system should yield to identical result. Am I wrong?

steven@io:~/src/hdf5/tools/test/h5dump$ /opt/spack/opt/spack/gcc-10.2.0/hdf5/1.12.0-akcsj/bin/h5dump tldouble.h5 
HDF5 "tldouble.h5" {
GROUP "/" {
   DATASET "dset" {
      DATATYPE  H5T_NATIVE_LDOUBLE
      DATASPACE  SIMPLE { ( 3 ) / ( 3 ) }
      DATA {
      (0): 4.94066e-324, 4.94066e-324, 4.94066e-324
      }
   }
}
}

tldouble.h5 (2.0 KB)
h5cppldouble.h5 (4.6 KB)

1 Like