-
Notifications
You must be signed in to change notification settings - Fork 95
PhBaseWorkChain
: better handler for convergence
#986
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @bastonero! Just left a few questions/comments.
c554577
to
53b83cd
Compare
@bastonero integrated my nitpick. ^^ I'm happy to merge this now, unless you still have comments/updates since we started this PR 1.5 years go 🙈 |
7418bf3
to
00329d8
Compare
Note: RTD was having trouble finding the GitHub references when cloning the repository and checking out the branch, seems closing and reopening the PR fixes this issue. |
00329d8
to
771e789
Compare
Simply reducing the `alpha_mix` does not always fix convergence issues. Here we increase the default number of iterations into the mixing by setting `nmix_ph` to 8 in the `PhBaseWorkChain` protocol, and check this value when handling the error. The rate of the `alpha_mix` reduction is also increased, and below a certain threshold a multi mix approach is tried. Afterwards, the handler finishes the strategies.
771e789
to
100e34d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sad that this fell through the cracks for so long, but better late than never!
Plain lowering down the alpha mix could not work always. The
nmix_ph
is already an improvement, leading to the usage of more iterations into the mixing. The rate of the alpha mix change is also increased, and below a certain threshold a multi mix approach is tried. Afterwards, the handler finishes the strategies.