- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone!
I have some trouble with the MKL 10.0.1.14 and also tried the..011 version. I installed them on my Ubtuntu 7.10 machine but it does not seem to work.
The installation works fine but when I try to tell the ./configure script of a program to use the MKL instead of BLAS it does not find the routines (e.g. sgemm_) in the mkl_ia32. I suppose thats where it should be in.
Also, if I go the MKL lib directory and try
ar -t libmkl_ia32.a
it says: File format not recognized.
I think there's something wrong, but I did not find the mistake yet. Maybe someone had this problem too or knows how to help me. Thanks in advance!
I have some trouble with the MKL 10.0.1.14 and also tried the..011 version. I installed them on my Ubtuntu 7.10 machine but it does not seem to work.
The installation works fine but when I try to tell the ./configure script of a program to use the MKL instead of BLAS it does not find the routines (e.g. sgemm_) in the mkl_ia32. I suppose thats where it should be in.
Also, if I go the MKL lib directory and try
ar -t libmkl_ia32.a
it says: File format not recognized.
I think there's something wrong, but I did not find the mistake yet. Maybe someone had this problem too or knows how to help me. Thanks in advance!
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
libmkl_ia32.a is a text file containing the names of 3 libraries. ar should work when run directly on each of those libraries.
For static linking, follow the example using e.g. -Wl,--start-group libmkl_ia32.a -Wl,--end-group
and a compiler driver which is compatible with that (you may need ifort and icc 10.1.012 or later).
Your post would be much easier to understand with an actual example (at least your command line and error).
For static linking, follow the example using e.g. -Wl,--start-group libmkl_ia32.a -Wl,--end-group
and a compiler driver which is compatible with that (you may need ifort and icc 10.1.012 or later).
Your post would be much easier to understand with an actual example (at least your command line and error).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
First of all: Thanks for the hint with the content of libmkl_ia32.a!
Here's a little example. I try to configure the HARMINV library. I can specify a library that is used instead of blas by running
./configure --with-blas=LIBRARY
where I have tried the following values for LIBRARY:
mkl_ia32, mkl_core, mkl_intel
No matter which one I choose it always says
[...]
checking for sgemm_ in -lLIBRARY... no
[Check for other Libs and abort]
(Of course with the corresponding value for LIBRARY). So the configure script cannot find the Routine sgemm_ in the MKL libs.
My LD_LIBRARY_PATH variable contains the directory in which the MKL libs reside, so ld should find them.
You see my problem is not the compilation. I do not even get that far. I can't tell the configure script to use MKL instead of BLAS.
Here's a little example. I try to configure the HARMINV library. I can specify a library that is used instead of blas by running
./configure --with-blas=LIBRARY
where I have tried the following values for LIBRARY:
mkl_ia32, mkl_core, mkl_intel
No matter which one I choose it always says
[...]
checking for sgemm_ in -lLIBRARY... no
[Check for other Libs and abort]
(Of course with the corresponding value for LIBRARY). So the configure script cannot find the Routine sgemm_ in the MKL libs.
My LD_LIBRARY_PATH variable contains the directory in which the MKL libs reside, so ld should find them.
You see my problem is not the compilation. I do not even get that far. I can't tell the configure script to use MKL instead of BLAS.

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