public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "billingd at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/19619] New: LAPACK optimisation error
Date: Tue, 25 Jan 2005 02:07:00 -0000	[thread overview]
Message-ID: <20050125020659.19619.billingd@gcc.gnu.org> (raw)

I have an LAPACK testuite failure with 20050124 gfortran on i686-pc-cygwin.

gcd.out has the failure
 CGV drivers: 64 out of   1092 tests failed to pass the threshold
with -O2 but not with -O0.

I have narrowed down the input file (below) to find a case that fails for a 
2x2 matrix.  I will work on isolating the bug and producing a self-contained 
test case.

To reproduce:
 - build LAPACK with -O2
 - ./xeigtstc <  cgd_bug.in > cgd_bug.out

####### cgd_bug.in #####
CGV               Data for the Complex Nonsymmetric Eigenvalue Driver
1                 Number of matrix dimensions
2                 Matrix dimensions  
1 1 1 2 1         Parameters NB, NBMIN, NXOVER, NS, NBCOL
10                Threshold for test ratios
.FALSE.           Put T to test the error exits
0                 Code to interpret the seed
CGV 26            Test all 26 matrix types

#### cgd_bug.out ###

 Tests of the Generalized Nonsymmetric Eigenvalue Problem Driver CGGEV

 LAPACK VERSION 3.0, released June 30, 1999 

 The following parameter values will be used:
    M:         2
    N:         2
    NB:        1
    NBMIN:     1
    NX:        1
    NS:        2
    MAXB:      1

 Relative machine underflow is taken to be    0.117549E-37
 Relative machine overflow  is taken to be    0.340282E+39
 Relative machine precision is taken to be    0.596046E-07

 Routines pass computational tests if test ratio is less than   10.00


 CGV -- Complex Generalized eigenvalue problem driver
 Matrix types (see CDRGEV for details): 
 Special Matrices:                       (J'=transposed Jordan block)
   1=(0,0)  2=(I,0)  3=(0,I)  4=(I,I)  5=(J',J')  6=(diag(J',I), diag(I,J'))
 Diagonal Matrices:  ( D=diag(0,1,2,...) )
   7=(D,I)   9=(large*D, small*I)  11=(large*I, small*D)  13=(large*D, large*I)
   8=(I,D)  10=(small*D, large*I)  12=(small*I, large*D)  14=(small*D, small*I)
  15=(D, reversed D)
 Matrices Rotated by Random Orthogonal Matrices U, V:
  16=Transposed Jordan Blocks             19=geometric alpha, beta=0,1
  17=arithm. alpha&beta                   20=arithmetic alpha, beta=0,1
  18=clustered alpha, beta=0,1            21=random alpha, beta=0,1
 Large & Small Matrices:
  22=(large, small)   23=(small,large)    24=(small,small)    25=(large,large)
  26=random O(1) matrices.

 Tests performed:    
 1 = max | ( b A - a B )'*l | / const.,
 2 = | |VR(i)| - 1 | / ulp,
 3 = max | ( b A - a B )*r | / const.
 4 = | |VL(i)| - 1 | / ulp,
 5 = 0 if W same no matter if r or l computed,
 6 = 0 if l same no matter if l computed,
 7 = 0 if r same no matter if r computed,
 
 Matrix order=    2, type=20, seed=1914,1677,3228,1473, result  5 is 8.389E+06
 Matrix order=    2, type=22, seed=2020,2295,3604,2829, result  5 is 8.389E+06
 Matrix order=    2, type=24, seed=3140, 353,1345, 653, result  5 is 8.389E+06
 Matrix order=    2, type=25, seed=3352,1849,3502,3661, result  5 is 8.389E+06
 Matrix order=    2, type=26, seed=2749,1691, 257,2573, result  5 is 8.389E+06
 CGV drivers:      5 out of    182 tests failed to pass the threshold

 -----------------------------------------------------------------------


 End of tests
 Total time used =         0.00 seconds

-- 
           Summary: LAPACK optimisation error
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: billingd at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-cygwin
  GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin
OtherBugsDependingO 5900
             nThis:


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


             reply	other threads:[~2005-01-25  2:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-25  2:07 billingd at gcc dot gnu dot org [this message]
2005-01-25  3:37 ` [Bug fortran/19619] " billingd at gcc dot gnu dot org
2005-01-25  3:52 ` pinskia at gcc dot gnu dot org
2005-01-25  3:55 ` pinskia at gcc dot gnu dot org
2005-01-25  3:59 ` pinskia at gcc dot gnu dot org
2005-01-25  4:09 ` pinskia at gcc dot gnu dot org
2005-01-25  5:03 ` billingd at gcc dot gnu dot org
2005-03-02  3:56 ` billingd at gcc dot gnu dot org
2005-04-20  2:34 ` pinskia at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050125020659.19619.billingd@gcc.gnu.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).