Skip to content

SpinDensity's low memory mode is inaccessible from the application level. #6187

Description

@PDoakORNL

Describe the bug
Currently EstimatorManagerNew uses a constructor that does not correctly set data_locality based on the save_memory input. Input Testing doesn't protect this input. Also no integration testing is tripped if the correct constructor is changed. Unit testing covers the functionality but doesn't require input with this set.

To Reproduce
Steps to reproduce the behavior:

<estimator name="spindensity_new" type="spindensity" save_memory="yes">

You would expect now there to be only one grid allocated per rank, there will still be one per crowd.

Expected behavior
The implemented feature to work.

System:
This is by inspection so I could be wrong but the test coverage is still insufficient because #6184 removed the input completely and no testing broke.

Additional context
Add any other context about the problem here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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