#11920: Sympow needs specify -ffp-contract=on and should create datafiles
------------------------------+---------------------------------------------
   Reporter:  jdemeyer        |          Owner:  tbd                            
             
       Type:  defect          |         Status:  needs_work                     
             
   Priority:  major           |      Milestone:  sage-4.7.3                     
             
  Component:  packages        |       Keywords:                                 
             
Work_issues:                  |       Upstream:  None of the above - read trac 
for reasoning.
   Reviewer:  Leif Leonhardy  |         Author:  Jeroen Demeyer                 
             
     Merged:                  |   Dependencies:                                 
             
------------------------------+---------------------------------------------

Comment(by leif):

 Replying to [comment:13 leif]:
 > FWIW, both with the p9 (with `-O3`, and '''without''' `-mno-fused-madd`,
 which is AFAIK the default) and with the p10 (with `-mno-fused-madd`) all
 (long) tests in
 >
 >  `sage/lfunctions/sympow.py`
 >
 > pass.  So you should probably change your check to detect whether the
 doubles are 64-bit / have a 53-bit mantissa.

 With the p9 (and '''with''' `-mfused-add`):
 {{{
 #!sh
 $ time env SAGE_TEST_ITER=20 ./sage -tp 1 -long
 devel/sage/sage/lfunctions/sympow.py
 Testing that Sage starts...
 Yes, Sage starts.
 Global iterations: 1
 File iterations: 20
 No long cached timings exist; will create for successful files.
 Doctesting 1 file using 1 thread
 sage -t -long devel/sage/sage/lfunctions/sympow.py
          [10.2 s]

 ----------------------------------------------------------------------
 All tests passed!
 Timings have been updated.
 Total time for all tests: 232.1 seconds

 real    3m54.484s
 user    3m39.864s
 sys     0m11.631s
 }}}

 With the p10:
 {{{
 #!sh
 $ time env SAGE_TEST_ITER=20 ./sage -tp 1 -long
 devel/sage/sage/lfunctions/sympow.py
 Testing that Sage starts...
 Yes, Sage starts.
 Global iterations: 1
 File iterations: 20
 Using long cached timings to run longest doctests first.
 Doctesting 1 file using 1 thread
 sage -t -long devel/sage/sage/lfunctions/sympow.py
          [11.4 s]

 ----------------------------------------------------------------------
 All tests passed!
 Timings have been updated.
 Total time for all tests: 238.5 seconds

 real    4m0.566s
 user    3m44.169s
 sys     0m11.777s
 }}}

 (Both packages compiled with `-O3 -march=power7 -mtune=power7`.)

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11920#comment:14>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to