Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Linking problem with MKL 6.0

shebang007
Beginner
607 Views
Hi everybody,

I recently installed "Intel Math Kernel Library for 32-bit applications Version 6.0 Product Build 041103 ". But I am unable to link the LAPACK subroutine dspev in MKL. My program is compiling & running with the NAGware compiler f95.

This is the command I tried.

> ifort -c -w -free nmb.f90 -o nmb.o (OK working fine)

> ifort update_nmb_05_01_2004.o /opt/intel/mkl60/lib/32/libmkl_lapack.a /opt/intel/mkl60/lib/32/libmkl_ia32.a /opt/intel/mkl60/lib/32/libguide.a -o update_nmb_05_01_2004.x

This command is giving a lot of error messages, undefined reference to 'subroutine_name' all of which are defined in my program.

These 3 lines appear in the last.

/opt/intel/mkl60/lib/32/libmkl_lapack.a(ilaenv.o)(.text+0x52a): In function `__MKL_SERV_ilaenv':
: undefined reference to `s_copy'
/opt/intel/mkl60/lib/32/libmkl_lapack.a(ilaenv.o)(.text+0x541): In function `__MKL_SERV_ilaenv':
: undefined reference to `s_copy'
/opt/intel/mkl60/lib/32/libmkl_lapack.a(ilaenv.o)(.text+0x556): In function `__MKL_SERV_ilaenv':
: undefined reference to `s_copy'


Can anybody of have an idea. Any help is appreciated.


sunil
0 Kudos
0 Replies
Reply