# \[0\]0:Return code = 0, signaled with Aborted

**URL:** https://community.geodynamics.org/t/0-0-return-code-0-signaled-with-aborted/2904
**Category:** PyLith
**Created:** [April 12, 2023, 5:51am UTC](https://community.geodynamics.org/t/0-0-return-code-0-signaled-with-aborted/2904 "2023-04-12T05:51:35Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![HangWu](https://avatars.discourse-cdn.com/v4/letter/h/f17d59/32.png) [@HangWu](https://community.geodynamics.org/u/HangWu)
#### Post date: [April 12, 2023, 5:51am UTC](https://community.geodynamics.org/t/0-0-return-code-0-signaled-with-aborted/2904/1 "2023-04-12T05:51:36Z")

</div>

Hi there，  
Recently I had a problem simulating the deformation of the lithosphere under gravity ：

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/geodynamics/original/2X/9/9895a23711db5fe3168b4ce61afdfe457bdba757.png)  
There are no other error messages . It seems to be a problem with the parameters of the solver. My parameters are set as follows ：  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/geodynamics/original/2X/6/693be3fb7afb39cc89878b6d11f960e137f547ca.png)  
What is the cause of this error and how to fix it .  
Thanks  
HangWu  
2023.04.12

---

<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: [April 12, 2023, 2:23pm UTC](https://community.geodynamics.org/t/0-0-return-code-0-signaled-with-aborted/2904/2 "2023-04-12T14:23:18Z")

</div>

Please follow the directions in the manual and those given by --help when asking for help.  
[https://pylith.readthedocs.io/en/latest/user/intro/getting-help.html](https://pylith.readthedocs.io/en/latest/user/intro/getting-help.html)

1. Indicate which PyLith version you are using along with whether you are using the binary, container, or building from source.
2. Describe what you are trying to do

- Overview of the problem and boundary conditions (diagrams are very helpful)
- 2-D or 3-D
- Cell type (tri, quad, hex, or tet)
- Type of fault: prescribed slip or spontaneous rupture

1. Attach the PyLith parameters .json file generated by running `pylith` or `pylith_dumpparameters`.
2. Send the _entire_ error message, not just what you think is important (entire log is best). Attaching the file is much better than a screenshot.

---

<div class="post-metadata">

### Author: ![HangWu](https://avatars.discourse-cdn.com/v4/letter/h/f17d59/32.png) [@HangWu](https://community.geodynamics.org/u/HangWu)
#### Post date: [April 13, 2023, 2:55am UTC](https://community.geodynamics.org/t/0-0-return-code-0-signaled-with-aborted/2904/3 "2023-04-13T02:55:04Z")

</div>

Hi, Brad  
Thanks for your replying.  
1、 My system is ubuntu 20.04, version pylith2.2.2 .  
2、 I wanted to simulate how gravity would affect the interior of the lithosphere in areas with significant differences in topographic height.  
I used a 2D model, quadrilateral mesh, and set the sides and bottom as free sliding boundaries, without considering faults .  
3、 In my initial simulations, I used viscoelastic materials for the entire lithosphere. Yesterday I modified the crust to an elastic material, but the initial stress state is still given for the elastic material .  
The simulation ran successfully after I removed the initial stress state for the elastic material.

---

<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: [April 13, 2023, 3:16am UTC](https://community.geodynamics.org/t/0-0-return-code-0-signaled-with-aborted/2904/4 "2023-04-13T03:16:25Z")

</div>

My guess is that you didn’t specify the initial stress properly. I suggest looking at the examples that use gravity with initial stress (`examples/2d/gravity`).

---

<div class="post-metadata">

### Author: ![HangWu](https://avatars.discourse-cdn.com/v4/letter/h/f17d59/32.png) [@HangWu](https://community.geodynamics.org/u/HangWu)
#### Post date: [April 13, 2023, 4:16am UTC](https://community.geodynamics.org/t/0-0-return-code-0-signaled-with-aborted/2904/5 "2023-04-13T04:16:42Z")

</div>

Hi, Brad  
Maybe I didn’t make myself clear. In that example, only the initial stress is specify for elastic materials, the initial stress and initial state are specify for viscoelastic materials 。  
I set the initial stress and initial state because my entire model was viscoelastic, but after changing the crust to elastic, I still specified the initial stress and initial state. Then I delete the initial state, specify only the initial stress, and the simulation runs successfully 。
