Step 1: Error 2#

Error Message#

Listing 268 Error message 2 when running Step 1.#
 1$ pylith step01a_gravity.cfg
 2
 3 >> {default}::
 4 -- pyre.inventory(error)
 5 -- timedependent.bc.dirichlettimedependent.label <- ''
 6 -- Label for boundary condition group/nodeset/pset in mesh not specified.
 7 >> {default}::
 8 -- pyre.inventory(error)
 9 -- timedependent.bc.dirichlettimedependent.simpledb.description <- ''
10 -- Description for spatial database not specified.
11 >> {default}::
12 -- pyre.inventory(error)
13 -- timedependent.bc.dirichlettimedependent.simpledb.simpleioascii.filename <- ''
14 -- Filename for spatial database not specified.
15 >> {default}::
16 -- pyre.inventory(error)
17 -- timedependent.bc.dirichlettimedependent.constrained_dof <- '[]'
18 -- 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).
19 >> ./pylithapp.cfg:118:
20 -- pyre.inventory(error)
21 -- pylithapp.timedependent.materials.elasticity.auxiliary_subfields.bulk_modulus.basis_order <- '0'
22 -- unknown component 'pylithapp.timedependent.materials.elasticity.auxiliary_subfields.bulk_modulus'
23 >> ./pylithapp.cfg:119:
24 -- pyre.inventory(error)
25 -- pylithapp.timedependent.materials.elasticity.auxiliary_subfields.shear_modulus.basis_order <- '0'
26 -- unknown component 'pylithapp.timedependent.materials.elasticity.auxiliary_subfields.shear_modulus'
27 >> ./pylithapp.cfg:141:
28 -- pyre.inventory(error)
29 -- pylithapp.timedependent.bc.xpos.label <- 'boundary_xpos'
30 -- unknown component 'pylithapp.timedependent.bc.xpos'
31 >> ./pylithapp.cfg:142:
32 -- pyre.inventory(error)
33 -- pylithapp.timedependent.bc.xpos.label_value <- '11'
34 -- unknown component 'pylithapp.timedependent.bc.xpos'
35 >> ./pylithapp.cfg:143:
36 -- pyre.inventory(error)
37 -- pylithapp.timedependent.bc.xpos.constrained_dof <- '[0]'
38 -- unknown component 'pylithapp.timedependent.bc.xpos'
39 >> ./pylithapp.cfg:144:
40 -- pyre.inventory(error)
41 -- pylithapp.timedependent.bc.xpos.db_auxiliary_field <- 'pylith.bc.ZeroDB'
42 -- unknown component 'pylithapp.timedependent.bc.xpos'
43 >> ./pylithapp.cfg:145:
44 -- pyre.inventory(error)
45 -- pylithapp.timedependent.bc.xpos.db_auxiliary_field.description <- 'Dirichlet BC +x edge'
46 -- unknown component 'pylithapp.timedependent.bc.xpos.db_auxiliary_field'
47 >> ./pylithapp.cfg:147:
48 -- pyre.inventory(error)
49 -- pylithapp.timedependent.bc.xpos.auxiliary_subfields.initial_amplitude.basis_order <- '0'
50 -- unknown component 'pylithapp.timedependent.bc.xpos.auxiliary_subfields.initial_amplitude'
51usage: pylith [--<property>=<value>] [--<facility>.<property>=<value>] [FILE.cfg] ...
52component 'pylithapp'
53    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
54    facilities: dump_parameters,job,launcher,mesh_generator,metadata,petsc,problem,scheduler,weaver
55For more information:
56  --help-properties: prints details about user settable properties
57  --help-components: prints details about user settable facilities and components
58pylithapp: 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#

Listing 269 Correct error in pylithapp.cfg.#
# Error
[pylithapp.timedependent.bc.xpos]

# Correct
[pylithapp.timedependent.bc.bc_xpos]