bugGNU Scientific Library - Bugs: bug #60335, Test failure in spmatrix

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #60335: Test failure in spmatrix

Submitter:  Patrick Alken <psa>
Submitted:  Sun 04 Apr 2021 05:13:07 AM UTC
   
 
Category:  Runtime error Severity:  3 - Normal
Operating System:  Status:  Fixed
Assigned to:  None Open/Closed:  Closed
Release: 

Thu 22 Jun 2023 01:38:51 PM UTC, comment #4: 

This could be related to the broken -ffp-contract=fast default in GCC.

Florian Weimer <fweimer>
Thu 22 Jun 2023 11:26:48 AM UTC, comment #3: 

We see similar failures with -march=x86-64-v3 (which also includes FMA):

FAIL: gsl_spmatrix_complex_float_scale_columns[53,107](COO) real (6.17895793914794922 observed vs 6.17895841598510742 expected) [21704]
FAIL: gsl_spmatrix_complex_float_scale_columns[53,107](COO) imag (144.412811279296875 observed vs 144.412826538085938 expected) [21709]

See the attached file build.log for the full list.

Maybe the solution is to increase the ULP limit for these test results?

(file #54860)

Florian Weimer <fweimer>
Thu 22 Jun 2023 11:25:40 AM UTC, comment #2: 

We see similar failures with -march=x86-64-v3 (which also includes FMA):

FAIL: gsl_spmatrix_complex_float_scale_columns[53,107](COO) real (6.17895793914794922 observed vs 6.17895841598510742 expected) [21704]
FAIL: gsl_spmatrix_complex_float_scale_columns[53,107](COO) imag (144.412811279296875 observed vs 144.412826538085938 expected) [21709]

See the attached file build.log for the full list.

Maybe the solution is to increase the ULP limit for these test results?

Florian Weimer <fweimer>
Sun 04 Apr 2021 07:09:19 AM UTC, comment #1: 

spmatrix test failure fixed in commit 15ea0bf6bb19c048010fed2879ff2669ed37a1b7

Note that gsl_linalg_hessenberg is deprecated and is replaced by gsl_linalg_hessenberg_decomp

Patrick Alken <psa>
Group administrator
Sun 04 Apr 2021 05:13:07 AM UTC, original submission:  

from J.D.Lamb =at= johndlamb =dot= net

I notice that gsl_linalg_hessenberg is still not declared in any header file. Presumably the intention was to declare it in gsl_linalg.h

Also I get the following fails in spmatrix:
Linux 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
CFLAGS = -march=native -O2 -malign-double -Wall -pipe -pedantic -Wno-long-long

FAIL: gsl_spmatrix_complex_scale_columns[53,107](COO) [1132]
FAIL: gsl_spmatrix_complex_scale_rows[53,107](COO) [1133]
FAIL: gsl_spmatrix_complex_scale_columns[53,107](CSC) [1135]
FAIL: gsl_spmatrix_complex_scale_rows[53,107](CSC) [1136]
FAIL: gsl_spmatrix_complex_scale_columns[53,107](CSR) [1138]
FAIL: gsl_spmatrix_complex_scale_rows[53,107](CSR) [1139]
FAIL: gsl_spmatrix_complex_float_scale[53,107](COO) [1211]
FAIL: gsl_spmatrix_complex_float_scale_columns[53,107](COO) [1212]
FAIL: gsl_spmatrix_complex_float_scale_rows[53,107](COO) [1213]
FAIL: gsl_spmatrix_complex_float_scale[53,107](CSC) [1214]
FAIL: gsl_spmatrix_complex_float_scale_columns[53,107](CSC) [1215]
FAIL: gsl_spmatrix_complex_float_scale_rows[53,107](CSC) [1216]
FAIL: gsl_spmatrix_complex_float_scale[53,107](CSR) [1217]
FAIL: gsl_spmatrix_complex_float_scale_columns[53,107](CSR) [1218]
FAIL: gsl_spmatrix_complex_float_scale_rows[53,107](CSR) [1219]
FAIL: gsl_spmatrix_complex_scale_columns[40,20](COO) [2450]
FAIL: gsl_spmatrix_complex_scale_rows[40,20](COO) [2451]
FAIL: gsl_spmatrix_complex_scale_columns[40,20](CSC) [2453]
FAIL: gsl_spmatrix_complex_scale_rows[40,20](CSC) [2454]
FAIL: gsl_spmatrix_complex_scale_columns[40,20](CSR) [2456]
FAIL: gsl_spmatrix_complex_scale_rows[40,20](CSR) [2457]
FAIL: gsl_spmatrix_complex_float_scale[40,20](COO) [2529]
FAIL: gsl_spmatrix_complex_float_scale_columns[40,20](COO) [2530]
FAIL: gsl_spmatrix_complex_float_scale_rows[40,20](COO) [2531]
FAIL: gsl_spmatrix_complex_float_scale[40,20](CSC) [2532]
FAIL: gsl_spmatrix_complex_float_scale_columns[40,20](CSC) [2533]
FAIL: gsl_spmatrix_complex_float_scale_rows[40,20](CSC) [2534]
FAIL: gsl_spmatrix_complex_float_scale[40,20](CSR) [2535]
FAIL: gsl_spmatrix_complex_float_scale_columns[40,20](CSR) [2536]
FAIL: gsl_spmatrix_complex_float_scale_rows[40,20](CSR) [2537]
FAIL: gsl_spmatrix_complex_scale_columns[30,30](COO) [3768]
FAIL: gsl_spmatrix_complex_scale_rows[30,30](COO) [3769]
FAIL: gsl_spmatrix_complex_scale_columns[30,30](CSC) [3771]
FAIL: gsl_spmatrix_complex_scale_rows[30,30](CSC) [3772]
FAIL: gsl_spmatrix_complex_scale_columns[30,30](CSR) [3774]
FAIL: gsl_spmatrix_complex_scale_rows[30,30](CSR) [3775]
FAIL: gsl_spmatrix_complex_float_scale[30,30](COO) [3847]
FAIL: gsl_spmatrix_complex_float_scale_columns[30,30](COO) [3848]
FAIL: gsl_spmatrix_complex_float_scale_rows[30,30](COO) [3849]
FAIL: gsl_spmatrix_complex_float_scale[30,30](CSC) [3850]
FAIL: gsl_spmatrix_complex_float_scale_columns[30,30](CSC) [3851]
FAIL: gsl_spmatrix_complex_float_scale_rows[30,30](CSC) [3852]
FAIL: gsl_spmatrix_complex_float_scale[30,30](CSR) [3853]
FAIL: gsl_spmatrix_complex_float_scale_columns[30,30](CSR) [3854]
FAIL: gsl_spmatrix_complex_float_scale_rows[30,30](CSR) [3855]



Patrick Alken <psa>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #54860:  build.log added by fweimer (713KiB - text/x-log)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by fweimer (Posted a comment)
  • -email is unavailable- added by psa (Submitted the item)
  •  

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-06-22 fweimer Attached File- Added build.log, #54860
    2021-04-04 psa StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code