the Convergence condition #95
-
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 11 replies
-
|
Hi Zhao, |
Beta Was this translation helpful? Give feedback.
-
|
For the second question. First note that the Kong-Liu ratio defines how 'good' is the current ensemble. As the calculation goes during the minimization process, the ensemble no longer describes well the probability distribution and a new ensemble needs to be obtained. So for a good minimization you have both a 'good' ensemble that describes the probability distribution and a pair of gradients (with respect to the trial centroids and harmonic matrix) that are lower than the threshold defined by 'min_step_struc' and 'min_step_dyn'. The threshold is re-defined (scaled) by the user provided variable 'meaningful_factor'. On the "How small is good enough? 1e-2 or 1e-12", I cannot provide you with a specific answer. |
Beta Was this translation helpful? Give feedback.
-
|
In order to speed up the minimization probably you need to increase the steps in the steepest descent minimization increasing the parameter min_step_dyn to something close to 1. Bringing the gradient to 0 (~1e-6) is a guarantee that your auxiliary phonons are not updating anymore. This is good. However, as the method is stochastic, this does not mean that this is the solution. The best practice is to take one half of your population, repeat the minimization, and see if the final converged result agree with the result obtained with the full population. Diego is right about the Hessian. We usually plot the value of the Hessian eigenvalues as a function of the number of configurations and see if the eigenvalues are converged with the number of configurations. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, As others answered, your calculation is converging very well. Especially the variable cell optimization. The result is Which you see that the starting point is 11.8 GPa (with quantum fluctuations) and ends to 10.004 +- 0.02 GPa Which is converged with respect your target pressure of 10 GPa. The values of FC and Struct gradients both are lower than the error. This means that your results for the free energy and first derivatives are well converged. Moreover, your code stopped with Kong-Liu at 945 effective configurations (out of 1000 I think), which means that, even if you decrease the meaningful factor to 1e-6, it will most likely remain as it is and not go outside the stochastic threshold any more (therefore not increasing significantly your time). |
Beta Was this translation helpful? Give feedback.



Hi, As others answered, your calculation is converging very well. Especially the variable cell optimization.
You can look how the Stress tensor evolves in the different population with respect to the target pressure you set up:
The result is