On Jun 20, 2009, at 6:25 AM, 张宁 wrote:
Give you a sugestion: configure is [bash]shell script, you can read
it
and find how dose it check BLAS. most of these configure files check
the
existence of a file to check the existence of a needed component
[library]
Actually, configure scripts check for libraries by trying to actually
compile and link a small program with the library. If the compilation
and linking succeeds, then the library exists. It doesn't check for
files per se.
So, to check if a BLAS library is available, it tries to link a small
program calling the BLAS dgemm function to various names for the BLAS
library (-lblas, -latlas, etcetera). The first one that succeeds is
the name of a working BLAS library on your system.
If you think you have a BLAS library installed under one of the
library names it checks for (printed in the configure output), then
the best thing to do is to look in the config.log output and see why
the compiler linking failed.
Steven
_______________________________________________
mpb-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/mpb-discuss