On 05/12/2012 03:27 PM, numpy-discussion-requ...@scipy.org wrote: > 12.05.2012 00:54, Thomas Unterthiner kirjoitti: > [clip] >> > The process will have 100% CPU usage and will not show any activity >> > under strace. A gdb backtrace looks as follows: >> > >> > (gdb) bt >> > #0 0x00007fdcc000e524 in ?? () >> > from /usr/lib/python2.7/dist-packages/numpy/core/multiarray.so > [clip] > > The backtrace looks like it does not use ACML. Does > > from numpy.core._dotblas import dot > > work? >
Thanks for having a look at this. The following was tried with the numpy that comes from the Ubuntu repo and symlinked ACML: $ python Python 2.7.3 (default, Apr 20 2012, 22:39:59) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from numpy.core._dotblas import dot Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: /usr/lib/python2.7/dist-packages/numpy/core/_dotblas.so: undefined symbol: cblas_cdotc_sub >>> Following up: $ ldd /usr/lib/python2.7/dist-packages/numpy/core/_dotblas.so linux-vdso.so.1 => (0x00007fff3de00000) libblas.so.3gf => /usr/lib/libblas.so.3gf (0x00007f10965f8000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1096238000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f1096030000) libgfortran.so.3 => /usr/lib/x86_64-linux-gnu/libgfortran.so.3 (0x00007f1095d18000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1095a18000) /lib64/ld-linux-x86-64.so.2 (0x00007f1098a88000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f10957f8000) libquadmath.so.0 => /usr/lib/x86_64-linux-gnu/libquadmath.so.0 (0x00007f10955c0000) $ ls -lh /usr/lib/libblas.so.3gf lrwxrwxrwx 1 root root 32 May 11 22:27 /usr/lib/libblas.so.3gf -> /etc/alternatives/libblas.so.3gf $ ls -lh /etc/alternatives/libblas.so.3gf lrwxrwxrwx 1 root root 45 May 11 22:36 /etc/alternatives/libblas.so.3gf -> /opt/acml5.1.0/gfortran64_fma4/lib/libacml.so Cheers _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion