Skip to content
Prev 1704 / 3656 Next

How to used MKL (not revolution-mkl) with Debian packages

Hi folks, 

   after testing with iPython (with pylab), I noticed that linking flag 
"-L/opt/intel/lib/intel64 -ligomp5" can caused many problems, please
remove this part of the linking flag. The correct linking flag should
be:
 
$ gfortran -L/opt/intel/mkl/lib/intel64 -lmkl_rt -lmkl_core
-lmkl_gf_lp64 -lmkl_gnu_thread -lmkl_gf_ilp64 -lgomp -lpthread -shared
-Wl,-soname,libblas.so.3gf -o libblas.so.3gf.0

and 

$ gfortran -L/opt/intel/mkl/lib/intel64 -lmkl_rt -lmkl_core
-lmkl_gf_lp64 -lmkl_gnu_thread -lmkl_gf_ilp64 -lgomp -lpthread -shared
-Wl,-soname,liblapack.so.3gf -o liblapack.so.3gf.0
On Wed, 2011-11-02 at 20:24 -0400, Gong-Yi Liao wrote: