[Numpy-discussion] MKL with 64bit crashes

David Cournapeau cournape@gmail....
Wed Oct 14 19:30:37 CDT 2009

On Thu, Oct 15, 2009 at 8:04 AM, Kashyap Ashwin
<Ashwin.Kashyap@thomson.net> wrote:
> Hello,
> I compiled numpy-1.3.0 from sources on Ubuntu-hardy, x86-64 (Intel) with
> MKL.
> This is my site.cfg:
> [mkl]
> # library_dirs = /opt/intel/mkl/
> library_dirs = /opt/intel/mkl/
> include_dirs = /opt/intel/mkl/
> lapack_libs = mkl_lapack
> #mkl_libs = mkl_core, guide, mkl_gf_ilp64, mkl_def, mkl_gnu_thread,
> iomp5, mkl_vml_mc3
> mkl_libs = guide, mkl_core, mkl_gnu_thread, iomp5, mkl_gf_ilp64,
> mkl_mc3, mkl_def

The order does not look right - I don't know the exact order (each
version of the MKL changes the libraries), but you should respect the
order as given in the MKL manual.

> MKL ERROR: Parameter 4 was incorrect on entry to DGESV

This suggests an error when passing argument to MKL - I believe your
version of MKL uses the gfortran ABI by default, and hardy uses g77 as
the default fortran compiler. You should either recompile everything
with gfortran, or regenerate the MKL interface libraries with g77 (as
indicated in the manual).



More information about the NumPy-Discussion mailing list