- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I download l_mkl_p_7.0.017 and follow all the instruction for instalation. Finally libraries located at /opt/intel/mkl70/lib/32.
in makefile i tried to link them with command
-L/opt/intel/mkl70/lib/32 -lmkl_lapack -lmkl_p4 -lpthread
to my code
and got the message
ifc -w95 -O3 -o beassi kinds.o beassi.o glusolvr.o haldgreen.o halsgreen.o freefield.o fuldgreen.o fulsgreen.o fuldgrstr.o -static -L/opt/intel/mkl70/lib/32 -lmkl_lapack -lmkl_p4 -lpthread
ld: cannot find -lmkl_p4
ld: cannot find -lmkl_p4
I wondering what is wrong?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your command line specifies static linking, but you libmkl_p4.so is a dynamicallylinkable archive. If you do indeed want to link statically link to libmkl_ia32.a using "-lmkl_ia32". The version of MKL for Intel Pentium 4 processors will be dispatched at runtime (if that is the processor you are running on).
-Todd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your help, the problem as you point out was in wrong usage of linking command, now almost everything is fine except that at some point new version of my program (compiled with 8.0 compiler)start crashing with the message 'Segmentation fault' but I think it is a bug in the source, though with the previous compiler whichwas intel-ifc7-7.1-40 there were no problems.
Message Edited by chik0010@umn.edu on 09-13-2004 08:49 AM
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