Bug 146447 - dlamc1 never returns
dlamc1 never returns
Status: CLOSED DUPLICATE of bug 138447
Product: Fedora
Classification: Fedora
Component: lapack (Show other bugs)
3
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Ivana Varekova
http://www.theochem.kth.se/~pawsa/dla...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-01-28 06:24 EST by Pawel Salek
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-02-21 14:08:04 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Pawel Salek 2005-01-28 06:24:26 EST
Description of problem:
All calls made to dlamc1 subroutine of lapack never return. Try the
following test program:
      PROGRAM aaa
      INTEGER BETA, T
      LOGICAL RND, IEEE1
      CALL DLAMC1( BETA, T, RND, IEEE1 )
      END
This behavior is compiler dependent and does not occur when the
library is compiled with lower optimization options. I cannot tell
whether it is a compiler bug (I tested with native
gcc-g77-3.4.2-6.fc3) or actually a bug in algorithm: it seems to do
pretty ugly things and - I think - rely on IEEE arithmetics. Older gcc
 versions (eg. gcc-g77-3.3.3-7) do not expose the bug.


Version-Release number of selected component (if applicable):
lapack-3.0-25

How reproducible:
Always

Steps to Reproduce:
1. Compile test program with "g77 test.f -llapack -lblas" and run it
    

Actual Results:  Program will never stop.

Expected Results:  Program should return instantenously.

Additional info:

Recompiling the routine with current g77 and only -O option makes the
problem dissappear.
Comment 1 Pawel Salek 2005-01-28 06:30:57 EST
I seem to be unable to attach a file to the report. Anyway, the URL
locates a file that contains relevant subroutines from lapack and
servers as a test case. Compiling it with -O give a code that works as
expected. Code compiled with -O2 will never stop.
Comment 2 Ivana Varekova 2005-01-28 07:05:12 EST

*** This bug has been marked as a duplicate of 138447 ***
Comment 3 Red Hat Bugzilla 2006-02-21 14:08:04 EST
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

Note You need to log in before you can comment on or make changes to this bug.