# PETSc ERROR when running on cluster

**URL:** <https://community.geodynamics.org/t/petsc-error-when-running-on-cluster/546>\
**Category:** PyLith\
**Created:** [April 4, 2019, 2:49am UTC](https://community.geodynamics.org/t/petsc-error-when-running-on-cluster/546 "2019-04-04T02:49:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![geli](https://avatars.discourse-cdn.com/v4/letter/g/b5e925/32.png) [@geli](https://community.geodynamics.org/u/geli)\
**Post date:** [April 4, 2019, 2:49am UTC](https://community.geodynamics.org/t/petsc-error-when-running-on-cluster/546/1 "2019-04-04T02:49:31Z")

</div>

Hi all,  
I have compiled Pylith successfully from source following the INSTALL instructions.  
I attempted to verify my installation by running a dynamic rupture simulation which has been simulated successfully on another cluster. But the program was aborted and gave me this message:

> [0]PETSC ERROR: --------------------- Error Message --------------------------------------------------------------srun: Job step aborted: Waiting up to 32 seconds for job step to finish.  
> [0]PETSC ERROR: Petsc has generated inconsistent data  
> [0]PETSC ERROR: There is a size mismatch in the SF embedding, 48 != 744

I requested 48 cores on 3 nodes using a SLURM batch system.  
What could be the reason here?

## Thank you!

Thank you Charles! I have attached the outfile here.  
[errorfile.txt](https://community.geodynamics.org/uploads/geodynamics/original/1X/78d4c6ad6786cafb24147827462be27c734fa2ee.txt) (3.1 KB)  
[outfile.txt](https://community.geodynamics.org/uploads/geodynamics/original/1X/8edd34eaa4fda9b975fa33ad323ceb98d1815915.txt) (4.7 KB)

Ge

---

<div class="post-metadata">

**Author:** ![willic3](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/willic3/32/598_2.png) [@willic3](https://community.geodynamics.org/u/willic3)\
**Post date:** [April 4, 2019, 3:33am UTC](https://community.geodynamics.org/t/petsc-error-when-running-on-cluster/546/2 "2019-04-04T03:33:01Z")

</div>

Dear Ge,

It would be helpful if we could see the entire output (stderr and stdout).

Cheers,

Charles

**Charles Williams I Geodynamic Modeler  
GNS Science I Te  
Pῡ Ao**

1 Fairway Drive, Avalon 5010, PO Box 30368, Lower Hutt 5040, New Zealand

**Ph** 0064-4-570-4566 I **Mob** 0064-22-350-7326 I **Fax** 0064-4-570-4600 [**http://www.gns.cri.nz/**](http://www.gns.cri.nz/) **I** \*\*Email: \*\ ***C.Williams@gns.cri.nz**

---

<div class="post-metadata">

**Author:** ![geli](https://avatars.discourse-cdn.com/v4/letter/g/b5e925/32.png) [@geli](https://community.geodynamics.org/u/geli)\
**Post date:** [April 4, 2019, 3:38am UTC](https://community.geodynamics.org/t/petsc-error-when-running-on-cluster/546/3 "2019-04-04T03:38:10Z")

</div>

Charles, thanks for reminding me! I have attached the file in the original post.

---

<div class="post-metadata">

**Author:** ![willic3](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.geodynamics.org/willic3/32/598_2.png) [@willic3](https://community.geodynamics.org/u/willic3)\
**Post date:** [April 11, 2019, 4:13am UTC](https://community.geodynamics.org/t/petsc-error-when-running-on-cluster/546/4 "2019-04-11T04:13:26Z")

</div>

Dear Ge,

Sorry for the slow response. I’m still not sure what your problem might be. This appears to be happening during the partitioning process. I don’t think this is the problem, but there could be a memory issue. How large is this problem (e.g., mesh size), and how much memory does your cluster have per node? Also, are you running the same version of PyLith that used for the successful run on the other cluster?

Cheers,  
Charles

---

<div class="post-metadata">

**Author:** ![jczhang07](https://avatars.discourse-cdn.com/v4/letter/j/5e9695/32.png) [@jczhang07](https://community.geodynamics.org/u/jczhang07)\
**Post date:** [May 21, 2019, 8:36pm UTC](https://community.geodynamics.org/t/petsc-error-when-running-on-cluster/546/5 "2019-05-21T20:36:16Z")

</div>

This is probably a PETSc bug. You can report it to [petsc-maint@mcs.anl.gov](mailto:petsc-maint@mcs.anl.gov)
