<div dir="ltr"><div>PAW with hybrid functionals seem to work (or at least, I have no clear evidence they don't) but they are less tested than USPP and even less tested than NC. Both PAW and USPP tend to give the infamous "dexx is negative" error more often than not, for unclear reasons (the computed quantity should be positive definite). One can turn the check off, take the absolute value for dexx and continue, typically to convergence, but no warranty. Note that currently both USPP and PAW are quite slow (less so with option "tqr") if used with hybrid functionals. If you use them with a high cutoff (80 Ry is reasonable for norm-conserving H,C,N,O, very high for PAW), it is much faster to use NC, unless you have some compelling reason to use USPP or PAW<br><br></div>Paolo<br><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 26, 2018 at 1:06 AM, Luc LeBlanc <span dir="ltr"><<a href="mailto:Luc.LeBlanc@dal.ca" target="_blank">Luc.LeBlanc@dal.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I have recently been attempting to perform calculations within Quantum ESPRESSO v 6.2 using hybrid PBE0 DFT on a couple of test systems. However, I am encountering the following problem. For the following test case, a diamond crystal structure (input can be found below), I have had the following error show up in the output:<br>
<br>
"dexx is negative!  Check that exxdiv_treatment is appropriate for the system, or ecutfock may be too low"<br>
<br>
Now, I realize that this error has been reported many times in previous years and is due to the divergence of the exact exchange operator at small values of q points. As I understand it, the current treatment for this diverging term (gygi-baldereschi) is applicable to cells that are ~cubic; but, the diamond crystal is cubic. Suggested workarounds to resolve the error above have been to change this scheme (e.g., truncate the Coulomb potential or use vcut_ws, increase ecutfock, shift the k-point mesh away from the gamma point, etc.). I have exhausted all of these possibilites, none of which have worked for the diamond crystal or many other crystal systems that I have tried. For instance, the same error occurs for the urea crystal structure, but not for a single urea molecule in a large vaccuum (both inputs can be found below) when performing SCF calculations.<br>
<br>
Because of this, I have become suspicious of the pseudopotentials that I am using to perform these calculations, i.e., the PBE PAW datasets (e.g., the ones found on the QE website). If I instead use a PBE norm-conserving pseudopotential, the SCF does converge.<br>
<br>
Are there any considerations to take into account when generating PAW datasets as opposed to norm-conserving pseudopotentials that would cause this issue? Or is there something in the QE implementation itself which would cause this divergence in exact exchange when PAW datasets are used?<br>
<br>
If anyone has insight on the matter, help would be appreciated.<br>
<br>
Thank you,<br>
Luc LeBlanc<br>
luc_DOT_leblanc_AT_ dal_DOT_ca<br>
Department of Chemistry<br>
Dalhousie University, Canada<br>
<br>
The input file for the diamond crystal structure:<br>
<br>
&control<br>
title='diamond',<br>
prefix='diamond',<br>
pseudo_dir='.',<br>
/<br>
&system<br>
ibrav=0,<br>
celldm(1)=1.0,<br>
nat=     8,<br>
ntyp=  1,<br>
ecutwfc=80.0,<br>
ecutrho=800.0,<br>
input_dft='PBE0',<br>
exx_fraction=0.25,<br>
/<br>
&electrons<br>
conv_thr = 1d-8,<br>
/<br>
&ions<br>
/<br>
&cell<br>
/<br>
ATOMIC_SPECIES<br>
c     12.010700 c.UPF<br>
<br>
ATOMIC_POSITIONS crystal<br>
c     0.12500000     0.12500000     0.12500000<br>
c     0.12500000     0.62500000     0.62500000<br>
c     0.62500000     0.12500000     0.62500000<br>
c     0.62500000     0.62500000     0.12500000<br>
c     0.87500000     0.87500000     0.87500000<br>
c     0.87500000     0.37500000     0.37500000<br>
c     0.37500000     0.87500000     0.37500000<br>
c     0.37500000     0.37500000     0.87500000<br>
<br>
K_POINTS automatic<br>
4 4 4 1 1 1<br>
<br>
CELL_PARAMETERS bohr<br>
6.740086198163 0.000000000000 0.000000000000<br>
0.000000000000 6.740086198163 0.000000000000<br>
0.000000000000 0.000000000000 6.740086198163<br>
<br>
The inputs for the urea crystal and single urea molecule in a large vaccuum:<br>
<br>
&control<br>
title='urea',<br>
prefix='urea',<br>
pseudo_dir='.',<br>
/<br>
&system<br>
ibrav=0,<br>
celldm(1)=1.0,<br>
nat=    16,<br>
ntyp=  4,<br>
ecutwfc=80,<br>
ecutrho=800,<br>
input_dft='PBE0',<br>
exx_fraction=0.25,<br>
/<br>
&electrons<br>
conv_thr = 1d-8,<br>
/<br>
&ions<br>
/<br>
&cell<br>
/<br>
ATOMIC_SPECIES<br>
h      1.007940 h.UPF<br>
c     12.010700 c.UPF<br>
n     14.006700 n.UPF<br>
o     15.999400 o.UPF<br>
<br>
ATOMIC_POSITIONS crystal<br>
c     1.00000000     0.50000000     0.32747528<br>
c     0.50000000     0.00000000     0.67252472<br>
h     0.26121365     0.76121365     0.28250193<br>
h     0.76121365     0.73878635     0.71749807<br>
h     0.23878635     0.26121365     0.71749807<br>
h     0.73878635     0.23878635     0.28250193<br>
h     0.14516494     0.64516494     0.95967949<br>
h     0.64516494     0.85483506     0.04032051<br>
h     0.35483506     0.14516494     0.04032051<br>
h     0.85483506     0.35483506     0.95967949<br>
o     1.00000000     0.50000000     0.60019309<br>
o     0.50000000     0.00000000     0.39980691<br>
n     0.14704706     0.64704706     0.17768392<br>
n     0.64704706     0.85295294     0.82231608<br>
n     0.35295294     0.14704706     0.82231608<br>
n     0.85295294     0.35295294     0.17768392<br>
<br>
K_POINTS automatic<br>
4 4 4 1 1 1<br>
<br>
CELL_PARAMETERS bohr<br>
 10.473277845000     0.000000000000     0.000000000000<br>
  0.000000000000    10.473277845000     0.000000000000<br>
  0.000000000000     0.000000000000     8.826950084000<br>
<br>
####<br>
<br>
&control<br>
title='urea_mol',<br>
prefix='urea_mol',<br>
pseudo_dir='.',<br>
/<br>
&system<br>
ibrav=0,<br>
celldm(1)=1.0,<br>
nat=     8,<br>
ntyp=  4,<br>
ecutwfc=80,<br>
ecutrho=800,<br>
input_dft='PBE0',<br>
exx_fraction=0.25,<br>
/<br>
&electrons<br>
conv_thr = 1d-8,<br>
/<br>
&ions<br>
/<br>
&cell<br>
/<br>
ATOMIC_SPECIES<br>
h      1.007940 h.UPF<br>
c     12.010700 c.UPF<br>
n     14.006700 n.UPF<br>
o     15.999400 o.UPF<br>
<br>
ATOMIC_POSITIONS crystal<br>
c     0.00462173     0.01313468     0.00001026<br>
o     0.03762823     0.07042739     0.99972194<br>
n     0.93159137     0.00837905     0.98441030<br>
h     0.90253872     0.96768568     0.00623664<br>
h     0.90634733     0.05670150     0.98288178<br>
n     0.03721573     0.94767996     0.01598762<br>
h     0.01654374     0.90200798     0.99445500<br>
h     0.09169167     0.95012689     0.01719219<br>
<br>
K_POINTS automatic<br>
1 1 1 1 1 1<br>
<br>
CELL_PARAMETERS bohr<br>
 35.000000000000     0.000000000000     0.000000000000<br>
  0.000000000000    35.000000000000     0.000000000000<br>
  0.000000000000     0.000000000000    35.000000000000<br>
<br>
______________________________<wbr>_________________<br>
Pw_forum mailing list<br>
<a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
<a href="http://pwscf.org/mailman/listinfo/pw_forum" rel="noreferrer" target="_blank">http://pwscf.org/mailman/<wbr>listinfo/pw_forum</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Paolo Giannozzi, Dip. Scienze Matematiche Informatiche e Fisiche,<br>Univ. Udine, via delle Scienze 208, 33100 Udine, Italy<br>Phone +39-0432-558216, fax +39-0432-558222<br><br></div></div></div></div></div>
</div></div></div></div></div>