[IPython-dev] Numpy with OpenBLAS vs. IPython
Julian Taylor
jtaylor.debian at googlemail.com
Tue Oct 29 14:39:44 EDT 2013
does this also happen if you do this before starting ipython?
export OPENBLAS_NUM_THREADS=1
(assuming bash shell)
On 29.10.2013 17:19, Florian M. Wagner wrote:
> Dear all,
>
> I recently compiled numpy with OpenBlas for faster matrix-matrix
> multiplication. Everything works fine, but IPython seems to dislike it.
> I get a Segmentation Fault error when trying this (I reinstalled IPython
> 1.1.0 after numpy compilation):
>
> fwagner at fwagner-notebook ~ $ ipython -c "import numpy as np; print
> np.__version__; import IPython; print IPython.__version__; A =
> np.random.randn(600, 600); print A[20,53]; print A"
> /usr/local/bin/ipython:5: UserWarning: Module dap was already
> imported from None, but /usr/lib/python2.7/dist-packages is being
> added to sys.path
> from pkg_resources import load_entry_point
> 1.9.0.dev-54d3559
> 1.1.0
> -2.1004055886
> Speicherzugriffsfehler
>
> In comparison, this works fine (just python instead of ipython):
>
> fwagner at fwagner-notebook ~ $ python -c "import numpy as np; print
> np.__version__; import IPython; print IPython.__version__; A =
> np.random.randn(600, 600); print A[20,53]; print A"
> 1.9.0.dev-54d3559
> 1.1.0
> -1.10282239744
> [[ 0.13798084 -0.39195796 -0.15309986 ..., 1.47471232 -0.9158455
> 0.97060671]
> [ 0.25720169 0.51895478 0.55175787 ..., -0.02010573 0.78047754
> -1.07891961]
> [ 1.59478156 0.81245486 -0.03959768 ..., -0.04816659 -0.03356907
> -0.11860379]
> ...,
> [-0.06299817 -0.0956477 -0.32987518 ..., -1.47714386 1.66736916
> -0.47704276]
> [-0.93769589 1.50006542 0.97782803 ..., -0.5034154 1.31592011
> -0.74482995]
> [-0.24661336 -0.98979706 -0.39366363 ..., 0.20507632 0.8701609
> -1.10449957]]
>
> Any ideas what might cause this problem?
>
> Thanks,
>
> Florian
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
More information about the IPython-dev
mailing list