# Linear solve did not converge due to DIVERGED\_ITS iterations 500

**URL:** <https://community.geodynamics.org/t/linear-solve-did-not-converge-due-to-diverged-its-iterations-500/2623>\
**Category:** PyLith\
**Created:** [October 11, 2022, 2:21pm UTC](https://community.geodynamics.org/t/linear-solve-did-not-converge-due-to-diverged-its-iterations-500/2623 "2022-10-11T14:21:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![luxiaokong](https://avatars.discourse-cdn.com/v4/letter/l/3d9bf3/32.png) [@luxiaokong](https://community.geodynamics.org/u/luxiaokong)\
**Post date:** [October 11, 2022, 2:21pm UTC](https://community.geodynamics.org/t/linear-solve-did-not-converge-due-to-diverged-its-iterations-500/2623/1 "2022-10-11T14:21:47Z")

</div>

Dear Pylith team,

I have encountered the following mistake. I don’t know how to solve it. Any suggestions or help will be greatly appreciated.

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/geodynamics/original/2X/d/d8d04fde43d409675f686ee0de61bd09080ecee6.png)  
Nick

---

<div class="post-metadata">

**Author:** ![baagaard](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/baagaard/32/615_2.png) [@baagaard](https://community.geodynamics.org/u/baagaard)\
**Post date:** [October 11, 2022, 3:23pm UTC](https://community.geodynamics.org/t/linear-solve-did-not-converge-due-to-diverged-its-iterations-500/2623/2 "2022-10-11T15:23:26Z")

</div>

This error indicates the nonlinear solver did not converge. It looks like you are using PyLith v2.2. Please see Section 4.1.5 PETSc Settings in the PyLith v2.2.2 manual. Check that you are using appropriate solver and preconditioner settings for your problem.
