[Numpy-discussion] svd + multiprocessing hangs

Bradley M. Froehle brad.froehle@gmail....
Wed Jun 12 11:39:52 CDT 2013


Dear Uwe:

I can't reproduce this using the system default versions of Python and
NumPy on Ubuntu 13.04:

$ python uwe.py
before svd
this message is not printed

>>> sys.version_info
sys.version_info(major=2, minor=7, micro=4, releaselevel='final', serial=0)
>>> numpy.__version__
'1.7.1'

Any idea how your hand-compiled versions might differ from the system
provided versions?

-Brad


On Wed, Jun 12, 2013 at 9:07 AM, Uwe Schmitt <uschmitt@mineway.de> wrote:

> Dear all,
>
> the following code hangs on my Ubuntu machine.
> I use self compiled numpy 1.7.1 and Python
> 2.7.3
>
> -----
>
> import numpy
> import numpy.linalg
> import multiprocessing
>
> def classify():
>     X = numpy.random.random((10,3))
>     print "before svd"
>     numpy.linalg.svd(X)
>     print "this message is not printed"
>
>
> if __name__ == "__main__":
>     p = multiprocessing.Process(target=classify, args=())
>     p.start()
>     p.join()
>
> -----
>
> Regards, Uwe.
>
> --
> Dr. rer. nat. Uwe Schmitt
> Leitung F/E Mathematik
>
> mineway GmbH
> Gebäude 4
> Im Helmerswald 2
> 66121 Saarbrücken
>
> Telefon: +49 (0)681 8390 5334
> Telefax: +49 (0)681 830 4376
>
> uschmitt@mineway.de
> www.mineway.de
>
> Geschäftsführung: Dr.-Ing. Mathias Bauer
> Amtsgericht Saarbrücken HRB 12339
>
>
>
>
>
>
>
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20130612/63ea9225/attachment.html 


More information about the NumPy-Discussion mailing list