Skip to content

Conversation

bastonero
Copy link
Collaborator

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.

Copy link
Member

@mbercx mbercx left a 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.

@mbercx
Copy link
Member

mbercx commented Mar 26, 2025

@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 🙈

@mbercx mbercx force-pushed the handler/ph/convergence branch 3 times, most recently from 7418bf3 to 00329d8 Compare March 27, 2025 23:27
@mbercx mbercx closed this Mar 28, 2025
@mbercx mbercx reopened this Mar 28, 2025
@mbercx
Copy link
Member

mbercx commented Mar 28, 2025

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.

@mbercx mbercx force-pushed the handler/ph/convergence branch from 00329d8 to 771e789 Compare September 15, 2025 12:41
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.
@mbercx mbercx force-pushed the handler/ph/convergence branch from 771e789 to 100e34d Compare September 15, 2025 13:01
Copy link
Member

@mbercx mbercx left a 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!

@mbercx mbercx merged commit d42fa71 into aiidateam:main Sep 15, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants