Skip to content

checkForUnusedOptions should gather across MPI ranks #3366

@bendudson

Description

@bendudson

The checkForUnusedOptions throws an exception when options are unused. This incorrectly throws when expressions are used to set boundary conditions in multi-processor runs e.g. bndry_core = dirichlet(core_ne) the core_ne option is used on processors that have a core boundary, but not on other processors.

PR #3365 was an attempt to work around this by adding zero-width boundaries to all processors, but that doesn't work and would be fragile.

Since checkForUnusedOptions is not performance-critical, we can afford to do some kind of reduction over all processors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions