The calculations of phase transition TERMINATED due to the imaginary frequencies #421
-
|
Dear all, I am currently developing my research topic on phase transitions based on the SSCHA 2026 school tutorials (namely Lecture2 and Hands-on-session2). But when I performed the CONFIGS convergence test, the job terminated with the following warning:
I suspect that minimizer.run() generated imaginary phonon frequencies, which caused the calculation to fail. To investigate this, I debugged the script and confirmed that imaginary frequencies were indeed present after minimizer.run() by adding I tried to explicitly force the use of Why is this happening? I expected ForcePositiveDefinite() to eliminate the imaginary modes. Is there something I might be missing, or is there a recommended way to resolve this issue? Any suggestions would be greatly appreciated. I have uploaded the script 6_hessian_converg_nconf.py for your reference. I look forward to any comments or suggestions. Thank you in advance for your help again. Jianguo Si |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
|
Hi, it seems very strange. |
Beta Was this translation helpful? Give feedback.
-
|
Apologies for the delayed response. Thank you all for the helpful responses. After extensive testing, I found that this was a crash caused by an OOM error!! Jianguo SI |
Beta Was this translation helpful? Give feedback.
Hi, it seems very strange.
I suspect the error is not due to imaginary frequencies, in this case it should be written very clearly in the output. The check you are doing on imaginary frequency can just spot a very slightly imaginary part on acoustic modes, that is completely normal and not an issue (even after imposing the ASR). Check the frequencies of the final dynamical matrix inspecting them: where are these imaginary modes? If the code crashes, there should be an error (not just a warning). What is the error? If it crashes without errors, the most likely cause is that you just run out of memory for computing the hessian. Does the terminal says that the process has been killed?