- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
this is probably a simple question but I just don't get it right.
I want to use the lapack routines coming with the intel compiler for linux. Using the IA32 version I try
What can I do? I tried to understand the documentation but I did not find any further information!
cheers
this is probably a simple question but I just don't get it right.
I want to use the lapack routines coming with the intel compiler for linux. Using the IA32 version I try
[plain]ifort -L/opt/intel/Compiler/11.1/046/mkl/lib/32/ /opt/intel/Compiler/11.1/046/mkl/lib/32/libmkl_solver_sequential.a -I/opt/intel/Compiler/11.1/046/mkl/include/32 -I/opt/intel/Compiler/11.1/046/mkl/include -lmkl_intel -lmkl_sequential -lmkl_core -lmkl_lapack95 -lmkl_blas95 -lmkl_lapack -lpthread test.f90[/plain]but I get the error
[plain]/tmp/ifortuKuHag.o: In function `MAIN__': test.f90:(.text+0x15e): undefined reference to `dgetrf_f95_'[/plain]The code is just a testing one and really simple:
[plain]PROGRAM test USE lapack95 REAL(kind=8), DIMENSION(4,4) :: x x = RESHAPE (source =(/34, 23, 12, 24, 14, 64, 235, 34, 23, 67, 233& , 124/), shape = (/4,4/)) CALL getrf(x) END PROGRAM test[/plain]
What can I do? I tried to understand the documentation but I did not find any further information!
cheers
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To make it simple, use only shared object MKL libraries. Don't try to mix static and shared.
To me also, the link advisor is confusing if you want to use shared objects. If you use static libraries, follow its advice more carefully.
Sorry if ifort doesn't complain about your RESHAPE source line. If you can't get a diagnostic with ifort -diag-enable sc, it would be worth a problem report.
To me also, the link advisor is confusing if you want to use shared objects. If you use static libraries, follow its advice more carefully.
Sorry if ifort doesn't complain about your RESHAPE source line. If you can't get a diagnostic with ifort -diag-enable sc, it would be worth a problem report.
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