调用f2py函数时,Python多处理崩溃

时间:2017-04-18 23:35:28

标签: python macos multiprocessing f2py

我使用python2.7(mac os homebrew)来运行多处理,程序崩溃并吐出错误,如下所示。似乎f2py包装函数之一依赖于lapack而系统不喜欢分叉。想法?

   __TEXT                 000000010c502000-000000010c504000 [    8K] r-x/rwx SM=COW  /usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python

Application Specific Information:
*** multi-threaded process forked *** crashed on child side of fork pre-exec

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0   libdispatch.dylib              0x00007fffdbaa6749 _dispatch_queue_push
+ 171 1   libLAPACK.dylib                   0x00007fffc34fc2c4 DGETRF + 1139 2   _flapack.so                    0x000000010d6bb703 f2py_rout__flapack_dgetrf + 323 3   org.python.python                0x000000010c514921 PyObject_Call + 99

0 个答案:

没有答案