Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
eigen
eigen
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 590
    • Issues 590
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Custom Issue Tracker
    • Custom Issue Tracker
  • Merge Requests 17
    • Merge Requests 17
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • libeigen
  • eigeneigen
  • Issues
  • #2088

Closed
Open
Opened Dec 08, 2020 by badshah400@badshah400

When running tests, matrix_power_10 crashes with seed 1607390027

Eigen version: 3.3.9 GCC version: 10.2.1

When running tests (using ctest), the only test that fails is matrix_power_10 with the following log. I am trying to build eigen 3.3.9 packages for openSUSE. If we fix the seed to some specific value by passing, for example export EIGEN_SEED=100 the test no longer crashes, and indeed succeeds (all other tests succeed too).

Just noting here that we do build with LTO enabled.

[ 1340s] 718/972 Test #732: matrix_power_10 ...................................Subprocess aborted***Exception:   0.01 sec
[ 1340s] Initializing random number generator with seed 1607390027
[ 1340s] Repeating each test 10 times
[ 1340s] Test testGeneral(Matrix3d(), 1e-13) failed in /home/abuild/rpmbuild/BUILD/eigen-3.3.9/unsupported/test/matrix_power.cpp (91)
[ 1340s]     m4.isApprox(m5, tol)
[ 1340s] Stack:
[ 1340s]   - testGeneral(Matrix3d(), 1e-13)
[ 1340s]   - matrix_power
[ 1340s]   - Seed: 1607390027
[ 1340s] 
...
[ 1557s] 99% tests passed, 1 tests failed out of 972
[ 1557s] 
[ 1557s] Label Time Summary:
[ 1557s] Official       = 6619.46 sec*proc (684 tests)
[ 1557s] Unsupported    = 574.85 sec*proc (170 tests)
[ 1557s] 
[ 1557s] Total Test time (real) = 589.81 sec
[ 1557s] 
[ 1557s] The following tests FAILED:
[ 1557s]        732 - matrix_power_10 (Subprocess aborted)
[ 1557s] Errors while running CTest
[ 1557s] error: Bad exit status from /var/tmp/rpm-tmp.R6qHtK (%check)
[ 1557s] 

Here is a summary of the configuration printed out by eigen just before the build begins:

[   34s] -- ************************************************************
[   34s] -- ***    Eigen's unit tests configuration summary          ***
[   34s] -- ************************************************************
[   34s] --
[   34s] -- Build type:        RelWithDebInfo
[   34s] -- Build site:        localhost
[   34s] -- Build string:      linux-5.9.12-1-default-_-10.2.1-sse2-omp-64bit-cxx11-v3.3
[   34s] -- Enabled backends:  Cholmod,  UmfPack,  SuperLU,  SPQR,  Boost.Multiprecision,  GoogleHash,  Adolc,  MPFR C++,  fftw,
[   34s] -- Disabled backends: PaStiX,  METIS,  Qt4 support,  OpenGL,
[   34s] -- Default order:     Column-major
[   34s] -- Maximal matrix/vector size: 320
[   34s] -- SSE2:              Using architecture defaults
[   34s] -- SSE3:              Using architecture defaults
[   34s] -- SSSE3:             Using architecture defaults
[   34s] -- SSE4.1:            Using architecture defaults
[   34s] -- SSE4.2:            Using architecture defaults
[   34s] -- AVX:               Using architecture defaults
[   34s] -- FMA:               Using architecture defaults
[   34s] -- AVX512:            Using architecture defaults
[   34s] -- Altivec:           Using architecture defaults
[   34s] -- VSX:               Using architecture defaults
[   34s] -- ARM NEON:          Using architecture defaults
[   34s] -- ARMv8 NEON:        Using architecture defaults
[   34s] -- S390X ZVECTOR:     Using architecture defaults
[   34s] -- C++11:             ON
[   34s] -- SYCL:              OFF
[   34s] -- CUDA:              OFF
[   34s] --
[   34s] CXX:               /var/lib/build/ccache/bin/c++
[   34s]  CXX_VERSION:       c++ (SUSE Linux) 10.2.1 20201117 [revision 98ba03ffe0b9f37b4916ce6238fad754e00d720b]
[   34s]  CXX_FLAGS:         -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
[   34s]  Sparse lib flags:   ;/usr/lib64/libcholmod.so;/usr/lib64/libamd.so;/usr/lib64/libcolamd.so;/usr/lib64/libcamd.so;/usr/lib64/libccolamd.so;/usr/lib64/libmetis.so;ei
gen_blas;eigen_lapack;/usr/lib64/libumfpack.so;/usr/lib64/libcolamd.so;/usr/lib64/libamd.so;/usr/lib64/libcholmod.so;eigen_blas;/usr/lib64/libsuperlu.so;eigen_blas;/usr/lib6
4/libspqr.so;/usr/lib64/libcholmod.so;/usr/lib64/libcholmod.so;/usr/lib64/libamd.so;/usr/lib64/libcolamd.so;/usr/lib64/libcamd.so;/usr/lib64/libccolamd.so;/usr/lib64/libmeti
s.so;eigen_lapack;eigen_blas
[   34s]
[   34s] -- ************************************************************
[   34s] --

Full build sources, incl. specfiles, etc., are here. Thanks in advance for any help.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: libeigen/eigen#2088