PETSc error code 92

378 views
Skip to first unread message

Divyat Mahajan

unread,
Jun 19, 2018, 9:58:55 AM6/19/18
to fenics-support
I am using fencis and executing my script with the dolfin version 2017.1.0, I get the following error when using solver: 
solve(F == 0, K, solver_parameters = {'newton_solver': {'convergence_criterion': 'incremental'}})

Error:

  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
***
***
*** 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
*** -------------------------------------------------------------------------

Charlie Talbot

unread,
Jul 23, 2018, 5:29:42 AM7/23/18
to fenics-support
I'm also having this issue...


On Tuesday, June 19, 2018 at 9:58:55 AM UTC-4, Divyat Mahajan wrote:
I am using fencis and executing my script with the dolfin version 2017.1.0, I get the following error when using solver: 
solve(F == 0, K, solver_parameters = {'newton_solver': {'convergence_criterion': 'incremental'}})

Error:

  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
***

Charlie Talbot

unread,
Jul 23, 2018, 5:30:48 AM7/23/18
to fenics-support
Solving linear variational problem.
Traceback (most recent call last):
  File "demo.py", line 55, in <module>
    solve(a == L, u, bc)
  File "/home/chaztikov/anaconda3/envs/fenicsproject/lib/python3.6/site-packages/dolfin/fem/solving.py", line 300, in solve
    _solve_varproblem(*args, **kwargs)
  File "/home/chaztikov/anaconda3/envs/fenicsproject/lib/python3.6/site-packages/dolfin/fem/solving.py", line 330, 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
***
***
*** 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
*** -------------------------------------------------------------------------

Aborted (core dumped)

For the linear elastic demo:
"""
FEniCS tutorial demo program: Linear elastic problem.

  -div(sigma(u)) = f

The model is used to simulate an elastic beam clamped at
its left end and deformed under its own weight.
"""
Reply all
Reply to author
Forward
0 new messages