我試圖運行Openmdao拋物面教程以及基準和我始終得到其內容遵循同樣的錯誤時:PETSC錯誤運行Openmdao v1.7.3教程和基準
[0]PETSC ERROR: ------------------------------------------------------------------------
[0]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range
[0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger
[0]PETSC ERROR: or see http://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind
[0]PETSC ERROR: or try http://valgrind.org on GNU/linux and Apple Mac OS X to find memory corruption errors
[0]PETSC ERROR: configure using --with-debugging=yes, recompile, link, and run
[0]PETSC ERROR: to get more information on the crash
---------------------------------------------------------------------
MPI_abort was invoked on rank 0 in communicator MPI_COMM_WORLD with errorcode 59.
NOTE: invoking MPI_ABORT causes MPI to kill all MPI processes.
you may or may not see output from other processes, depending on exactly when Open MPI kills them.
我不明白爲什麼會出現這種錯誤,以及我能做些什麼來運行OpenMDAO而不會出現此錯誤。你能幫我解決這個問題嗎?
你可以提供一些關於你運行在哪個平臺上的細節嗎?爲什麼你安裝了python,以及你如何安裝MPI和petsc? –
*你安裝了什麼python(不是「你爲什麼安裝python」) –
對不起,我運行Ubuntu 16.04 LTS,我有python 2.7.12,我安裝了通過pip安裝的mpi和petsc – samf