- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi !
I have installed intel fortran compiler 9.0 and MKL 8.0
i have written a little program in f90 to test blas and
Lapack routines...
i have tested dgemm for blas....works perfectly
but i have a problem with lapack routines :
i would like to test for example the dgetri function.
but when the compilation, i have the error :
"/tmp/ifortOf6eUc.o(.text+0x26e): In function `MAIN__':
Test.f90: undefined reference to `dgetri_'"
for the Blas and the Lapack, options are :
f90 -L /opt/intel/mkl/8.0/lib/32 -lmkl -lmkl_lapack -lmkl_ia32 -lguide -lm -lpthread
I don't understand why it works with blas and not for Lapack...
thanks for help
PS : system : Fedora Core 4
kernel : 2.6.13-1.1526_FC4
version gcc 4.0.1 20050727
I have installed intel fortran compiler 9.0 and MKL 8.0
i have written a little program in f90 to test blas and
Lapack routines...
i have tested dgemm for blas....works perfectly
but i have a problem with lapack routines :
i would like to test for example the dgetri function.
but when the compilation, i have the error :
"/tmp/ifortOf6eUc.o(.text+0x26e): In function `MAIN__':
Test.f90: undefined reference to `dgetri_'"
for the Blas and the Lapack, options are :
f90 -L /opt/intel/mkl/8.0/lib/32 -lmkl -lmkl_lapack -lmkl_ia32 -lguide -lm -lpthread
I don't understand why it works with blas and not for Lapack...
thanks for help
PS : system : Fedora Core 4
kernel : 2.6.13-1.1526_FC4
version gcc 4.0.1 20050727
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm not sure exactly what the problem might be. dgetri_ should be found in libmkl_lapack.a which you have included on your link line. There is one thing that you are doing that I wouldn't and that is the redundant inclusion of "-lmkl" and "-lmkl_ia32". The first links in libmkl.so and the second libmkl_ia32.a both of which are just different versions (dynamic and static) of the same library essentially.
So try removing "-lmkl" from your link line.
-Todd

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