[Numpy-discussion] svd + multiprocessing hangs

Uwe Schmitt uschmitt at mineway.de
Wed Jun 12 12:07:30 EDT 2013


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 at mineway.de
www.mineway.de

Geschäftsführung: Dr.-Ing. Mathias Bauer
Amtsgericht Saarbrücken HRB 12339







-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 553 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20130612/077a08a3/attachment.sig>


More information about the NumPy-Discussion mailing list