On 32-bit systems, tests mapped_matrix_4 and rvalue_types_2 fail
When building on 32-bit systems, the following tests fail (in addition to some unsupported ones, see logs right at the end of this report):
[ 29s] -- ************************************************************
[ 29s] -- *** Eigen's unit tests configuration summary ***
[ 29s] -- ************************************************************
[ 29s] --
[ 29s] -- Build type: RelWithDebInfo
[ 29s] -- Build site: localhost
[ 29s] -- Build string: linux-5.9.12-1-default-_-10.2.1-omp-32bit-cxx11-v3.3
[ 29s] -- Enabled backends: Cholmod, UmfPack, SuperLU, SPQR, Boost.Multiprecision, GoogleHash, Adolc, MPFR C++, fftw,
[ 29s] -- Disabled backends: PaStiX, METIS, Qt4 support, OpenGL,
[ 29s] -- Default order: Column-major
[ 29s] -- Maximal matrix/vector size: 320
[ 29s] -- SSE2: Using architecture defaults
[ 29s] -- SSE3: Using architecture defaults
[ 29s] -- SSSE3: Using architecture defaults
[ 29s] -- SSE4.1: Using architecture defaults
[ 29s] -- SSE4.2: Using architecture defaults
[ 29s] -- AVX: Using architecture defaults
[ 29s] -- FMA: Using architecture defaults
[ 29s] -- AVX512: Using architecture defaults
[ 29s] -- Altivec: Using architecture defaults
[ 29s] -- VSX: Using architecture defaults
[ 29s] -- ARM NEON: Using architecture defaults
[ 29s] -- ARMv8 NEON: Using architecture defaults
[ 29s] -- S390X ZVECTOR: Using architecture defaults
[ 29s] -- C++11: ON
[ 29s] -- SYCL: OFF
[ 29s] -- CUDA: OFF
[ 29s] --
[ 29s] CXX: /var/lib/build/ccache/bin/c++
[ 29s] CXX_VERSION: c++ (SUSE Linux) 10.2.1 20201202 [revision e563687cf9d3d1278f45aaebd03e0f66531076c9]
[ 29s] CXX_FLAGS: -fomit-frame-pointer -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -DNDEBUG -std=c++11 -pedantic -Wall -Wextra -Wundef -Wcast-align -Wchar-subscripts -Wnon-virtual-dtor -Wunused-local-typedefs -Wpointer-arith -Wwrite-strings -Wformat-security -Wlogical-op -Wdouble-promotion -Wno-psabi -Wno-variadic-macros -Wno-long-long -fno-check-new -fno-common -fstrict-aliasing -ansi -fopenmp
[ 29s] Sparse lib flags: ;/usr/lib/libcholmod.so;/usr/lib/libamd.so;/usr/lib/libcolamd.so;/usr/lib/libcamd.so;/usr/lib/libccolamd.so;/usr/lib/libmetis.so;eigen_blas;eigen_lapack;/usr/lib/libumfpack.so;/usr/lib/libcolamd.so;/usr/lib/libamd.so;/usr/lib/libcholmod.so;eigen_blas;/usr/lib/libsuperlu.so;eigen_blas;/usr/lib/libspqr.so;/usr/lib/libcholmod.so;/usr/lib/libcholmod.so;/usr/lib/libamd.so;/usr/lib/libcolamd.so;/usr/lib/libcamd.so;/usr/lib/libccolamd.so;/usr/lib/libmetis.so;eigen_lapack;eigen_blas
[ 29s]
[ 29s] -- ************************************************************
[ 29s] --
...
[ 843s] Start 183: mapped_matrix_4
[ 843s] 171/966 Test #183: mapped_matrix_4 ...................................Subprocess aborted***Exception: 0.04 sec
[ 843s] Initializing random number generator with seed 1607527943
[ 843s] Repeating each test 10 times
[ 843s]
[ 843s] actual = (-0.1072,-0.4202) (-0.8312,-0.6971) (0.3113,0.8164) (-0.7759,0.5474)
[ 843s] (-1.336,0.07289) (-0.1176,0.6778) (-0.3066,-0.7248) (0.6416,0.6329)
[ 843s] (0.7139,-0.5761) (-0.3531,1.26) (-0.1942,0.573) (-0.05901,0.2059)
[ 843s] (0.2008,-1.42) (0.5731,0.5488) (-0.1789,-1.108) (0.2543,0.03789)
[ 843s] (0.2697,0.2739) (0.4079,0.1946) (0.2422,-1.248) (0.3884,0.8696)
[ 843s] expected = (-0.1072,-0.4202) (-0.8312,-0.6971) (0.3113,0.8164) (-0.7759,0.5474)
[ 843s] (-1.336,0.07289) (-0.1176,0.6778) (-0.3066,-0.7248) (0.6416,0.6329)
[ 843s] (0.7139,-0.5761) (-0.3531,1.26) (-0.1942,0.573) (-0.05901,0.2059)
[ 843s] (0.2008,-1.42) (0.5731,0.5488) (-0.1789,-1.108) (0.2543,0.03789)
[ 843s] (0.2697,0.2739) (0.4079,0.1946) (0.2422,-1.248) (0.3884,0.8696)
[ 843s]
[ 843s] Test map_class_matrix(MatrixXcf(internal::random<int>(1,10),internal::random<int>(1,10))) failed in /home/abuild/rpmbuild/BUILD/eigen-3.3.9/test/mapped_matrix.cpp (94)
[ 843s] test_is_equal(s1*ma1, s1*ma3, true)
[ 843s] Stack:
[ 843s] - map_class_matrix(MatrixXcf(internal::random<int>(1,10),internal::random<int>(1,10)))
[ 843s] - mapped_matrix
[ 843s] - Seed: 1607527943
...
[ 1222s] Start 650: rvalue_types_2
[ 1222s] 638/966 Test #650: rvalue_types_2 ....................................Subprocess aborted***Exception: 0.04 sec
[ 1222s] Initializing random number generator with seed 1607528322
[ 1222s] Repeating each test 10 times
[ 1222s]
[ 1222s] actual = 2.79397e-09
[ 1222s] expected = 0
[ 1222s]
[ 1222s] Test rvalue_copyassign( Array<float,3,1>::Random().eval() ) failed in /home/abuild/rpmbuild/BUILD/eigen-3.3.9/test/rvalue_types.cpp (43)
[ 1222s] test_is_equal(abs_diff, Scalar(0), true)
[ 1222s] Stack:
[ 1222s] - rvalue_copyassign( Array<float,3,1>::Random().eval() )
[ 1222s] - rvalue_types
[ 1222s] - Seed: 1607528322
In addition, some of the unsupported tests fails (just additional info)
...
[ 1317s] 768/966 Test #780: levenberg_marquardt ...............................Subprocess aborted***Exception: 0.07 sec
[ 1317s] Initializing random number generator with seed 1607528416
[ 1317s] Repeating each test 10 times
[ 1317s]
[ 1317s] actual = 3
[ 1317s] expected = 1
[ 1317s]
[ 1317s] Test testNistMisra1d() failed in /home/abuild/rpmbuild/BUILD/eigen-3.3.9/unsupported/test/levenberg_marquardt.cpp (555)
[ 1317s] test_is_equal(info, 1, true)
[ 1317s] Stack:
[ 1317s] - testNistMisra1d()
[ 1317s] - levenberg_marquardt
[ 1317s] - Seed: 1607528416
...
[ 1344s] 802/966 Test #814: cxx11_tensor_contraction ..........................Subprocess aborted***Exception: 3.32 sec
[ 1344s] Initializing random number generator with seed 1607528441
[ 1344s] Repeating each test 10 times
[ 1344s] cxx11_tensor_contraction: /home/abuild/rpmbuild/BUILD/eigen-3.3.9/Eigen/src/Core/products/GeneralBlockPanelKernel.h:129: void Eigen::internal::evaluateProductBlockingSizesHeuristic(Index&, Index&, Index&, Index) [with LhsScalar = float; RhsScalar = float; int KcFactor = 1; Index = int]: Assertion `n_cache >= static_cast<Index>(nr)' failed.
...
[ 1367s] Start 855: cxx11_tensor_generator
[ 1367s] 843/966 Test #855: cxx11_tensor_generator ............................Subprocess aborted***Exception: 0.00 sec
[ 1367s] Initializing random number generator with seed 1607528467
[ 1367s] Repeating each test 10 times
[ 1367s]
[ 1367s] actual = 8.80974e-21
[ 1367s] expected = 8.80978e-21
[ 1367s]
[ 1367s] Test test_gaussian<ColMajor>() failed in /home/abuild/rpmbuild/BUILD/eigen-3.3.9/unsupported/test/cxx11_tensor_generator.cpp (77)
[ 1367s] test_is_equal(result(i, j), gaussian, true)
[ 1367s] Stack:
[ 1367s] - test_gaussian<ColMajor>()
[ 1367s] - cxx11_tensor_generator
[ 1367s] - Seed: 1607528467
...
[ 1368s] 848/966 Test #860: cxx11_tensor_scan .................................Subprocess aborted***Exception: 0.05 sec
[ 1368s] Initializing random number generator with seed 1607528467
[ 1368s] Repeating each test 10 times
[ 1368s]
[ 1368s] actual = 4.74417
[ 1368s] expected = 4.74417
[ 1368s]
[ 1368s] Test (test_1d_scan<ColMajor, float, true>()) failed in /home/abuild/rpmbuild/BUILD/eigen-3.3.9/unsupported/test/cxx11_tensor_scan.cpp (30)
[ 1368s] test_is_equal(result(i), accum, true)
[ 1368s] Stack:
[ 1368s] - (test_1d_scan<ColMajor, float, true>())
[ 1368s] - cxx11_tensor_scan
[ 1368s] - Seed: 1607528467
...
[ 1537s] 99% tests passed, 6 tests failed out of 966
[ 1537s]
[ 1537s] Label Time Summary:
[ 1537s] Official = 7220.51 sec*proc (684 tests)
[ 1537s] Unsupported = 712.46 sec*proc (164 tests)
[ 1537s]
[ 1537s] Total Test time (real) = 717.16 sec
[ 1537s]
[ 1537s] The following tests FAILED:
[ 1537s] 183 - mapped_matrix_4 (Subprocess aborted)
[ 1537s] 650 - rvalue_types_2 (Subprocess aborted)
[ 1537s] 780 - levenberg_marquardt (Subprocess aborted)
[ 1537s] 814 - cxx11_tensor_contraction (Subprocess aborted)
[ 1537s] 855 - cxx11_tensor_generator (Subprocess aborted)
[ 1537s] 860 - cxx11_tensor_scan (Subprocess aborted)
[ 1537s] Errors while running CTest
Full sources are here.
Edited by badshah400