Re: problem in compiling mpb with intel mkl

"Steven G. Johnson" <[email protected]>
Newsgroups gmane.comp.science.photonic-bands
Message-ID <[email protected]>
On Jun 18, 2009, at 9:29 PM, Bin Shao wrote:
> checking for sgemm_ in /home/opt/intel/mkl/9.0/lib/em64t/ 
> libmkl_em64t.a... no
[...]
>
> It seems that mpb can not find "sgemm_ " in libmkl_em64t.a.
> But I did this manually as fellow command
>
> grep sgemm_ /home/opt/intel/mkl/9.0/lib/em64t/libmkl_em64t.a
> Binary file /home/opt/intel/mkl/9.0/lib/em64t/libmkl_em64t.a matches

Look in the config.log file to see what the exact compiler error  
message was.

Most likely, in order to link with the Intel MKL libraries you need to  
link some additional libraries needed by the Intel compilers, which  
are used automatically if you use the Intel compilers.

Try passing F77=ifort to configure, so that it uses the Intel Fortran  
compiler, in which case it should automatically detect and link  
additional libraries needed by the Intel libraries.  (Of course, you  
should also set your PATH environment variable so that the "ifort"  
command is in your path.)

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