[Numpy-discussion] f2py build with mkl lapack
kimsunghyun at kaist.ac.kr
Mon Jul 8 21:12:06 EDT 2013
thank you for your help
I tried following orders and many combinations...
-lmkl_sequential -lmkl_core -lpthread -lm'
-lmkl_solver_lp64_sequential -lmkl_intel_lp64 -lmkl_sequential -lmkl_core
but I still got following massage
undefined symbol: mkl_lapack_sgetrf
Theoretical Condensed Matter Physics Group.
291 Daehak-ro(373-1 Guseong-dong), Yuseong-gu, Daejeon 305-701, Republic of
On Tue, Jul 9, 2013 at 3:37 AM, Bradley M. Froehle
<brad.froehle at gmail.com>wrote:
> On Mon, Jul 8, 2013 at 10:15 AM, David Cournapeau <cournape at gmail.com>
> > On Mon, Jul 8, 2013 at 5:05 PM, sunghyun Kim <kimsunghyun at kaist.ac.kr>
> > wrote:
> >> Hi
> >> I'm trying to use fortran wrapper f2py with intel's mkl
> >> following is my command
> >> LIB='-L/opt/intel/Compiler/11.1/064/mkl/lib/em64t/ -lguide -lpthread
> >> -lmkl_core -lmkl_intel_lp64 -lmkl_sequential'
> > Linking order matters: if A needs B, A should appear before B, so
> > -lpthread/-lguide should be at the end, mkl_intel_lp64 before mkl_core,
> > mkl_sequential in front of that.
> > See the MKL manual for more details,
> You may also want to consult the MKL Link Line Advsior , which in
> your case recommends an ordering like:
> -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lm
> : http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion