- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I amrunning the 64bit version of the Intel Fortran compilerfrom /intel/fce/9.1.040/binon an AMD64 system running SUSE Linux, and it works fine. However when I try to link the mkl library, I get the error:
ifort -o tst tst.f90 -L/opt/intel/mkl/8.1/lib/64 -lmkl_lapack
ld: skipping incompatible /opt/intel/mkl/8.1/lib/64/libmkl_lapack.a when searching for -lmkl_lapack
ld: cannot find -lmkl_lapack
make: *** [tst] Error 1
I would appreciate any help in fixing this problem.
Thanks.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are attempting to link agains IA-64 libraries. Change /lib/64 to /lib/em64t and choose libraries from that directory. If you are calling lapack functions, you will need both the lapack and the mkl_em64t.a libraries.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page