dtransform test failure (HDF5 1.10.8, LLVM 13.0.0, Rocky8)

Hi all,

I’m trying to build HDF5 1.10.8 with LLVM 13.0.0 on Linux (Rocky8 x86_64) and it’s not passing tests. Has anyone tried this or have an idea how to debug, please?

CC=clang
FC=gfortran

tar xf hdf5-1.10.8.tar.bz2
cd hdf5-1.10.8
./configure
make -j32
make test

(skip passing tests)

============================
Testing: dtransform

Test log for dtransform

Testing Intializing test… PASSED
Testing H5Pget_data_transform (get before set) PASSED
Testing H5Pset_data_transform (set with NULL transform) PASSED
Testing H5Pset_data_transform (set with invalid transform 1) PASSED
Testing H5Pset_data_transform (set with invalid transform 2) PASSED
Testing H5Pset_data_transform (set with invalid transform 3) PASSED
Testing H5Pset_data_transform (set with invalid transform 4) PASSED
Testing H5Pset_data_transform (set with invalid transform 5) PASSED
Testing H5Pset_data_transform (set with invalid transform 6) PASSED
Testing H5Pset_data_transform (set with invalid transform 7) PASSED
Testing H5Pset_data_transform (set with invalid transform 8) PASSED
Testing contiguous, no data type conversion (char->char) FAILED
ERROR: Conversion failed to match computed data
make[4]: *** [Makefile:3387: dtransform.chkexe_] Error 1

Thanks,

Mark

Using CMake on fedora, The C compiler identification is Clang 12.0.1, everything passes.
I have to investigate what happens with autotools.

Allen

Hi Allen,

Many thanks for taking a look. I tried the alternative cmake build method for llvm 13.0.0 to see if that gave me better luck, (cmake … && make -j32 && make test) but tests failed with the message:

99% tests passed, 1 tests failed out of 2074

Total Test time (real) = 324.90 sec

The following tests FAILED:
	 56 - H5TEST-dtransform (Failed)
Errors while running CTest
make: *** [Makefile:160: test] Error 8

I’ve now tried with a few other compilers (using the configure method), and am getting the same test error on everything based on clang:

  • llvm 13.0.0 (built from source),
  • AMD’s aocc 3.1
  • Intel’s OneAPI 2021.4 (i.e. icx).

[Note that the OneAPI build was attempted after running “sh autogen.sh” with updated autotools (autoconf 2.71, automake 1.16.5, libtool 2.4.6) to avoid a known OneAPI issue].

I have successful builds that pass tests using GCC 4.8.1 (OS provided), GCC 11.2 (built from source), and Intel 2021.4 (i.e. icc)

Any ideas, please?

Thanks,

Mark

I wonder if it is clang 13 specific? Non of my build machines have 13 installed currently, but all the other versions pass.