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

Don't modify preferences automatically #19

Merged
merged 3 commits into from
Nov 4, 2024

Conversation

Technici4n
Copy link
Collaborator

@Technici4n Technici4n commented Oct 30, 2024

Modifying preferences will trigger a recompilation on the next load. This can cause unexpected problems when combined with MPI runs or when done while precompiling. Personal opinion: we should never change a preference automatically, but we can warn/error when a misconfiguration is detected.

src/AiidaDFTK.jl Outdated Show resolved Hide resolved
src/AiidaDFTK.jl Outdated Show resolved Hide resolved
@Technici4n Technici4n force-pushed the dont-modify-preferences branch from 6667676 to 9146595 Compare October 31, 2024 10:39
@Technici4n Technici4n marked this pull request as ready for review October 31, 2024 10:41
src/AiidaDFTK.jl Outdated Show resolved Hide resolved
src/AiidaDFTK.jl Outdated Show resolved Hide resolved
@Technici4n
Copy link
Collaborator Author

Should be fine now.

@mfherbst mfherbst merged commit 11a25c5 into epfl-matmat:master Nov 4, 2024
2 of 5 checks passed
@Technici4n Technici4n deleted the dont-modify-preferences branch November 6, 2024 09:34
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