Step 1: Error 1#
Error Message#
1$ pylith step01a_gravity.cfg
2
3 >> {default}::
4 -- pyre.inventory(error)
5 -- timedependent.problem_defaults.name <- ''
6 -- Missing required property 'name' in default options for problem.
7 >> {default}::
8 -- pyre.inventory(error)
9 -- timedependent.bc.dirichlettimedependent.label <- ''
10 -- Label for boundary condition group/nodeset/pset in mesh not specified.
11 >> {default}::
12 -- pyre.inventory(error)
13 -- timedependent.bc.dirichlettimedependent.simpledb.description <- ''
14 -- Description for spatial database not specified.
15 >> {default}::
16 -- pyre.inventory(error)
17 -- timedependent.bc.dirichlettimedependent.simpledb.simpleioascii.filename <- ''
18 -- Filename for spatial database not specified.
19 >> {default}::
20 -- pyre.inventory(error)
21 -- timedependent.bc.dirichlettimedependent.constrained_dof <- '[]'
22 -- 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).
23 >> ./pylithapp.cfg:118:
24 -- pyre.inventory(error)
25 -- pylithapp.timedependent.materials.elasticity.auxiliary_subfields.bulk_modulus.basis_order <- '0'
26 -- unknown component 'pylithapp.timedependent.materials.elasticity.auxiliary_subfields.bulk_modulus'
27 >> ./pylithapp.cfg:119:
28 -- pyre.inventory(error)
29 -- pylithapp.timedependent.materials.elasticity.auxiliary_subfields.shear_modulus.basis_order <- '0'
30 -- unknown component 'pylithapp.timedependent.materials.elasticity.auxiliary_subfields.shear_modulus'
31 >> ./pylithapp.cfg:141:
32 -- pyre.inventory(error)
33 -- pylithapp.timedependent.bc.xpos.label <- 'boundary_xpos'
34 -- unknown component 'pylithapp.timedependent.bc.xpos'
35 >> ./pylithapp.cfg:142:
36 -- pyre.inventory(error)
37 -- pylithapp.timedependent.bc.xpos.label_value <- '11'
38 -- unknown component 'pylithapp.timedependent.bc.xpos'
39 >> ./pylithapp.cfg:143:
40 -- pyre.inventory(error)
41 -- pylithapp.timedependent.bc.xpos.constrained_dof <- '[0]'
42 -- unknown component 'pylithapp.timedependent.bc.xpos'
43 >> ./pylithapp.cfg:144:
44 -- pyre.inventory(error)
45 -- pylithapp.timedependent.bc.xpos.db_auxiliary_field <- 'pylith.bc.ZeroDB'
46 -- unknown component 'pylithapp.timedependent.bc.xpos'
47 >> ./pylithapp.cfg:145:
48 -- pyre.inventory(error)
49 -- pylithapp.timedependent.bc.xpos.db_auxiliary_field.description <- 'Dirichlet BC +x edge'
50 -- unknown component 'pylithapp.timedependent.bc.xpos.db_auxiliary_field'
51 >> ./pylithapp.cfg:147:
52 -- pyre.inventory(error)
53 -- pylithapp.timedependent.bc.xpos.auxiliary_subfields.initial_amplitude.basis_order <- '0'
54 -- unknown component 'pylithapp.timedependent.bc.xpos.auxiliary_subfields.initial_amplitude'
55usage: pylith [--<property>=<value>] [--<facility>.<property>=<value>] [FILE.cfg] ...
56component 'pylithapp'
57 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
58 facilities: dump_parameters,job,launcher,mesh_generator,metadata,petsc,problem,scheduler,weaver
59For more information:
60 --help-properties: prints details about user settable properties
61 --help-components: prints details about user settable facilities and components
62pylithapp: 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).
We see that the default name for problem_defaults is empty and PyLith requires one.
This name will be used as the first part of the filename for output.
We resolve this error by examining the parameters for pylithapp.timedependent.problem_defaults in step01_gravity.cfg.
We see that we do not set any of the problem defaults.
Resolution#
We must set the simulation name in the problem defaults.
[pylithapp]
...
# Set the name of the problem that will be used to construct the
# output filenames. The default directory for output is 'output'.
problem.defaults.name = step01a_gravity