bugGNU Scientific Library - Bugs: bug #39152, make check errors with Intel icc...

 
 

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

bug #39152: make check errors with Intel icc 13.0.1

Submitted by:  Patrick Alken <psa>
Submitted on:  Mon 03 Jun 2013 03:26:28 PM UTC  
 
Category: Accuracy problemSeverity: 3 - Normal
Operating System: Status: None
Assigned to: NoneOpen/Closed: Open
Release: 

Wed 05 Jun 2013 09:21:51 PM UTC, comment #4:

I made a new bug report (39171) to track the -ffast-math issue. For this report I think the main thing is to get make check working out of the box on intel compilers.

I like the idea of adding some autoconf code to add in -fp-model precise when icc is detected, though older icc's don't have this flag.

Patrick Alken <psa>
Project Administrator
Wed 05 Jun 2013 10:36:21 AM UTC, comment #3:

Do you think a good approach would be to (a) determine exactly which Intel optimizations are problematic and to disable them or to (b) isolate the files for which GCC's -ffast-math causes problems, resolve those first, and revisit this?

Rhys Ulerich <rhysu>
Project Administrator
Mon 03 Jun 2013 04:43:38 PM UTC, comment #2:

Intel icc turns on unsafe floating point optimizations by default, where gcc does not (gcc must specify -ffast-math for these). Compiling GSL with gcc -ffast-math produces many similar errors as seen by the icc logs below. To turn off unsafe optimizations in icc use -fp-model precise:

make CFLAGS="-fp-model precise -g -O2"
make CFLAGS="-fp-model double -g -O2"

Both of these pass all tests

Patrick Alken <psa>
Project Administrator
Mon 03 Jun 2013 03:37:05 PM UTC, comment #1:

make CFLAGS="-O0" check passes all tests

The default flags -g -O2 fail

Patrick Alken <psa>
Project Administrator
Mon 03 Jun 2013 03:26:28 PM UTC, original submission:

see attached log

Patrick Alken <psa>
Project Administrator

 

Attached Files
file #28239:  test-suite_sf.log added by psa (15kB - text/x-log)
file #28240:  test-suite_ode2.log added by psa (2kB - text/x-log)
file #28241:  test-suite_poly.log added by psa (639B - text/x-log)
file #28242:  test-suite_multiroots.log added by psa (336B - text/x-log)
file #28238:  test-suite.log added by psa (46kB - text/x-log)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 03 Jun 2013 03:31:13 PM UTCpsaAttached File-=>Added test-suite_sf.log, #28239
      Attached File-=>Added test-suite_ode2.log, #28240
      Attached File-=>Added test-suite_poly.log, #28241
      Attached File-=>Added test-suite_multiroots.log, #28242
    Mon 03 Jun 2013 03:26:28 PM UTCpsaAttached File-=>Added test-suite.log, #28238

    Back to the top


    Powered by Savane 3.1-cleanup