[Numpy-discussion] svd + multiprocessing hangs

Uwe Schmitt uschmitt@mineway...
Wed Jun 12 11:07:30 CDT 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@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.scipy.org/pipermail/numpy-discussion/attachments/20130612/077a08a3/attachment-0001.bin 


More information about the NumPy-Discussion mailing list