[QE-users] On the use of the modified Becke-Johnson (TB09) functional

Fabio Costa fabiocosta4 at hotmail.com
Fri Oct 18 19:01:29 CEST 2019


Dear Fabrizio

Thank you for your assistance, and sorry for the late reply. I tried to change the input_dft field to MGGA_X_TB09, as you suggested. Even though the code runs a bit longer than it does with the TB09 string, it eventually crashes exactly in the same way.

It seems that this functional is a bit tricky to use.

Thank you for the advice
Fábio Costa
________________________________
De: users <users-bounces at lists.quantum-espresso.org> em nome de Fabrizio Ferrari <ferrariruffino.fz at gmail.com>
Enviado: segunda-feira, 14 de outubro de 2019 15:06
Para: Quantum ESPRESSO users Forum <users at lists.quantum-espresso.org>
Assunto: Re: [QE-users] On the use of the modified Becke-Johnson (TB09) functional

Dear Fabio,
there has been quite recently a 'more consistent' incorporation of libxc functionals into the QE code (look at 'develop' branch in GitLab).
In order to use them, as you already did, you have to put their names into the input_dft string, but it is necessary to write their complete name, so, for example, in your case it is MGGA_X_TB09, not just TB09 ( a complete list of the names is shown at: https://www.tddft.org/programs/libxc/functionals/ ).
However, that functional belongs to a subset of functionals that need additional information with respect to most of the other cases in order to be properly used so, at the moment, there are no guarantees on their correct operation.

Best regards,
Fabrizio

On Mon, Oct 14, 2019 at 3:11 PM Fabio Costa <fabiocosta4 at hotmail.com<mailto:fabiocosta4 at hotmail.com>> wrote:
Dear all

I'm having some difficulties to work with the TB09 functional. After some reading, I found in  some old posts that this can be done by compiling QE with Libxc, and by adding the line 'input_dft='tb09'' in the pw.x input.

When I try to use this functional, the scf calculation always ends like this:

     total energy              =              NaN Ry     Harris-Foulkes estimate   =     -11.24358313 Ry     estimated scf accuracy    <       0.01858366 Ry     iteration # 18     ecut=   120.00 Ry     beta= 0.10     Davidson diagonalization with overlap %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%     Error in routine cdiaghg (7):     eigenvectors failed to converge %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

What draws my attention is that always in the last cycle before the error the total energy is printed as NaN. The parameters to the calculation seem to be fine, as it ends smoothly without the input_dft line.

By searching in the QE user guide, there is a reference to the work of E. Germaneau, which lead me to his paper (DOI: 10.1016/j.cpc.2013.02.020<http://dx.doi.org/10.1016/j.cpc.2013.02.020>), where the results of his implementation are presented. Even though, it is unclear to me how to use the functional correctly.

Thanks for any assistance
Fábio Costa
_______________________________________________
Quantum ESPRESSO is supported by MaX (www.max-centre.eu/quantum-espresso<http://www.max-centre.eu/quantum-espresso>)
users mailing list users at lists.quantum-espresso.org<mailto:users at lists.quantum-espresso.org>
https://lists.quantum-espresso.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20191018/ff2de3db/attachment.html>


More information about the users mailing list