Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Cintia_S_
Beginner
207 Views

undefined reference to `mkl_lapack_dlansy'

Hi,

I am trying to compile a program but I always get the same error messages listed below.

Can somebody help me?

Thank you,

Cíntia

"

ipo: warning #11021: unresolved mkl_lapack_dlansy
        Referenced in libmkl_core.a(dsyevx.o)
ipo: warning #11021: unresolved mkl_blas_dscal
        Referenced in libmkl_core.a(dsyevx.o)
        Referenced in libmkl_core.a(dstein.o)
ipo: warning #11021: unresolved mkl_lapack_dsytrd
        Referenced in libmkl_core.a(dsyevx.o)
ipo: warning #11021: unresolved mkl_lapack_dlacpy
        Referenced in libmkl_core.a(dsyevx.o)
ipo: warning #11021: unresolved mkl_lapack_dorgqr
        Referenced in libmkl_core.a(dorgtr.o)
ipo: warning #11021: unresolved mkl_lapack_dorgql
        Referenced in libmkl_core.a(dorgtr.o)
ipo: warning #11021: unresolved mkl_lapack_dlasr3
        Referenced in libmkl_core.a(dsteqr.o)
ipo: warning #11021: unresolved mkl_lapack_dlaset
        Referenced in libmkl_core.a(dsteqr.o)
ipo: warning #11021: unresolved mkl_blas_idamax
        Referenced in libmkl_core.a(dstein.o)
ipo: warning #11021: unresolved mkl_lapack_dormql
        Referenced in libmkl_core.a(dormtr.o)
ipo: warning #11021: unresolved mkl_lapack_dormqr
        Referenced in libmkl_core.a(dormtr.o)
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/libpthread.a(libpthread.o): In function `sem_open':
(.text+0x774d): warning: the use of `mktemp' is dangerous, better use `mkstemp'
/opt/intel/compilers_and_libraries_2016.2.181/linux/mkl/lib/intel64_lin//libmkl_core.a(mkl_memory_patched.o): In function `mm_cleanup_thread_cbk':
mkl_memory.c:(.text+0x66df): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/opt/intel/compilers_and_libraries_2016.2.181/linux/mkl/lib/intel64_lin//libmkl_core.a(dsyevx.o): In function `mkl_lapack_dsyevx':
dsyevx_gen.f:(.text+0x64b): undefined reference to `mkl_lapack_dlansy'
dsyevx_gen.f:(.text+0x72a): undefined reference to `mkl_blas_dscal'
dsyevx_gen.f:(.text+0x7af): undefined reference to `mkl_blas_dscal'
dsyevx_gen.f:(.text+0x8dd): undefined reference to `mkl_lapack_dsytrd'
dsyevx_gen.f:(.text+0xa2e): undefined reference to `mkl_lapack_dlacpy'
dsyevx_gen.f:(.text+0x1059): undefined reference to `mkl_blas_dscal'
/opt/intel/compilers_and_libraries_2016.2.181/linux/mkl/lib/intel64_lin//libmkl_core.a(dsteqr.o): In function `mkl_lapack_dsteqr':
dsteqr_gen.f:(.text+0xc59): undefined reference to `mkl_lapack_dlasr3'
dsteqr_gen.f:(.text+0x1126): undefined reference to `mkl_lapack_dlasr3'
dsteqr_gen.f:(.text+0x20c1): undefined reference to `mkl_lapack_dlasr3'
dsteqr_gen.f:(.text+0x322f): undefined reference to `mkl_lapack_dlasr3'
dsteqr_gen.f:(.text+0x33c8): undefined reference to `mkl_lapack_dlasr3'
/opt/intel/compilers_and_libraries_2016.2.181/linux/mkl/lib/intel64_lin//libmkl_core.a(dsteqr.o):dsteqr_gen.f:(.text+0x354d): more undefined references to `mkl_lapack_dlasr3' follow
/opt/intel/compilers_and_libraries_2016.2.181/linux/mkl/lib/intel64_lin//libmkl_core.a(dsteqr.o): In function `mkl_lapack_dsteqr':
dsteqr_gen.f:(.text+0x3936): undefined reference to `mkl_lapack_dlaset'
/opt/intel/compilers_and_libraries_2016.2.181/linux/mkl/lib/intel64_lin//libmkl_core.a(dstein.o): In function `mkl_lapack_dstein':
dstein_gen.f:(.text+0x7ec): undefined reference to `mkl_blas_idamax'
dstein_gen.f:(.text+0x854): undefined reference to `mkl_blas_dscal'
dstein_gen.f:(.text+0x9cf): undefined reference to `mkl_blas_idamax'
dstein_gen.f:(.text+0xa8d): undefined reference to `mkl_blas_idamax'
dstein_gen.f:(.text+0xae3): undefined reference to `mkl_blas_dscal'
/opt/intel/compilers_and_libraries_2016.2.181/linux/mkl/lib/intel64_lin//libmkl_core.a(dormtr.o): In function `mkl_lapack_dormtr':
dormtr_gen.f:(.text+0x57f): undefined reference to `mkl_lapack_dormql'
dormtr_gen.f:(.text+0x650): undefined reference to `mkl_lapack_dormqr'
/opt/intel/compilers_and_libraries_2016.2.181/linux/mkl/lib/intel64_lin//libmkl_core.a(dorgtr.o): In function `mkl_lapack_dorgtr':
dorgtr_gen.f:(.text+0x5ea): undefined reference to `mkl_lapack_dorgqr'
dorgtr_gen.f:(.text+0x7a4): undefined reference to `mkl_lapack_dorgql'

 

 

0 Kudos
1 Reply
mecej4
Black Belt
207 Views

I think that the problem is that you added the prefix "mkl_lapack_" to the routine names in your source code(s), which you have not shown. Check the MKL manual for the correct names.

Reply