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 >> {default}::
4 -- pyre.inventory(error)
5 -- timedependent.interfaces.faultcohesivekin.singlerupture.kinsrcstep.simpledb.description <- ''
6 -- Description for spatial database not specified.
7 >> {default}::
8 -- pyre.inventory(error)
9 -- timedependent.interfaces.faultcohesivekin.singlerupture.kinsrcstep.simpledb.simpleioascii.filename <- ''
10 -- Filename for spatial database not specified.
11 >> step06_twofaults.cfg:68:
12 -- pyre.inventory(error)
13 -- timedependent.interfaces.faultcohesivekin.singlerupture.kinsrcstep.simpledb.filename <- 'fault_slip.spatialdb'
14 -- unrecognized property 'timedependent.interfaces.faultcohesivekin.singlerupture.kinsrcstep.simpledb.filename'
15usage: pylith [--<property>=<value>] [--<facility>.<property>=<value>] [FILE.cfg] ...
16component 'pylithapp'
17 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
18 facilities: dump_parameters,job,launcher,mesh_generator,metadata,petsc,problem,scheduler,weaver
19For more information:
20 --help-properties: prints details about user settable properties
21 --help-components: prints details about user settable facilities and components
22pylithapp: 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