Fenics错误:PETSc错误代码92

时间:2018-06-23 18:14:00

标签: python fenics

我正在使用fencis并使用fenics版本2017.1.0执行我的python脚本,使用求解器时出现以下错误:

solve(F == 0, K, solver_parameters = {'newton_solver': {'convergence_criterion': 'incremental'}})

错误:

  File "/home/divyat/anaconda/lib/python3.6/site-packages/dolfin/fem/solving.py", line 300, in solve
    _solve_varproblem(*args, **kwargs)
  File "/home/divyat/anaconda/lib/python3.6/site-packages/dolfin/fem/solving.py", line 349, in _solve_varproblem
    solver.solve()
RuntimeError: 

*** -------------------------------------------------------------------------
*** DOLFIN encountered an error. If you are not able to resolve this issue
*** using the information listed below, you can ask for help at
***
***     fenics-support@googlegroups.com
***
*** Remember to include the error message listed below and, if possible,
*** include a *minimal* running example to reproduce the error.
***
*** -------------------------------------------------------------------------
*** Error:   Unable to successfully call PETSc function 'KSPSolve'.
*** Reason:  PETSc error code is: 92 (See http://www.mcs.anl.gov/petsc/documentation/linearsolvertable.html for possible LU and Cholesky solvers).
*** Where:   This error was encountered inside /feedstock_root/build_artefacts/fenics_1505643966928/work/dolfin-2017.1.0/dolfin/la/PETScKrylovSolver.cpp.
*** Process: 0
*** 
*** DOLFIN version: 2017.1.0
*** Git changeset:  368b07a8b3c7fa8acb10fa50a1ae933af9767081
*** -------------------------------------------------------------------------

0 个答案:

没有答案