-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Looking to add a feature to group similar configurations for DFT calculations. In doing so, the CHGCAR file from the most similar DFT calculation can be used as a starting point for the next loop, significantly improving convergence.
Suggested algorithm structure:
Consider 8 DFT calculations on a periodic solid which relaxes to BCC.
When DataCollection.write_QM_submission_scripts() is called with for example npartitions = 2.
Of the 8 configurations, we choose the 2 closest structures BCC (not altering the lattice parameter) as these are the most likely to converge. Leading to tracks of calculations:
---config1---
---config2---
All 6 remaining configurations are then assigned iteratively, finding the closest config (Using EMD for now, mlipts.similarity.emd) at the end of each chain. E.g.
---config1---
---config2---config3---
where of all the configurations, config3 is closer than anything else to config2, and closer to config2 than anything to config1. Since calculations are looped sequentially, CHGCAR can be copied from prior to the next.
Then we can include into main class with something like DataCollection.write_QM_submission_scripts(smart_convergence=True)