bugGNU Scientific Library - Bugs: bug #54919, gsl 2.5+ test fails with icc...

 
 

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

bug #54919: gsl 2.5+ test fails with icc (2016.4 and later)

Submitter:  Vladimir Khodygo <vladk>
Submitted:  Tue 30 Oct 2018 03:20:29 PM UTC
   
 
Category:  Build Severity:  3 - Normal
Priority:  5 - Normal Operating System:  linux 3.10.0-693.21.1.el7.x86_64
Status:  None Assigned to:  None
Open/Closed:  Open Release:  2.5+

Discussion

Mon 10 Nov 2025 05:33:29 PM UTC, comment #1: 

The test suite assumes that the relative errors are at most 1024*GSL_DBL_EPSILON,
which is effectively 2.2e-13. The results of your compiler are for this case
having errors of 6.e-13 and 5.e-13. If you are desperate to compile this
with a success of the 'make check' you need to increase the value
of 1024*GSL_DBL_EPSILON in test.c near line 3354 to something like 5000*GSL_DBL_EPSILON (so make
it roughly a factor 4 larger...)
In addition check that optimization during compilation is on such that the
compilers uses the full precision of the registers on your chips, which usually
is more than the 64 IEEE version.

R. J. Mathar <rjmathar>
Tue 30 Oct 2018 03:20:29 PM UTC, original submission:  

We have a new cluster with some recent versions of Intel compiler. The problem is that we can't build GSL using icc.
Our system:


linux 3.10.0-693.21.1.el7.x86_64


I tried to configure the build using all available versions:


$ module load compiler/intel/2018/4
$ ./configure CC="icc" && make && make check
$ tail linalg/test-suite.log
(100,100)[95,92]:  -0.146353039189954709                        0
(100,100)[95,93]:   0.936695419957380704                        1
(100,100)[95,97]:   0.787044424272387078                        1
FAIL:   SV_decomp bigsparse [155000]
FAIL: Singular Value Decomposition [221674]
  4[0]:   -63.9999999999570335                      -64
  4[1]:    899.999999999545594                      900
FAIL:   SV_solve hilbert(4) [388577]
FAIL: SVD Solve [388583]



$ module load compiler/intel/2018/3
$ ./configure CC="icc" && make && make check
$ tail linalg/test-suite.log
(100,100)[95,92]:  -0.146353039189954709                        0
(100,100)[95,93]:   0.936695419957380704                        1
(100,100)[95,97]:   0.787044424272387078                        1
FAIL:   SV_decomp bigsparse [155000]
FAIL: Singular Value Decomposition [221674]
  4[0]:   -63.9999999999570335                      -64
  4[1]:    899.999999999545594                      900
FAIL:   SV_solve hilbert(4) [388577]
FAIL: SVD Solve [388583]



$ module load compiler/intel/2018/2
$ ./configure CC="icc" && make && make check
$ tail linalg/test-suite.log
(100,100)[95,92]:  -0.146353039189954709                        0
(100,100)[95,93]:   0.936695419957380704                        1
(100,100)[95,97]:   0.787044424272387078                        1
FAIL:   SV_decomp bigsparse [155000]
FAIL: Singular Value Decomposition [221674]
  4[0]:   -63.9999999999570335                      -64
  4[1]:    899.999999999545594                      900
FAIL:   SV_solve hilbert(4) [388577]
FAIL: SVD Solve [388583]




$ module load compiler/intel/2017/7
$ ./configure CC="icc" && make && make check
$ tail linalg/test-suite.log
(100,100)[95,92]:  -0.146353039189954709                        0
(100,100)[95,93]:   0.936695419957380704                        1
(100,100)[95,97]:   0.787044424272387078                        1
FAIL:   SV_decomp bigsparse [155000]
FAIL: Singular Value Decomposition [221674]
  4[0]:   -63.9999999999570335                      -64
  4[1]:    899.999999999545594                      900
FAIL:   SV_solve hilbert(4) [388577]
FAIL: SVD Solve [388583]



$ module load compiler/intel/2017/4
$ ./configure CC="icc" && make && make check
$ tail linalg/test-suite.log
(100,100)[95,92]:  -0.146353039189954709                        0
(100,100)[95,93]:   0.936695419957380704                        1
(100,100)[95,97]:   0.787044424272387078                        1
FAIL:   SV_decomp bigsparse [155000]
FAIL: Singular Value Decomposition [221674]
  4[0]:   -63.9999999999570335                      -64
  4[1]:    899.999999999545594                      900
FAIL:   SV_solve hilbert(4) [388577]
FAIL: SVD Solve [388583]



$ module load compiler/intel/2016/4
$ ./configure CC="icc" && make && make check
$ cat cblas/test-suite.log
====================================
   gsl 2.5+: cblas/test-suite.log
====================================

# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: test
==========


Please, let me know if you need any additional information.

Vladimir Khodygo <vladk>

 

Attached Files

This item currently has no attached files.

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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

    History

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.16-1b88.
    Corresponding source code