Step 1: Error 2#
Error Message#
1$ pylith step01a_gravity.cfg
2
3# Output
4>> {default}::
5-- error (pyre.inventory)
6-- timedependent.bc.dirichlettimedependent.label <- ''
7-- Label for boundary condition group/nodeset/pset in mesh not specified.
8>> {default}::
9-- error (pyre.inventory)
10-- timedependent.bc.dirichlettimedependent.simpledb.description <- ''
11-- Description for spatial database not specified.
12>> {default}::
13-- error (pyre.inventory)
14-- timedependent.bc.dirichlettimedependent.simpledb.simpleioascii.filename <- ''
15-- Filename for spatial database not specified.
16>> {default}::
17-- error (pyre.inventory)
18-- timedependent.bc.dirichlettimedependent.constrained_dof <- '[]'
19-- No constrained degrees of freedom found for time-dependent Dirichlet boundary condition 'bc_xpos'. 'constrained_dof' must be a zero-based integer array (0=x, 1=y, 2=z).
20>> ./pylithapp.cfg:112:
21-- error (pyre.inventory)
22-- pylithapp.timedependent.materials.elasticity.auxiliary_subfields.bulk_modulus.basis_order <- '0'
23-- unknown component 'pylithapp.timedependent.materials.elasticity.auxiliary_subfields.bulk_modulus'
24>> ./pylithapp.cfg:113:
25-- error (pyre.inventory)
26-- pylithapp.timedependent.materials.elasticity.auxiliary_subfields.shear_modulus.basis_order <- '0'
27-- unknown component 'pylithapp.timedependent.materials.elasticity.auxiliary_subfields.shear_modulus'
28>> ./pylithapp.cfg:135:
29-- error (pyre.inventory)
30-- pylithapp.timedependent.bc.xpos.label <- 'boundary_xpos'
31-- unknown component 'pylithapp.timedependent.bc.xpos'
32>> ./pylithapp.cfg:136:
33-- error (pyre.inventory)
34-- pylithapp.timedependent.bc.xpos.label_value <- '11'
35-- unknown component 'pylithapp.timedependent.bc.xpos'
36>> ./pylithapp.cfg:137:
37-- error (pyre.inventory)
38-- pylithapp.timedependent.bc.xpos.constrained_dof <- '[0]'
39-- unknown component 'pylithapp.timedependent.bc.xpos'
40>> ./pylithapp.cfg:138:
41-- error (pyre.inventory)
42-- pylithapp.timedependent.bc.xpos.db_auxiliary_field <- 'pylith.bc.ZeroDB'
43-- unknown component 'pylithapp.timedependent.bc.xpos'
44>> ./pylithapp.cfg:139:
45-- error (pyre.inventory)
46-- pylithapp.timedependent.bc.xpos.db_auxiliary_field.description <- 'Dirichlet BC +x edge'
47-- unknown component 'pylithapp.timedependent.bc.xpos.db_auxiliary_field'
48>> ./pylithapp.cfg:141:
49-- error (pyre.inventory)
50-- pylithapp.timedependent.bc.xpos.auxiliary_subfields.initial_amplitude.basis_order <- '0'
51-- unknown component 'pylithapp.timedependent.bc.xpos.auxiliary_subfields.initial_amplitude'
52usage: pylith [--<property>=<value>] [--<facility>.<property>=<value>] [FILE.cfg] ...
53component 'pylithapp'
54 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
55 facilities: dump_parameters,job,launcher,metadata,petsc,problem,scheduler,weaver
56For more information:
57 --help-properties: prints details about user settable properties
58 --help-components: prints details about user settable facilities and components
59pylithapp: configuration error(s)
Troubleshooting Strategy#
The full error message shows several errors associated with our parameter files.
Because errors often cascade, the best place to start is to address the first error (lines 3-6).
This does not give us anything specific, so we look further down the output until we find an error for a specific component.
At lines 15-18, we find that an error is associated with the bc_xpos boundary condition.
We look for this section in the parameter files and find it in pylithapp.cfg and notice the name of the boundary condition is missing bc_.
Resolution#
# Error
[pylithapp.timedependent.bc.xpos]
# Correct
[pylithapp.timedependent.bc.bc_xpos]