How to slove " you are out of the statistical sampling" #380
Replies: 3 comments 3 replies
-
|
Hi, Now you take the output dynamical matrix and generate new 1000 configurations, calculate forces, energies, and stresses for those, and rerun the minimization. You do this until the force constant gradient modulus becomes 0. I would advise to use less configurations in the first few iterations (I usually start with 100/200). |
Beta Was this translation helpful? Give feedback.
-
|
Hi, as @DjordjeDangic mentioned, you are still very far from the free energy minimum. The gradient, however, converge much faster than the free energy, therefore, it is possible that your free energy seems to increase during the minimization as an artifact due to the number of configurations that is too low. You can ignore it and try to proceed with the following population until convergence. You can refer to the official SSCHA tutorial for more details: www.sscha.eu. In particular, the first one explains all the procedures of the sscha minimization. The out-of-statistical sample is not an error; it is just a message telling you that a new ensemble is required (see the tutorial). |
Beta Was this translation helpful? Give feedback.
-
|
Regarding the SSCAH code, I replaced QE with VASP for calculating forces and energies. I even modified Structure.py to generate QE structure files (e.g., scf_population1_1.dat) sorted by atom types. However, I ultimately observed that the free energy kept increasing with simulation steps, and realized I overlooked a critical issue: the atomic displacements were not aligned with the corresponding atom ordering. To resolve this, I reverted to the original Structure.py file (where QE outputs unsorted structures) and wrote a script to reorder VASP forces and energies according to QE's structure format. This successfully reduced free energy with steps. However, this approach requires manual script modifications for different material compositions and ratios, lacking universality. I want to ask: Can SSCAH also output displacements sorted by atom types (e.g., in u_population1_1.dat files) to ensure consistency with the sorted scf_population1_1.dat files? This would perfectly solve the SSCAH+VASP compatibility issue. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Based on the QE, the structure optimization and harmonic dyn are performanced.
the structure has 2 atoms, Se and Sn.
the 1000 configurations are produced using sscha at 300K, but the trend of free energy change is actually rising, when it should be decreasing.
Beta Was this translation helpful? Give feedback.
All reactions