[CIG-SHORT] Pylith question

Brad Aagaard baagaard at usgs.gov
Tue May 3 10:26:46 PDT 2016


On 05/03/2016 09:45 AM, Francisco Delgado wrote:
> Hi,
>
> I'm trying to modify some existent Pylith codes to benchmark the Mogi
> solution with FEM and I get the following error
>
> *Fatal error. Calling MPI_Abort() to abort PyLith application.*
>
> *Traceback (most recent call last):*
>
> *  File
> "/Applications/pylith-2.1.1-darwin-10.6.8/lib/python2.7/site-packages/pylith/apps/PetscApplication.py",
> line 64, in onComputeNodes*
>
> *    self.main(*args, **kwds)*
>
> *  File
> "/Applications/pylith-2.1.1-darwin-10.6.8/lib/python2.7/site-packages/pylith/apps/PyLithApp.py",
> line 123, in main*
>
> *    self.problem.verifyConfiguration()*
>
> *  File
> "/Applications/pylith-2.1.1-darwin-10.6.8/lib/python2.7/site-packages/pylith/problems/TimeDependent.py",
> line 104, in verifyConfiguration*
>
> *    Problem.verifyConfiguration(self)*
>
> *  File
> "/Applications/pylith-2.1.1-darwin-10.6.8/lib/python2.7/site-packages/pylith/problems/Problem.py",
> line 189, in verifyConfiguration*
>
> *    self.mesh().checkMaterialIds(idValues)*
>
> *  File
> "/Applications/pylith-2.1.1-darwin-10.6.8/lib/python2.7/site-packages/pylith/topology/Mesh.py",
> line 68, in checkMaterialIds*
>
> *    MeshOps_checkMaterialIds(self, materialIds)*
>
> *RuntimeError: Material id '2' for cell '26882' does not match the id of
> any available materials or interfaces.*
>
> *application called MPI_Abort(MPI_COMM_WORLD, -1) - process 0*
>
> */Applications/pylith-2.1.1-darwin-10.6.8/bin/nemesis: mpirun: exit 255*
>
> */Applications/pylith-2.1.1-darwin-10.6.8/bin/pylith:
> /Applications/pylith-2.1.1-darwin-10.6.8/bin/nemesis: exit 1*
>
> *
> *
> What could be producing it?

The statement "Material id '2' for cell '26882' does not match the id of 
any available materials or interfaces." is the key. Your mesh has a cell 
(probably more) with a material id of '2' but your parameter file does 
not specify properties for a material with an id of '2'.

Regards,
Brad




More information about the CIG-SHORT mailing list