[Lapackpp-devel] Error configuring with externally compiled Blas & Lapack
Status: Beta
Brought to you by:
cstim
|
From: Sonia S. <son...@gm...> - 2007-01-25 13:28:57
|
Hi,
I am trying to compile lapackpp-2.5.0 on Suse Linux.
I am using Intel's MKL library containing Blas and Lapack libraries.
When I run configure giving the path to these libraries, it gives the
error of not finding functions in the blas/lapack libraries.
---------------------------------------------------------------------------------------------------------
> ./configure --with-blas=~/pacakages/mkl/lib/32/libmkl_ia32.a --with-lapack=~/pacakages/mkl/lib/32/libmkl_lapack.a
.
.
.
.
checking for dummy main to link with Fortran libraries... none
checking for Fortran name-mangling scheme... lower case, underscore,
no extra underscore
checking for sgemm_ in ~/pacakages/mkl/lib/32/libmkl_ia32.a... no
checking for sgemm_... no
checking if ATLAS should be used... yes
checking for ATLAS library... checking for f77blas library...
configure: WARNING: not found
checking for cblas library... configure: WARNING: not found
checking whether ATLAS is usable... configure: WARNING: 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
checking for sgemm_ in -lblas32... no
checking for cheev_ in ~/pacakages/mkl/lib/32/libmkl_lapack.a... noblas
configure: error: Blas/Lapack was not found.
*** This means Lapack++ and matrix support cannot be compiled.
*** This makes this library unusable. Please get blas and lapack
*** installed. If you do have these installed, use the options
*** --with-blas=<libname> or --with-lapack=<libname> and/or set
*** the env variable LDFLAGS to include the appropriate linker
*** flags.
---------------------------------------------------------------------------------
But when I nm the libraries that I am linking to, I can find the
functions that configure was looking for.
--------------------------------------------------------------------------------
> nm ~/pacakages/mkl/lib/32/libmkl_ia32.a | grep sgemm_
def_sgemm_omp.o:
00000004 b ___kmpv_zeromkl_blas_def_sgemm_0
00000000 b ___kmpv_zeromkl_blas_def_sgemm_1
0000051a t L_mkl_blas_def_sgemm_276__par_loop0
0000081c t L_mkl_blas_def_sgemm_296__par_loop1
def_xsgemm_1.o:
00000000 T mkl_blas_def_xsgemm_1
U mkl_blas_def_xsgemm_1
p3_sgemm_omp.o:
00000004 b ___kmpv_zeromkl_blas_p3_sgemm_0
00000000 b ___kmpv_zeromkl_blas_p3_sgemm_1
0000051a t L_mkl_blas_p3_sgemm_276__par_loop0
00000801 t L_mkl_blas_p3_sgemm_296__par_loop1
p4_sgemm_omp.o:
00000004 b ___kmpv_zeromkl_blas_p4_sgemm_0
00000000 b ___kmpv_zeromkl_blas_p4_sgemm_1
0000051a t L_mkl_blas_p4_sgemm_276__par_loop0
00000801 t L_mkl_blas_p4_sgemm_296__par_loop1
p4p_sgemm_omp.o:
00000004 b ___kmpv_zeromkl_blas_p4p_sgemm_0
00000000 b ___kmpv_zeromkl_blas_p4p_sgemm_1
0000051a t L_mkl_blas_p4p_sgemm_276__par_loop0
00000801 t L_mkl_blas_p4p_sgemm_296__par_loop1
p4m_sgemm_omp.o:
00000004 b ___kmpv_zeromkl_blas_p4m_sgemm_0
00000000 b ___kmpv_zeromkl_blas_p4m_sgemm_1
0000051a t L_mkl_blas_p4m_sgemm_276__par_loop0
00000801 t L_mkl_blas_p4m_sgemm_296__par_loop1
_sgemm_fb.o:
00000000 T sgemm_
-------------------------------------------------------
What could be the problem here ?
Thanks,
~ sonia
|