Skip to content

Error: Cannot fetch non-existent child "relativeTolerance" from Node (options/iteration) #14

@cmakrides-hpe

Description

@cmakrides-hpe

I think there's an error here with the relativeTolerance option being set only if a benchmark problem is specified.
https://github.com/LLNL/UMT/blob/a6e8898d34b9ea3ad6cd5603ddfd44e05c53b7ec/src/teton/driver/test_driver.cc#L599

If one doesn't run a benchmark problem, i.e. the program isn't run with -b [0,1,2], the relativeTolerance isn't set and then I see an error when trying to read this option

terminate called after throwing an instance of 'conduit::Error' what(): file: /tmp/cmakrides/spack-stage/spack-stage-conduit-0.8.8-d7d3sdhauopbnumlex4gwzgcs4d2pvah/spack-src/src/libs/conduit/conduit_node.cpp line: 14197 message: Cannot fetch non-existent child "relativeTolerance" from Node(options/iteration)

The read that causes an error later on is from https://github.com/LLNL/UMT/blob/a6e8898d34b9ea3ad6cd5603ddfd44e05c53b7ec/src/teton/driver/test_driver.cc#L1362

There doesn't seem to be an option to the driver that allows the tolerance to be set, so in principle a default would have to be set before the test for the benchmark problem is made.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions