<div dir="ltr"><div>Dear José,</div><div>the current version of qe (develop branch in GitLab) allows you to use libxc functionals for LDA, GGA and mGGA. No kinetic functionals at the moment.</div><div>To use libxc functionals you must enforce them from input (use 'input_dft' in &system) and write their names in the input string. The order is not relevant, neither the separation between one name and the other. Capital or lowercase should be the same.<br></div><div>You find the complete list of the names in the file 'src/libxc_docs.txt' in the libxc folder. It is also present online at:<br></div><div><br></div><div><a href="https://www.tddft.org/programs/libxc/functionals/">https://www.tddft.org/programs/libxc/functionals/</a></div><div><br></div><div>You can use a combination of qe and libxc functionals, but you need to be careful on their compatibility (for example libxc functionals already include the LDA part, while qe ones do not).</div><div>In PP/src folder of qe you find a small program (benchmark_libxc) that compares the output of q-e XC routines with the output of the libxc ones.</div><div><br></div><div>Best regards,</div><div>Fabrizio<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 2, 2019 at 6:21 PM José Carlos Conesa Cegarra <<a href="mailto:jcconesa@icp.csic.es">jcconesa@icp.csic.es</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear Paolo,<br>
<br>
El 03/03/2019 a las 8:52, Paolo Giannozzi escribió:<br>
> With libxc only a few functionals - those "(with libxc)" and a few <br>
> others - currently work.<br>
><br>
> Paolo<br>
<br>
What does "(with libxc)" mean here? I cannot find this expression in <br>
parentheses in any of the QE documents.<br>
<br>
In any case, and assuming that libxc has been linked with QE: which is <br>
the proper way to tell QE that it should use one of the functionals in <br>
libxc? The documentation coming with libxc gives all functionals with <br>
uppercase letters, and in many cases there are different names for <br>
exchange and for correlation functionals (respectively -X- and -C-) <br>
which are not always reflected in those including both exchange and <br>
correlation (labeled -XC-). Furthermore, there are "kinetic" functionals <br>
(labeled -K-).<br>
<br>
How should all this be handled? Can one give to the input_dft key only <br>
functionals of the XC class? What to do with the kinetic functionals? <br>
And should one put the functionals in uppercase or lowercase letters? On <br>
the other hand, is it already possible to use some meta-GGA, and if so <br>
with which type of pseudopotential? Of course I know that not all <br>
functionals in libxc are compatible with QE. Maybe the only way to <br>
verify is by trial and error...<br>
<br>
Best regards,<br>
<br>
José Carlos<br>
<br>
-- <br>
<br>
José C. Conesa<br>
Research Professor<br>
Instituto de Catálisis y Petroleoquímica, CSIC<br>
Marie Curie 2, Campus de Cantoblanco<br>
Tel. 915854766<br>
Madrid, Spain<br>
<br>
_______________________________________________<br>
Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu/quantum-espresso" rel="noreferrer" target="_blank">www.max-centre.eu/quantum-espresso</a>)<br>
users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank">users@lists.quantum-espresso.org</a><br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></blockquote></div>