Step 6: Error 2#
Error Message#
1$ pylith step06_twofaults.cfg
2
3# Output
4>> {default}::
5-- error (pyre.inventory)
6-- timedependent.interfaces.faultcohesivekin.singlerupture.kinsrcstep.simpledb.simpleioascii.filename <- ''
7-- Filename for spatial database not specified.
8>> step06_twofaults.cfg:84:
9-- error (pyre.inventory)
10-- timedependent.interfaces.faultcohesivekin.singlerupture.kinsrcstep.simpledb.filename <- 'fault_slip.spatialdb'
11-- unrecognized property 'timedependent.interfaces.faultcohesivekin.singlerupture.kinsrcstep.simpledb.filename'
12usage: pylith [--<property>=<value>] [--<facility>.<property>=<value>] [FILE.cfg] ...
13component 'pylithapp'
14 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
15 facilities: dump_parameters,job,launcher,metadata,petsc,problem,scheduler,weaver
16For more information:
17 --help-properties: prints details about user settable properties
18 --help-components: prints details about user settable facilities and components
19pylithapp: configuration error(s)
Troubleshooting Strategy#
We still have problem configuration errors.
The filename for the SimpleIOAscii reader for a SimpleDB is missing.
We examine the earthquake rupture parameters in step06_twofaults.cfg again and see that the filename is associated with the SimpleDB; however, if we look at the SimpleDB documentation we notice that it has a reader SimpleIOAscii, which has a filename.
Resolution#
# Error
db_auxiliary_field.filename = fault_slip.spatialdb
# Correct
db_auxiliary_field.iohandler.filename = fault_slip.spatialdb