shunwang / numexpr

Automatically exported from code.google.com/p/numexpr
MIT License
0 stars 0 forks source link

symbol lookup error: /usr/pkg/fortran90/intel/mkl/10.2.5.035/lib/em64t/libmkl_vml_mc2.so: undefined symbol: mkl_serv_mkl_malloc #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm experiencing the "symbol lookup error: 
/usr/pkg/fortran90/intel/mkl/10.2.5.035/lib/em64t/libmkl_vml_mc2.so: undefined 
symbol: mkl_serv_mkl_malloc" error when running python -vvv -c "import numexpr; 
numexpr.test()".

The fix r171 which solves #27 apparently does not work in my case. I'm working 
in a Fedora 8 x86_64 box, with Python 2.5.5 and compiling with gcc 4.1.2. MKL 
is version 10.2.5.035.

Both the build and the install steps were apparently successfull, and as far as 
I can see the site.cfg is correct (it includes the mkl_solver_ilp64
entry).

I include here the relevant snippets from the configuration file, the build 
step and the test run.

site.cfg:

library_dirs = /usr/pkg/fortran90/intel/mkl/10.2.5.035/lib/em64t
include_dirs = /usr/pkg/fortran90/intel/mkl/10.2.5.035/include
mkl_libs = mkl_core, mkl_solver_ilp64, mkl_intel_ilp64, mkl_intel_thread, iomp5

output of build stage:

mkl_info:
  FOUND:
    libraries = ['mkl_core', 'mkl_solver_ilp64', 'mkl_intel_ilp64', 'mkl_intel_thread', 'iomp5', 'pthread']
    library_dirs = ['/usr/pkg/fortran90/intel/mkl/10.2.5.035/lib/em64t']
    define_macros = [('SCIPY_MKL_H', None)]
    include_dirs = ['/usr/pkg/fortran90/intel/mkl/10.2.5.035/include']

Test:

Numexpr version:   1.4
NumPy version:     1.4.1
Python version:    2.5.5 (r255:77872, Mar 17 2010, 12:10:50)
[GCC 4.1.2 20070925 (Red Hat 4.1.2-33)]
Platform:          linux2-x86_64
AMD/Intel CPU?     True
VML available?     True
VML/MKL version:   Intel(R) Math Kernel Library Version 10.2.5 Product Build 
20100325 for Intel(R) 64 architecture applications
Detected cores:    1
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
../usr/pkg/python/Python-2.5.5/bin/python: symbol lookup error: 
/usr/pkg/fortran90/intel/mkl/10.2.5.035/lib/em64t/libmkl_vml_mc2.so: undefined 
symbol: mkl_serv_mkl_malloc

Thanks very much

Original issue reported on code.google.com by nicola.c...@gmail.com on 3 Sep 2010 at 1:40

GoogleCodeExporter commented 9 years ago
This is a very old one.  The MKL support has been improved in 2.1.  Are you 
still having problems with this?  In case you are, please feel free to reopen 
this ticket.

Original comment by fal...@gmail.com on 29 Apr 2013 at 10:24