Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82198 - lapack-config only sees lapack-atlas, and it can't reconfigure lapack
Summary: lapack-config only sees lapack-atlas, and it can't reconfigure lapack
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-15 21:56 UTC by M. Edward Borasky
Modified: 2005-02-16 15:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description M. Edward Borasky 2005-02-15 21:56:36 UTC
I have a system with both lapack and lapack-atlas installed:

$ emerge -pv lapack lapack-atlas lapack-config

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] sci-libs/lapack-3.0  0 kB
[ebuild   R   ] sci-libs/lapack-atlas-3.6.0  -debug +doc -ifc 0 kB
[ebuild   R   ] sci-libs/lapack-config-1.0.1  0 kB

Total size of downloads: 0 kB

However, when I do "lapack-config -l" it only shows the atlas version:

$ lapack-config -l

Available F77 profiles:
[1] ATLAS

And ... unlike blas-config, lapack-config does *not* have the "-c" option to change the lapack configuration!

$ lapack-config
Usage: lapack-config [Option] [LAPACK Profile]
Change the current LAPACK profile, or give info about profiles.

Options:

  -p, --print-current-profile
                         Print currently used LAPACK profiles.

  -l, --list-profiles
                         Print a list of available profiles.

      --f77libs          Print flags to link with the LAPACK library for the
                         given/current LAPACK profile.

$ blas-config
Usage: blas-config [Option] [BLAS Profile]
Change the current BLAS profile, or give info about profiles.

Options:

  -p, --print-current-profile
                         Print currently used BLAS profiles.

  -l, --list-profiles
                         Print a list of available profiles.

  -c, --set-c-profile
                         Change/set the C BLAS profile only.

  -f, --set-f77-profile
                         Change/set the F77 BLAS profile only.

      --cflags
                         Print compilation flags for the given/current C BLAS
                         profile.

      --clibs            Print flags to link with the BLAS library for the
                         given/current C BLAS profile.

      --f77libs          Print flags to link with the BLAS library for the
                         given/current F77 BLAS profile.
Comment 1 Danny van Dyk (RETIRED) gentoo-dev 2005-02-16 15:13:20 UTC
a) "sci-libs/lapack" is deprecated and doesn't work with lapack-config. (It isn't even expected to do). Instead, use "sci-libs/lapack-reference" please!
(See also http://www.gentoo.org/proj/en/desktop/science/blas-lapack.xml)

b) both blas-config as well as lapack-config work like this:

blas-config $impl
lapack-config $impl

where $impl is one of ACML,ATLAS or reference.
However, as blas has to bindings (C binding and FORTRAN binding), blas-config
offers to switch the C and FORTRAN library individually. Thus the _additional_
actions, --set-c-profile / -c $cimpl and --set-f77-profile / -f $f77impl.

Hope this is more understandable now. However, this BUG is INVALID.
Resolving as thus.