- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I
have no problem to compile a fortran 90 code by linking DYNAMICALLY MKL library
from which I use mainly VSL functions (vslnewstream, vsldeletestream,
vsrnggaussian, virngpoisson, virngbinomial, virngbernouilli) and also the
slasrt function. To compile, I use the following command and this
works OK on a Xeon processor with Linux i686 Redhat 9.0.:
ifort
-L/data/opt/intel/mkl/8.1/lib/32 -lmkl_lapack32 -lmkl -lvml -lguide -lpthread
-lm -o MyCode MyProg.f90
Now I want to compile this same code using a STATIC linking with MKL. I try the following command :ifort -openmp -L/data/opt/intel/mkl/8.1/lib/32 -lmkl_ia32 -lmkl_lapack -lmkl_ia32 -lmkl_solver -lguide -lpthread -lm -static -o MyCode MyProg.f90
But this does not work (message undefined reference to vsldeletestream_, to vsrnggaussian) and I cant find the solution.It seems that these functions are included in lib/32/libvml.so but not in the various *.a static libraries (libguide.a, libmkl_ia32.a, libmkl_lapack.a, libmkl_solver.a).
Any help will be greatly appreciated,Fred Fabre.
Link Copied
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page