[ÇóÖú]fedora4ÏÂÕÒ²»µ½blasµÄ¿â!
ϵͳÊÇfedora4,°²×°Ò»¸öÓ¦ÓÃÈí¼þÐèÒªBLAS,ÏÂÔØÁËblas-3.0-37.fc4.i386.rpm²¢°²×°.ÔÚ±àÒëÓ¦ÓÃÈí¼þ./configureʱÌáʾconfigure: error: BLAS library not found.
rpm -ql blas¼ì²éÁËÒ»ÏÂ,·¢ÏÖ¿âλÓÚ
/usr/lib/libblas.so.3
/usr/lib/libblas.so.3.0
/usr/lib/libblas.so.3.0.3
ÓÚÊÇ×öÁËÈçÏÂÉèÖÃ:export LDFLAGS="-L/usr/lib"
export CPPFLAGS="-I/usr/include"
ÔÚld.so.confÎļþÖмÓÈëÒ»ÐÐ/usr/lib/,µ«ÊDZàÒëʱÈÔÈ»ÌáʾÏàͬ´íÎó.
ÒÔǰÔÚRHEL AS3ÖÐÒ²°²×°¹ýͬһ¸öÓ¦ÓÃÈí¼þ,û³öÏÖÈκÎÎÊÌâ,µ«ÊÇ·¢ÏÖRHEL AS3ÖÐblasµÄ¿âλÓÚ
/usr/lib/libblas.a.
/usr/lib/libblas.so
/usr/lib/libblas.so.3
/usr/lib/libblas.so.3.0
/usr/lib/libblas.so.3.0.3
±Èfedora4Öжà³öÁËÁ½¸öÎļþlibblas.a libblas.so
Ó¦ÓÃÈí¼þµÄ°²×°ËµÃ÷ÖÐÌáʾ,Èç¹ûblasûÓа²×°ÔÚĬÈÏĿ¼,ÐèÒªÓÃÈçÏÂÃüÁî±àÒë:
./configure --with-blas=lib
The configure script automatically attempts to detect accelerated BLAS libraries, like DXML (DEC/Alpha), SCSL and SGIMATH (SGI/MIPS), ESSL (IBM/PowerPC), ATLAS, and PHiPACK. You can, however, force a specific library name to try via --with-blas=lib.
µ«ÊÇÕâµØ·½µÄlib²»ÖªµÀÕ¦¸Ä?
´ó¼ÒÖ¸µãÏÂÎÒ,¼±ÓÃ!лл!
Ò³:
[1]