Step 6: Error 1#
In troubleshooting Step 1 we resolved all of the errors associated with pylithapp.cfg.
In this example, we expect all errors to be associated with inputs files specific to Step 6, such as step06_twofaults.cfg.
Error Message#
1$ pylith step06_twofaults.cfg
2
3# Output
4>> {default}::
5-- error (pyre.inventory)
6-- timedependent.interfaces.faultcohesivekin.singlerupture.kinsrcstep.simpledb.description <- ''
7-- Description for spatial database not specified.
8>> {default}::
9-- error (pyre.inventory)
10-- timedependent.interfaces.faultcohesivekin.singlerupture.kinsrcstep.simpledb.simpleioascii.filename <- ''
11-- Filename for spatial database not specified.
12>> step06_twofaults.cfg:81:
13-- error (pyre.inventory)
14-- timedependent.interfaces.faultcohesivekin.singlerupture.kinsrcstep.simpledb.filename <- 'fault_slip.spatialdb'
15-- unrecognized property 'timedependent.interfaces.faultcohesivekin.singlerupture.kinsrcstep.simpledb.filename'
16usage: pylith [--<property>=<value>] [--<facility>.<property>=<value>] [FILE.cfg] ...
17component 'pylithapp'
18 properties: dump_parameters, help, help-components, help-persistence, help-properties, include-citations, initialize_only, job, launcher, metadata, nodes, petsc, problem, scheduler, show_application_flow, start_python_debugger, typos, weaver
19 facilities: dump_parameters,job,launcher,metadata,petsc,problem,scheduler,weaver
20For more information:
21 --help-properties: prints details about user settable properties
22 --help-components: prints details about user settable facilities and components
23pylithapp: configuration error(s)
Troubleshooting Strategy#
We have several configuration errors, so we start with the first one at lines 3-6.
Spatial databases require a description, and PyLith cannot find one for timedependent.interfaces.faultcohesivekin.singlerupture.kinsrcstep.simpledb.
We examine the fault parameters for step06_twofaults.cfg and see that db_auxiliary_field for the earthquake rupture is missing the description.
Resolution#
[pylithapp.problem.interfaces.fault.eq_ruptures.rupture]
...
db_auxiliary_field.description = Fault rupture for main fault