Skip to content

Better error message when using PSDA and wf_diag #12

@xorJane

Description

@xorJane

When wavefunction dynamics are governed by preconditioned steepest descent with Anderson acceleration (PSDA) and the user tries to diagonalize the wavefunctions, i.e. when the input script includes the lines

set wf_dyn PSDA
set wf_diag true

the following error message is returned:

<ERROR> BOSampleStepper: PSDA unstable with empty states and nite = 0. </ERROR>
<ERROR> BOSampleStepper: Increase nite or use wf_dyn = PSD. </ERROR>

PSDA is stable when set wf_diag true is removed from the input script, but the current error message doesn't reflect this.

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