Skip to content
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

Let SCF iteration converge for this test, because an SCF convergence … #202

Merged
merged 2 commits into from
Dec 22, 2023

Conversation

mkrack
Copy link
Contributor

@mkrack mkrack commented Dec 17, 2023

…failure is now an error and causes an abort.

…failure is now an error and causes an abort.
@mkrack mkrack force-pushed the main branch 2 times, most recently from fa58751 to 8e67efe Compare December 17, 2023 18:09
@mkrack
Copy link
Contributor Author

mkrack commented Dec 19, 2023

This PR works fine for me locally using this docker file and it should resolve the current issue with the regression test for the AiiDA-CP2K plugin.
@yakutovicha Please, could you have a look?

@yakutovicha yakutovicha self-requested a review December 22, 2023 11:51
Copy link
Contributor

@yakutovicha yakutovicha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @mkrack!

@yakutovicha yakutovicha merged commit 979c619 into aiidateam:main Dec 22, 2023
4 checks passed
@oschuett
Copy link
Collaborator

I'm afraid the test is still rather flaky as it fails roughly every other time.

@yakutovicha
Copy link
Contributor

I will work on tests in the next few weeks. I will probably move from running the code to mocking the code execution and providing pre-computed output files.

@oschuett
Copy link
Collaborator

oschuett commented Feb 2, 2024

Is there no other way? If you mock out cp2k then this test will be far less useful.
Maybe we could just set IGNORE_CONVERGENCE_FAILURE to restore the old behavior?

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.

3 participants