Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 302951

Summary: sci-libs/lapack-atlas-3.9.21 does not ship working clapack
Product: Gentoo Linux Reporter: Christopher Schwan <handgranaten-herbert>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 206934    

Description Christopher Schwan 2010-01-31 08:30:05 UTC
As mentioned in the title lapack-atlas does not provide a working clapack. I do have a self-written ebuild (sci-lib/ghmm in "sage-on-gentoo" accessible via layman) which compiles with lapack-atlas-3.9.3 but not with the recent version 3.9.21.

The problem is the file "clapack.h" which is included by ghmm. In 3.9.3 this file only includes "cblas.h" which is fine since it is placed inside /usr/include, in 3.9.21 it includes atlas_misc.h which is placed in /usr/include/atlas (but this directory is not omitted with "pkg-config --cflags lapack"). Therefore I tried to fix ghmm by adding this directory as an include path. Nevertheless, this fails because now "atlas_aux.h" is missing.

I think any other program using clapack will show this behavior but I do not know of any other program than ghmm.

This happens on x86 as well as on amd64.


Reproducible: Always
Comment 1 Markus Dittrich (RETIRED) gentoo-dev 2010-02-05 03:11:55 UTC
Thanks much for the note. It indeed looks like there's something
strange going on. I'll have to have a closer look.

cheers,
Markus
Comment 2 Markus Dittrich (RETIRED) gentoo-dev 2010-02-06 17:13:53 UTC
I believe this should be fixed in the -r1 revisions of blas-atlas 
and lapack-atlas.

Please re-open the bug if you still have trouble with clapack
and thanks again for your report.

cheers,
Markus
Comment 3 Christopher Schwan 2010-02-07 17:30:15 UTC
Thank you very much for fixing, works fine now!

Christopher