[SciPy-user] Installing on Ubuntu with mkl 10.0.2: libimf.so not found

Anand Patil anand.prabhakar.patil@gmail....
Tue Nov 4 06:06:01 CST 2008


Hi all,
Sorry to post again for help installing. I recently got numpy installed with
mkl 10.0.2. I pared the site.cfg file down to just

[mkl]
library_dirs = /opt/intel/mkl/10.0.2.018/lib/em64t
lapack_libs = mkl, mkl_lapack
mkl_libs = mkl, guide

and everything seems to work fine.

Now I'm trying to install scipy with the Intel compilers. The build went
fine, but when I go to do python setup.py install I get:

/working_copies/scipy$ sudo python setup.py install
[sudo] password for anand:
Traceback (most recent call last):
  File "setup.py", line 92, in <module>
    setup_package()
  File "setup.py", line 63, in setup_package
    from numpy.distutils.core import setup
  File "/usr/lib/python2.5/site-packages/numpy/__init__.py", line 130, in
<module>
    import add_newdocs
  File "/usr/lib/python2.5/site-packages/numpy/add_newdocs.py", line 9, in
<module>
    from lib import add_newdoc
  File "/usr/lib/python2.5/site-packages/numpy/lib/__init__.py", line 152,
in <module>
    from type_check import *
  File "/usr/lib/python2.5/site-packages/numpy/lib/type_check.py", line 8,
in <module>
    import numpy.core.numeric as _nx
  File "/usr/lib/python2.5/site-packages/numpy/core/__init__.py", line 5, in
<module>
    import multiarray
ImportError: libimf.so: cannot open shared object file: No such file or
directory

I'm having a hard time debugging this because first, I can import setup from
numpy.distutils.core directly in Python:

/working_copies/scipy$ python
Python 2.5.2 (r252:60911, Jul 31 2008, 17:31:22)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from numpy.distutils.core import setup
>>>

Second, libimf.so is on my LD_LIBRARY_PATH;

/working_copies/scipy$ echo $LD_LIBRARY_PATH
:/usr/lib64:/lib64:/usr/local/lib64:/usr/lib:/usr/local/lib:/lib:/opt/intel/fce/10.1.018/lib:/opt/intel/ipp/
5.3.4.080/em64t/sharedlib:/opt/intel/cce/10.1.018/lib:/opt/intel/mkl/10.0.2.018/lib/em64t
/working_copies/scipy$ ls /opt/intel/ipp/5.3.4.080/em64t/sharedlib/libimf.so
/opt/intel/ipp/5.3.4.080/em64t/sharedlib/libimf.so

Has anyone seen anything like this before?

Thanks,
ANand
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20081104/f333b87f/attachment.html 


More information about the SciPy-user mailing list