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.
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.