You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Was discussing with @mkhorton a potential oversight in the Gibbs workflow when QHA analysis with phonopy is enabled. When a user sets input qha_type="phonopy", the workflow sets LEPSILON=True, which should be used to calculate the Born effective charge and dielectric constant that is fed in as the "non-analytical correction" in phonopy (see bottom of page here for explanation)
However it doesn't seem that the Gibbs workflow ever explicitly uses this non-analytical correction term, which should appear as an additional kwarg here:
Yes, I looked into this also -- I don't run Gibbs/phonopy workflows myself so would appreciate insight from those that do, but this looks like a clear error to me.
Suggested remedy would be to disable LEPSILON by default, add a non_analytical_correction=False kwarg to the workflow, and if set to True, enable LEPSILON, properly parse the Born effective charges from the vasprun.xml, and pass them through to the Phonopy initializer. Given the computational cost of LEPSILON (and the fact that it can be flaky) fixing this seems to be a priority for anyone running the Gibbs workflow.
Was discussing with @mkhorton a potential oversight in the Gibbs workflow when QHA analysis with phonopy is enabled. When a user sets input qha_type="phonopy", the workflow sets LEPSILON=True, which should be used to calculate the Born effective charge and dielectric constant that is fed in as the "non-analytical correction" in phonopy (see bottom of page here for explanation)
However it doesn't seem that the Gibbs workflow ever explicitly uses this non-analytical correction term, which should appear as an additional kwarg here:
atomate/atomate/vasp/analysis/phonopy.py
Line 75 in a2cfee5
which is an nac_params dict of the form:
Can anyone confirm if this is truly an oversight or if we aren't seeing something?
The text was updated successfully, but these errors were encountered: