Step 1: Error 3#

Error Message#

Listing 174 Error message 3 when running Step 1.#
 1$ pylith step01_gravity.cfg
 2
 3 >> ./pylithapp.cfg:133:
 4 -- pyre.inventory(error)
 5 -- pylithapp.timedependent.materials.elasticity.auxiliary_subfields.bulk_modulus.basis_order <- '0'
 6 -- unknown component 'pylithapp.timedependent.materials.elasticity.auxiliary_subfields.bulk_modulus'
 7 >> ./pylithapp.cfg:134:
 8 -- pyre.inventory(error)
 9 -- pylithapp.timedependent.materials.elasticity.auxiliary_subfields.shear_modulus.basis_order <- '0'
10 -- unknown component 'pylithapp.timedependent.materials.elasticity.auxiliary_subfields.shear_modulus'
11usage: pylith [--<property>=<value>] [--<facility>.<property>=<value>] [FILE.cfg] ...
12component 'pylithapp'
13    properties: dump_parameters, help, help-components, help-persistence, help-properties, include-citations, initialize_only, job, launcher, mesh_generator, metadata, nodes, petsc, problem, scheduler, start_python_debugger, typos, weaver
14    facilities: dump_parameters,job,launcher,mesh_generator,metadata,petsc,problem,scheduler,weaver
15For more information:
16  --help-properties: prints details about user settable properties
17  --help-components: prints details about user settable facilities and components
18pylithapp: configuration error(s)

Troubleshooting Strategy#

Lines 3-6 indicate that we are trying to set the basis order for component pylithapp.timedependent.materials.elasticity.auxiliary_subfields that does not exist. If we look up the documentation for components Elasticity and IsotropicLinearElasticity, then we see that the bulk_modulus auxiliary subfield is a subfield of the bulk rheology, not of the material.

Resolution#

Listing 175 Correct error in pylithapp.cfg.#
[pylithapp.problem.materials.wedge]
...
bulk_rheology.auxiliary_subfields.bulk_modulus.basis_order = 0
bulk_rheology.auxiliary_subfields.shear_modulus.basis_order = 0