Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83849 - blas-config doesn't allow profile switch
Summary: blas-config doesn't allow profile switch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-02 09:57 UTC by Brian Olsen
Modified: 2005-03-30 15:29 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 Brian Olsen 2005-03-02 09:57:07 UTC
I'm trying to get the ATLAS lapack compiled and set for use on my system.
Of couse I have to get the blas set up properly first.
ACCEPT_KEYWORDS="~x86"

Reproducible: Always
Steps to Reproduce:
gibbons ~ # blas-config  -p

Current profiles:
F77 BLAS: /usr/lib/blas/f77-reference
C BLAS: /usr/lib/blas/c-threaded-ATLAS

gibbons ~ # blas-config  -l

Available C profiles:
[1] ATLAS
[2] threaded-ATLAS

Available F77 profiles:
[1] ATLAS
[2] reference
[3] threaded-ATLAS

gibbons ~ # blas-config  -c 1
 * /usr/bin/blas-config: 1 is not a valid profile!
gibbons ~ # blas-config  -c 2
 * /usr/bin/blas-config: 2 is not a valid profile!
gibbons ~ # blas-config  -f 1
 * /usr/bin/blas-config: 1 is not a valid profile!
gibbons ~ # blas-config  -f 2
 * /usr/bin/blas-config: 2 is not a valid profile!
gibbons ~ # blas-config  -p  

Current profiles:
F77 BLAS: /usr/lib/blas/f77-reference
C BLAS: /usr/lib/blas/c-threaded-ATLAS

Actual Results:  
not sure

Expected Results:  
allow me to switch my blas profile
Comment 1 Brian Olsen 2005-03-02 11:23:23 UTC
Ahh...first recognition...
Other "*-config" gentoo scripts allow the number of the option to be specified."

Deal with this as you see fit, adding to the blas-config help is minimally sufficient.

Second, the c-threaded-ATLAS script has an error:

ln -sf blas/threaded-atlas/libcblas.so.0 /usr/${MY_LIBDIR}/libcblas.a"

should be changed to:

ln -sf blas/threaded-atlas/libcblas.so.0 /usr/${MY_LIBDIR}/libcblas.a
Comment 2 Danny van Dyk (RETIRED) gentoo-dev 2005-03-30 15:29:15 UTC
a) blas-config doesn't support that atm. And i don't think it ever will. I'll think about implementing it in blas-config's successor, the blas module of eclectic.

b) the c-threaded-ATLAS file has been fixed.

Reolved as FIXED