Petsc error when running Openmdao v1.7.3 tutorials and benchmarks
我已经尝试运行Openmdao抛物面教程以及基准测试,并且始终收到相同的错误,内容如下:
1 2 3 4 5 6 7 8 9 10 11 | [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。您能帮我吗?
您的PETSc安装过程不顺利。很难从远处调试它。它可能在您的MPI安装,PETSc安装或petsc4py安装中。我建议不要通过pip安装PETSc或PETSc4Py。我在这方面取得了不同的成功。两者都可以从源代码安装而没有太大的困难。
但是,要运行这些教程,您不需要安装PETSc。您可以删除那些软件包,并且这些教程将为您正确地串行运行