Skip to content

feature - 'DFT smart grouping'. #3

@williamdavie

Description

@williamdavie

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)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions