public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/47692] New: Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module
@ 2011-02-11  0:28 jrt at worldlinc dot net
  2011-02-11  0:33 ` [Bug fortran/47692] " pinskia at gcc dot gnu.org
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: jrt at worldlinc dot net @ 2011-02-11  0:28 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47692

           Summary: Numeric inaccuracy reported in testing lapack-3.3.0
                    BLAS module
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jrt@worldlinc.net


A number of BLAS testing results were not clean. Some results were reported to
be suspect and others were reported to be fatal errors. Here's a paste of one
such result:


 ******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE *******
                       EXPECTED RESULT                    COMPUTED RESULT
       1  (   0.551243    ,  -0.533049E-01)  (   0.551243    ,  -0.533049E-01)
       2  (  -0.816325E-01,   0.389502    )  (  -0.816325E-01,   0.389502    )
 ******* CGEMV  FAILED ON CALL NUMBER:
     10: CGEMV ('N',  2,  1,( 0.7,-0.9), A,  3, X, 1,( 0.0, 0.0), Y, 1)        
.


I don't know why BLAS routines didn't test cleanly, but it appears that most
severe results were in Complex Level I BLAS. There are some REAL and DOUBLE
problems too. This is a well-established numeric library that as I recall
tested cleanly with gfortran 4.4.5.

The results from testing BLAS and Lapack are in two text files that I can make
available, though independent verification is of course needed for this.


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/47692] Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module
  2011-02-11  0:28 [Bug fortran/47692] New: Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module jrt at worldlinc dot net
@ 2011-02-11  0:33 ` pinskia at gcc dot gnu.org
  2011-02-11  0:35 ` jrt at worldlinc dot net
                   ` (16 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-02-11  0:33 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47692

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-02-11 00:28:28 UTC ---
What target are you running on?


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/47692] Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module
  2011-02-11  0:28 [Bug fortran/47692] New: Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module jrt at worldlinc dot net
  2011-02-11  0:33 ` [Bug fortran/47692] " pinskia at gcc dot gnu.org
@ 2011-02-11  0:35 ` jrt at worldlinc dot net
  2011-02-11  1:20 ` jrt at worldlinc dot net
                   ` (15 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: jrt at worldlinc dot net @ 2011-02-11  0:35 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47692

--- Comment #2 from John T <jrt at worldlinc dot net> 2011-02-11 00:33:39 UTC ---
I should have included that this bug applies to a Mandriva 2008.1 Duron x86
system with kernel 2.6.24, libc 2.7.


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/47692] Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module
  2011-02-11  0:28 [Bug fortran/47692] New: Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module jrt at worldlinc dot net
  2011-02-11  0:33 ` [Bug fortran/47692] " pinskia at gcc dot gnu.org
  2011-02-11  0:35 ` jrt at worldlinc dot net
@ 2011-02-11  1:20 ` jrt at worldlinc dot net
  2011-02-11  2:36 ` kargl at gcc dot gnu.org
                   ` (14 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: jrt at worldlinc dot net @ 2011-02-11  1:20 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47692

--- Comment #3 from John T <jrt at worldlinc dot net> 2011-02-11 00:42:13 UTC ---
I must be tired. Gotta work tonight. The GCC 4.6 is the 20110205 snapshot.


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/47692] Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module
  2011-02-11  0:28 [Bug fortran/47692] New: Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module jrt at worldlinc dot net
                   ` (2 preceding siblings ...)
  2011-02-11  1:20 ` jrt at worldlinc dot net
@ 2011-02-11  2:36 ` kargl at gcc dot gnu.org
  2011-02-11 19:45 ` anlauf at gmx dot de
                   ` (13 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: kargl at gcc dot gnu.org @ 2011-02-11  2:36 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47692

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargl at gcc dot gnu.org

--- Comment #4 from kargl at gcc dot gnu.org 2011-02-11 01:43:34 UTC ---
Did you build blas or download a pre-compiled version?
What were your compiler options?  Note, one should not
build smalach.f and dmalach.f with any optimization 
(may have mis-remebered file names).


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/47692] Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module
  2011-02-11  0:28 [Bug fortran/47692] New: Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module jrt at worldlinc dot net
                   ` (3 preceding siblings ...)
  2011-02-11  2:36 ` kargl at gcc dot gnu.org
@ 2011-02-11 19:45 ` anlauf at gmx dot de
  2011-02-11 20:03 ` jrt at worldlinc dot net
                   ` (12 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: anlauf at gmx dot de @ 2011-02-11 19:45 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47692

Harald Anlauf <anlauf at gmx dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anlauf at gmx dot de

--- Comment #5 from Harald Anlauf <anlauf at gmx dot de> 2011-02-11 19:44:12 UTC ---
(In reply to comment #4)
> Did you build blas or download a pre-compiled version?
> What were your compiler options?  Note, one should not
> build smalach.f and dmalach.f with any optimization 
> (may have mis-remebered file names).

With LAPACK-3.3.0 dlamch has been completely rewritten and
should return the same results at any optimization level.
It now uses the Fortran numeric inquiry intrinsics.


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/47692] Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module
  2011-02-11  0:28 [Bug fortran/47692] New: Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module jrt at worldlinc dot net
                   ` (4 preceding siblings ...)
  2011-02-11 19:45 ` anlauf at gmx dot de
@ 2011-02-11 20:03 ` jrt at worldlinc dot net
  2011-02-11 20:07 ` jvdelisle at gcc dot gnu.org
                   ` (11 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: jrt at worldlinc dot net @ 2011-02-11 20:03 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47692

--- Comment #6 from John T <jrt at worldlinc dot net> 2011-02-11 19:56:02 UTC ---
I built the reference BLAS included with Lapack from source. I just got the
results from blas_testing using gcc-4.4.5 and results good again. I don't know
where to find the raw results from lapack and blas testing. Should there be an
ieee flag in compiler settings? Any flags on how to round?

My flags were:
#
FORTRAN  = gfortran -fimplicit-none -g
OPTS     = -O3
DRVOPTS  = $(OPTS)
NOOPT    = -g -O0
LOADER   = gfortran -g
LOADOPTS =


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/47692] Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module
  2011-02-11  0:28 [Bug fortran/47692] New: Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module jrt at worldlinc dot net
                   ` (5 preceding siblings ...)
  2011-02-11 20:03 ` jrt at worldlinc dot net
@ 2011-02-11 20:07 ` jvdelisle at gcc dot gnu.org
  2011-02-11 20:24 ` sgk at troutmask dot apl.washington.edu
                   ` (10 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: jvdelisle at gcc dot gnu.org @ 2011-02-11 20:07 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47692

Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jvdelisle at gcc dot
                   |                            |gnu.org

--- Comment #7 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2011-02-11 20:03:25 UTC ---
Interesting, I just built this a few days ago using trunk and ran make testing
without any errors, but I had no optimization turned on. When I get back to my
machine at home I will redo this and grep for Fails.


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/47692] Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module
  2011-02-11  0:28 [Bug fortran/47692] New: Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module jrt at worldlinc dot net
                   ` (6 preceding siblings ...)
  2011-02-11 20:07 ` jvdelisle at gcc dot gnu.org
@ 2011-02-11 20:24 ` sgk at troutmask dot apl.washington.edu
  2011-02-11 20:33 ` anlauf at gmx dot de
                   ` (9 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: sgk at troutmask dot apl.washington.edu @ 2011-02-11 20:24 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47692

--- Comment #8 from Steve Kargl <sgk at troutmask dot apl.washington.edu> 2011-02-11 20:23:14 UTC ---
On Fri, Feb 11, 2011 at 07:56:05PM +0000, jrt at worldlinc dot net wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47692
> 
> --- Comment #6 from John T <jrt at worldlinc dot net> 2011-02-11 19:56:02 UTC ---
> I built the reference BLAS included with Lapack from source. I just got the
> results from blas_testing using gcc-4.4.5 and results good again. I don't know
> where to find the raw results from lapack and blas testing. Should there be an
> ieee flag in compiler settings? Any flags on how to round?
> 
> My flags were:
> #
> FORTRAN  = gfortran -fimplicit-none -g
> OPTS     = -O3
> DRVOPTS  = $(OPTS)
> NOOPT    = -g -O0
> LOADER   = gfortran -g
> LOADOPTS =
> 

I just built the blas included with lapack-3.3.0 with
-O3 of x86_64-*-freebsd with 4.5.3 and 4.6.0 (a fews
old version).  There were no errors.  Can you rebuild
with -O and see if you have problems?  If you have
problems with -O, can you then use -O0 -ffloat-store?


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/47692] Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module
  2011-02-11  0:28 [Bug fortran/47692] New: Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module jrt at worldlinc dot net
                   ` (7 preceding siblings ...)
  2011-02-11 20:24 ` sgk at troutmask dot apl.washington.edu
@ 2011-02-11 20:33 ` anlauf at gmx dot de
  2011-02-11 20:56 ` anlauf at gmx dot de
                   ` (8 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: anlauf at gmx dot de @ 2011-02-11 20:33 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47692

--- Comment #9 from Harald Anlauf <anlauf at gmx dot de> 2011-02-11 20:24:27 UTC ---
(In reply to comment #7)
> Interesting, I just built this a few days ago using trunk and ran make testing
> without any errors, but I had no optimization turned on. When I get back to my
> machine at home I will redo this and grep for Fails.

I just found that some testcases still have the old problem
of using the wrong threshold.  cblat3.f tries to compute EPS
and finds (see cblat3.out)

RELATIVE MACHINE PRECISION IS TAKEN TO BE  1.1E-19

when using the 387 fpu, while with -mfpmath=sse I get:

RELATIVE MACHINE PRECISION IS TAKEN TO BE  1.2E-07

So my suggestion is to add -march=native -mfpmath=sse
to the compiler flags.

This is not a gfortran problem, but a BLAS testsuite bug.


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/47692] Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module
  2011-02-11  0:28 [Bug fortran/47692] New: Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module jrt at worldlinc dot net
                   ` (8 preceding siblings ...)
  2011-02-11 20:33 ` anlauf at gmx dot de
@ 2011-02-11 20:56 ` anlauf at gmx dot de
  2011-02-16  2:45 ` jrt at worldlinc dot net
                   ` (7 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: anlauf at gmx dot de @ 2011-02-11 20:56 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47692

--- Comment #10 from Harald Anlauf <anlauf at gmx dot de> 2011-02-11 20:55:32 UTC ---
(In reply to comment #9)
> I just found that some testcases still have the old problem
> of using the wrong threshold.  cblat3.f tries to compute EPS
> and finds (see cblat3.out)
> 
> RELATIVE MACHINE PRECISION IS TAKEN TO BE  1.1E-19

Commenting myself: I just tried -Ofast and found in cblat3.out:

 RELATIVE MACHINE PRECISION IS TAKEN TO BE  1.4E-45

Somebody please report this to the LAPACK team so that the
tests will be fixed.


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/47692] Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module
  2011-02-11  0:28 [Bug fortran/47692] New: Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module jrt at worldlinc dot net
                   ` (9 preceding siblings ...)
  2011-02-11 20:56 ` anlauf at gmx dot de
@ 2011-02-16  2:45 ` jrt at worldlinc dot net
  2011-02-16 18:04 ` anlauf at gmx dot de
                   ` (6 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: jrt at worldlinc dot net @ 2011-02-16  2:45 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47692

--- Comment #11 from John T <jrt at worldlinc dot net> 2011-02-16 01:19:36 UTC ---
(In reply to comment #8)
> On Fri, Feb 11, 2011 at 07:56:05PM +0000, jrt at worldlinc dot net wrote:
> > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47692
> > 
> > --- Comment #6 from John T <jrt at worldlinc dot net> 2011-02-11 19:56:02 UTC ---
> > I built the reference BLAS included with Lapack from source. I just got the
> > results from blas_testing using gcc-4.4.5 and results good again. I don't know
> > where to find the raw results from lapack and blas testing. Should there be an
> > ieee flag in compiler settings? Any flags on how to round?
> > 
> > My flags were:
> > #
> > FORTRAN  = gfortran -fimplicit-none -g
> > OPTS     = -O3
> > DRVOPTS  = $(OPTS)
> > NOOPT    = -g -O0
> > LOADER   = gfortran -g
> > LOADOPTS =
> > 
> 
> I just built the blas included with lapack-3.3.0 with
> -O3 of x86_64-*-freebsd with 4.5.3 and 4.6.0 (a fews
> old version).  There were no errors.  Can you rebuild
> with -O and see if you have problems?  If you have
> problems with -O, can you then use -O0 -ffloat-store?

I haven't been able to try these suggestions because I'm finding a different
problem, linking. The GCC programs didn't respond well to an attempt to
reconfigure the existing build so I rebuilt for /usr/local and used a colorgcc
trick to switch between 4.4.5 and the test version. But the build for
/usr/local tried to link with /usr/lib/libgfortran.so.3 and the first set of
test programs (in lapack-3.3.0/INSTALL) wouldn't run. I don't see anything in
the makefiles that would confuse a linker.


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/47692] Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module
  2011-02-11  0:28 [Bug fortran/47692] New: Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module jrt at worldlinc dot net
                   ` (10 preceding siblings ...)
  2011-02-16  2:45 ` jrt at worldlinc dot net
@ 2011-02-16 18:04 ` anlauf at gmx dot de
  2011-02-17  1:14 ` jvdelisle at gcc dot gnu.org
                   ` (5 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: anlauf at gmx dot de @ 2011-02-16 18:04 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47692

--- Comment #12 from Harald Anlauf <anlauf at gmx dot de> 2011-02-16 18:01:16 UTC ---
(In reply to comment #11)
> (In reply to comment #8)
> > On Fri, Feb 11, 2011 at 07:56:05PM +0000, jrt at worldlinc dot net wrote:
> > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47692
> > > 
> > > --- Comment #6 from John T <jrt at worldlinc dot net> 2011-02-11 19:56:02 UTC ---
> > > I built the reference BLAS included with Lapack from source. I just got the
> > > results from blas_testing using gcc-4.4.5 and results good again. I don't know
> > > where to find the raw results from lapack and blas testing. Should there be an
> > > ieee flag in compiler settings? Any flags on how to round?
> > > 
> > > My flags were:
> > > #
> > > FORTRAN  = gfortran -fimplicit-none -g
> > > OPTS     = -O3
> > > DRVOPTS  = $(OPTS)
> > > NOOPT    = -g -O0
> > > LOADER   = gfortran -g
> > > LOADOPTS =
> > > 
> > 
> > I just built the blas included with lapack-3.3.0 with
> > -O3 of x86_64-*-freebsd with 4.5.3 and 4.6.0 (a fews
> > old version).  There were no errors.  Can you rebuild
> > with -O and see if you have problems?  If you have
> > problems with -O, can you then use -O0 -ffloat-store?
> 
> I haven't been able to try these suggestions because I'm finding a different
> problem, linking. The GCC programs didn't respond well to an attempt to
> reconfigure the existing build so I rebuilt for /usr/local and used a colorgcc
> trick to switch between 4.4.5 and the test version. But the build for
> /usr/local tried to link with /usr/lib/libgfortran.so.3 and the first set of
> test programs (in lapack-3.3.0/INSTALL) wouldn't run. I don't see anything in
> the makefiles that would confuse a linker.

Can you be a little bit more specific?  What are the precise
error messages?

In case the gfortran you build for /usr/local is incompatible with
the system version in /usr, you might try adding the following flags
for linking:

LOADOPTS = -static-libgfortran -static-libgcc

or you need to set LD_LIBRARY_PATH appropriately.


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/47692] Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module
  2011-02-11  0:28 [Bug fortran/47692] New: Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module jrt at worldlinc dot net
                   ` (11 preceding siblings ...)
  2011-02-16 18:04 ` anlauf at gmx dot de
@ 2011-02-17  1:14 ` jvdelisle at gcc dot gnu.org
  2011-02-18 17:05 ` jrt at worldlinc dot net
                   ` (4 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: jvdelisle at gcc dot gnu.org @ 2011-02-17  1:14 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47692

--- Comment #13 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2011-02-17 01:12:44 UTC ---
Always set LD_LIBRARY_PATH or another way is to compile with -static to make
sure the correct runtime functions get invoked.


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/47692] Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module
  2011-02-11  0:28 [Bug fortran/47692] New: Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module jrt at worldlinc dot net
                   ` (12 preceding siblings ...)
  2011-02-17  1:14 ` jvdelisle at gcc dot gnu.org
@ 2011-02-18 17:05 ` jrt at worldlinc dot net
  2012-03-19 14:51 ` sliwa at blue dot cft.edu.pl
                   ` (3 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: jrt at worldlinc dot net @ 2011-02-18 17:05 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47692

--- Comment #14 from John T <jrt at worldlinc dot net> 2011-02-18 16:58:45 UTC ---
Sorry for not responding sooner, had a health issue.

Here's the error message with the -static flag:
gfortran -g  -o testieee tstiee.o
gfortran -fimplicit-none -g -static -O -c ilaver.f -o ilaver.o
gfortran -fimplicit-none -g -static -O -c LAPACK_version.f -o LAPACK_version.o
gfortran -g  -o testversion ilaver.o LAPACK_version.o
make[1]: Leaving directory `/home/dilbert/Download/linear/lapack-3.3.0/INSTALL'
./testlsame: /usr/lib/libgfortran.so.3: version `GFORTRAN_1.4' not found
(required by ./testlsame)
./testslamch: /usr/lib/libgfortran.so.3: version `GFORTRAN_1.4' not found
(required by ./testslamch)
./testdlamch: /usr/lib/libgfortran.so.3: version `GFORTRAN_1.4' not found
(required by ./testdlamch)
./testsecond: /usr/lib/libgfortran.so.3: version `GFORTRAN_1.4' not found
(required by ./testsecond)
./testdsecnd: /usr/lib/libgfortran.so.3: version `GFORTRAN_1.4' not found
(required by ./testdsecnd)
./testversion: /usr/lib/libgfortran.so.3: version `GFORTRAN_1.4' not found
(required by ./testversion)
make: *** [lapack_install] Error 1

The LD_LIBRARY_PATH specification worked.


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/47692] Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module
  2011-02-11  0:28 [Bug fortran/47692] New: Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module jrt at worldlinc dot net
                   ` (13 preceding siblings ...)
  2011-02-18 17:05 ` jrt at worldlinc dot net
@ 2012-03-19 14:51 ` sliwa at blue dot cft.edu.pl
  2012-06-25 20:26 ` anlauf at gmx dot de
                   ` (2 subsequent siblings)
  17 siblings, 0 replies; 19+ messages in thread
From: sliwa at blue dot cft.edu.pl @ 2012-03-19 14:51 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47692

Cezary Sliwa <sliwa at blue dot cft.edu.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sliwa at blue dot
                   |                            |cft.edu.pl

--- Comment #15 from Cezary Sliwa <sliwa at blue dot cft.edu.pl> 2012-03-19 14:28:43 UTC ---

I just received a message saying:

"The problem with the BLAS testing programs sometimes not computing the machine
epsilon correctly has been fixed in revision r1224, available in the LAPACK SVN
repository (https://icl.cs.utk.edu/svn/lapack-dev/lapack/trunk)."


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/47692] Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module
  2011-02-11  0:28 [Bug fortran/47692] New: Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module jrt at worldlinc dot net
                   ` (14 preceding siblings ...)
  2012-03-19 14:51 ` sliwa at blue dot cft.edu.pl
@ 2012-06-25 20:26 ` anlauf at gmx dot de
  2012-06-26 15:08 ` jrt at worldlinc dot net
  2012-06-26 16:17 ` kargl at gcc dot gnu.org
  17 siblings, 0 replies; 19+ messages in thread
From: anlauf at gmx dot de @ 2012-06-25 20:26 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47692

--- Comment #16 from Harald Anlauf <anlauf at gmx dot de> 2012-06-25 20:26:27 UTC ---
(In reply to comment #15)
> I just received a message saying:
> 
> "The problem with the BLAS testing programs sometimes not computing the machine
> epsilon correctly has been fixed in revision r1224, available in the LAPACK SVN
> repository (https://icl.cs.utk.edu/svn/lapack-dev/lapack/trunk)."

It appears that these fixes are in LAPACK-3.4.1, released in April 2012.
The failures I've seen in the BLAS testing have disappeared.

John, can you test that the new LAPACK version works for you?


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/47692] Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module
  2011-02-11  0:28 [Bug fortran/47692] New: Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module jrt at worldlinc dot net
                   ` (15 preceding siblings ...)
  2012-06-25 20:26 ` anlauf at gmx dot de
@ 2012-06-26 15:08 ` jrt at worldlinc dot net
  2012-06-26 16:17 ` kargl at gcc dot gnu.org
  17 siblings, 0 replies; 19+ messages in thread
From: jrt at worldlinc dot net @ 2012-06-26 15:08 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47692

--- Comment #17 from John T <jrt at worldlinc dot net> 2012-06-26 15:07:48 UTC ---
Thank you for reminding me to submit a follow-up. Yes, blas and lapack test
cleanly with gcc and gfortran version 4.6.3.

I have since encountered a difficulty with the Octave program involving blas. A
section of code in Octave that I think compiles the documentation fails to
recognize the values returned by calls to dlamch (?) as valid ieee754 values.
I've tried a couple of obtimization settings unsuccessfully. If I can't set
flags for dlamch and slamch to produce standard ieee754 values, this too might
be worth a bug report. suggested flags?


^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Bug fortran/47692] Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module
  2011-02-11  0:28 [Bug fortran/47692] New: Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module jrt at worldlinc dot net
                   ` (16 preceding siblings ...)
  2012-06-26 15:08 ` jrt at worldlinc dot net
@ 2012-06-26 16:17 ` kargl at gcc dot gnu.org
  17 siblings, 0 replies; 19+ messages in thread
From: kargl at gcc dot gnu.org @ 2012-06-26 16:17 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47692

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #18 from kargl at gcc dot gnu.org 2012-06-26 16:16:54 UTC ---
(In reply to comment #17)
> Thank you for reminding me to submit a follow-up. Yes, blas and lapack test
> cleanly with gcc and gfortran version 4.6.3.
> 
> I have since encountered a difficulty with the Octave program involving blas. A
> section of code in Octave that I think compiles the documentation fails to
> recognize the values returned by calls to dlamch (?) as valid ieee754 values.
> I've tried a couple of obtimization settings unsuccessfully. If I can't set
> flags for dlamch and slamch to produce standard ieee754 values, this too might
> be worth a bug report. suggested flags?

Try -O -ffloat-store.


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2012-06-26 16:17 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-11  0:28 [Bug fortran/47692] New: Numeric inaccuracy reported in testing lapack-3.3.0 BLAS module jrt at worldlinc dot net
2011-02-11  0:33 ` [Bug fortran/47692] " pinskia at gcc dot gnu.org
2011-02-11  0:35 ` jrt at worldlinc dot net
2011-02-11  1:20 ` jrt at worldlinc dot net
2011-02-11  2:36 ` kargl at gcc dot gnu.org
2011-02-11 19:45 ` anlauf at gmx dot de
2011-02-11 20:03 ` jrt at worldlinc dot net
2011-02-11 20:07 ` jvdelisle at gcc dot gnu.org
2011-02-11 20:24 ` sgk at troutmask dot apl.washington.edu
2011-02-11 20:33 ` anlauf at gmx dot de
2011-02-11 20:56 ` anlauf at gmx dot de
2011-02-16  2:45 ` jrt at worldlinc dot net
2011-02-16 18:04 ` anlauf at gmx dot de
2011-02-17  1:14 ` jvdelisle at gcc dot gnu.org
2011-02-18 17:05 ` jrt at worldlinc dot net
2012-03-19 14:51 ` sliwa at blue dot cft.edu.pl
2012-06-25 20:26 ` anlauf at gmx dot de
2012-06-26 15:08 ` jrt at worldlinc dot net
2012-06-26 16:17 ` kargl at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).