Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gibbs Workflow -- possible LEPSILON oversight? #272

Open
mattmcdermott opened this issue Mar 7, 2019 · 1 comment
Open

Gibbs Workflow -- possible LEPSILON oversight? #272

mattmcdermott opened this issue Mar 7, 2019 · 1 comment
Assignees
Labels
improvement reported issues that considered further improvement to atomate

Comments

@mattmcdermott
Copy link

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:

phonon = Phonopy(phon_atoms, scell)

which is an nac_params dict of the form:

 born = [[[1.08703, 0, 0],
          [0, 1.08703, 0],
          [0, 0, 1.08703]],
         [[-1.08672, 0, 0],
          [0, -1.08672, 0],
          [0, 0, -1.08672]]]
 epsilon = [[2.43533967, 0, 0],
            [0, 2.43533967, 0],
            [0, 0, 2.43533967]]
 factors = 14.400
 nac_params = {'born': born,
               'factor': factors,
               'dielectric': epsilon}

Can anyone confirm if this is truly an oversight or if we aren't seeing something?

@mkhorton
Copy link
Contributor

mkhorton commented Mar 7, 2019

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.

@utf utf self-assigned this Mar 18, 2020
@itsduowang itsduowang added the improvement reported issues that considered further improvement to atomate label Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement reported issues that considered further improvement to atomate
Projects
None yet
Development

No branches or pull requests

4 participants