Skip to content

Any possible ways to reduce the memory and compuational time for the d4? #203

Answered by mesonepigreco
kw600 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,
Yes, the d4 calculation is very heavy when there are more than 100 atoms.
There is a shortcut, especially if you only need a few phonons.

You can use the tdscha calculation and compute the static limit w->0 of the phonon green function, which coincides with the free energy Hessian. The TDSCHA uses an entirely different algorithm that scales much better with the system size (although with a bigger prefactor) and does not require storing almost anything in memory.
In particular, an example in the directory Examples/Templates/run_local.py performs the calculation.
https://github.com/SSCHAcode/tdscha/blob/Fast_LANCZOS/Examples/Templates/run_local.py

You must change only the variables defi…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kw600
Comment options

Answer selected by mesonepigreco
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants