Re: problem in compiling mpb with intel mkl (Bin Shao)

"Steven G. Johnson" <[email protected]>
Newsgroups gmane.comp.science.photonic-bands
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.