problem in compiling mpb with intel mkl

Bin Shao <[email protected]>
Newsgroups gmane.comp.science.photonic-bands
Message-ID <[email protected]>
Hi, everybody,

I intend to compile mpb with BLAS provided by intel mkl, for
"Vendor-optimized BLAS implementations are available as part of the Intel
MKL, HP CXML, IBM ESSL, SGI sgimath, and other libraries." from the mpb
websit. So I typed command like this:

./configure CPPFLAGS=-DH5_USE_16_API --prefix=/home/bshao/ --with-mpi
--without-hdf5 --with-labctl=/home/bshao/
BLAS_LIBS="/home/opt/intel/mkl/9.0/lib/em64t/libmkl
--with-lapack=/home/opt/intel/mkl/9.0/lib/em64t/
LDFLAGS="-L/home/bshao/lib/"

checking for sgemm_ in /home/opt/intel/mkl/9.0/lib/em64t/libmkl_em64t.a...
no
checking for sgemm_... no
checking for ATL_xerbla in -latlas... no
checking for sgemm_ in -lblas... no
checking for sgemm_ in -lcxml... no
checking for sgemm_ in -ldxml... no
checking for sgemm_ in -lscs... no
checking for sgemm_ in -lcomplib.sgimath... no
checking for sgemm_ in -lblas... (cached) no
checking for sgemm_ in -lblas... (cached) no
configure: error: BLAS was not found!

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

How can I let mpb find BLAS automatically?



-- 
Bin Shao
College of Information Technical Science, Nankai University
94 Weijin Rd. Nankai Dist. Tianjin 300071, China
Email: [email protected]

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