Bug 756121

Summary: atlas base package causes exception in dgelsd_
Product: [Fedora] Fedora Reporter: jaakko.airo
Component: atlasAssignee: Deji Akingunola <dakingun>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: c.david86, dakingun
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-14 01:04:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description jaakko.airo 2011-11-22 18:06:31 UTC
Description of problem:
On Pentium M there is no SSE3-instruction set, but but octave links against
liblapack.so.3 => /usr/lib/atlas/liblapack.so.3 (0x00ef4000)
which is compiled for SSE3, see http://kojipkgs.fedoraproject.org/packages/atlas/3.8.4/1.fc16/data/logs/i686/build.log .

Version-Release number of selected component (if applicable):
atlas-3.8.4-1.fc16.i686

How reproducible:
always

Steps to Reproduce:
1. matrix A from attachment https://bugzilla.redhat.com/attachment.cgi?id=535132
2. type commands in octave-prompt:   load debug_A.mat; A\zeros(881,1)
3.
  
Actual results:
 ** On entry to DLASCL parameter number  4 had an illegal value
error: exception encountered in Fortran subroutine dgelsd_

Expected results:
vector of zeros

Additional info:

# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model  : 13
model name : Intel(R) Pentium(R) M processor 1.73GHz
stepping : 8
cpu MHz  : 800.000
cache size : 2048 KB
fdiv_bug : no
hlt_bug  : no
f00f_bug : no
coma_bug : no
fpu  : yes
fpu_exception : yes
cpuid level : 2
wp  : yes
flags  : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov clflush dts
acpi mmx fxsr sse sse2 ss tm pbe nx up bts est tm2
bogomips : 1596.27
clflush size : 64
cache_alignment : 64
address sizes : 32 bits physical, 32 bits virtual
power management:

Comment 1 jaakko.airo 2011-11-22 18:07:06 UTC
*** Bug 750083 has been marked as a duplicate of this bug. ***

Comment 2 Deji Akingunola 2011-11-22 18:40:25 UTC
Can you show me the output when you run 'rpm -qa atlas*'. The base atlas package for i686 was specifically built to exclude any SSE optimizations.

Comment 3 jaakko.airo 2011-11-22 19:55:30 UTC
case FAIL:

$ rpm -qa| grep atlas
atlas-sse-3.8.4-1.fc16.i686
atlas-sse3-3.8.4-1.fc16.i686
atlas-sse2-3.8.4-1.fc16.i686
atlas-3.8.4-1.fc16.i686
$ ldd /usr/bin/octave| grep lapack
 liblapack.so.3 => /usr/lib/atlas/liblapack.so.3 (0x00ef4000)


case OK:

$ rpm -qa| grep atlas
atlas-sse-3.8.4-1.fc16.i686
atlas-sse3-3.8.4-1.fc16.i686
atlas-sse2-3.8.4-1.fc16.i686
$ ldd /usr/bin/octave| grep lapack
 liblapack.so.3 => /usr/lib/atlas-sse2/liblapack.so.3 (0x00f69000)

Comment 4 Deji Akingunola 2011-11-22 20:23:10 UTC
Having only atlas-sse2 installed should be sufficient for your hardware. I recommend that you un-install atlas-sse3-3.8.4-1.fc16.i686 (and possible atlas-3.8.4-1.fc16.i686 and atlas-sse-3.8.4-1.fc16.i686).

Comment 5 jaakko.airo 2011-11-22 21:23:14 UTC
It is the package atlas-3.8.4-1.fc16.i686 that is causing problems.

If atlas is installed, octave uses that shared library.  Without atlas, octave uses atlas-sse2, even though atlas-sse3 is installed, as should be.

I'm fine with un-installing atlas-3.8.4-1.fc16.i686, but what about other users possibly hitting the same bug?

How come is this not a bug?

Comment 6 jaakko.airo 2011-11-22 21:29:17 UTC
objdump suggests that atlas base does not have SSE3 instruction, I edited the bug title.

Octave should work with both atlas and atlas-sse{,2,3}, but does not with atlas.

Comment 7 Fedora End Of Life 2013-01-16 22:32:58 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 8 Fedora End Of Life 2013-02-14 01:04:26 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.