Error within the Rheology Framework

Hello Brad,

Work is continuing with the poroelastic branch (https://github.com/josimarsilva/pylith/tree/poroelastic), and @josimar and I are having a bit of an issue with a compiled build, producing the following demangled error when pylith is run without command line options or a .cfg file:

   Traceback (most recent call last):
  File "/home/dockimble/build/pylith/bin/pylith", line 25, in <module>
    from pylith.apps.PyLithApp import PyLithApp
  File "/home/dockimble/build/pylith/lib/python2.7/site-packages/pylith/apps/PyLithApp.py", line 28, in <module>
    class PyLithApp(PetscApplication):
  File "/home/dockimble/build/pylith/lib/python2.7/site-packages/pylith/apps/PyLithApp.py", line 60, in PyLithApp
    from pylith.topology.MeshImporter import MeshImporter
  File "/home/dockimble/build/pylith/lib/python2.7/site-packages/pylith/topology/MeshImporter.py", line 25, in <module>
    class MeshImporter(MeshGenerator):
  File "/home/dockimble/build/pylith/lib/python2.7/site-packages/pylith/topology/MeshImporter.py", line 47, in MeshImporter
    from pylith.meshio.MeshIOAscii import MeshIOAscii
  File "/home/dockimble/build/pylith/lib/python2.7/site-packages/pylith/meshio/MeshIOAscii.py", line 23, in <module>
    from MeshIOObj import MeshIOObj
  File "/home/dockimble/build/pylith/lib/python2.7/site-packages/pylith/meshio/MeshIOObj.py", line 23, in <module>
    from meshio import MeshIO as ModuleMeshIO
  File "/home/dockimble/build/pylith/lib/python2.7/site-packages/pylith/meshio/meshio.py", line 28, in <module>
    _meshio = swig_import_helper()
  File "/home/dockimble/build/pylith/lib/python2.7/site-packages/pylith/meshio/meshio.py", line 24, in swig_import_helper
    _mod = imp.load_module('_meshio', fp, pathname, description)
ImportError: /home/dockimble/build/pylith/lib/libpylith.so.0: undefined symbol: pylith::materials::RheologyPoroelasticity::getKernelRHSJacobianBiotCoefficient(spatialdata::geocoords::CoordSys const*) const

Try as I might, I cannot find where this undefined symbol could be; aside from the rheology framework(_rheology->getKernelRHSJacobianBiotCoefficient(coordsys):wink: the offending function is not listed in the manner described.

Any help would be greatly appreciated.

Thank you,
Robert

Never mind, I think I got this one, the problem seemed to be remedied by setting all trailing const = 0 in the RheologyPoroelasticity.hh file.