Dear All,<br><br>I downloaded the latest QE and found that &quot;exact exchange (HF) and hybrid functionals (PBE0, B3LYP, HSE)&quot; can be done. But in the code &quot;setup.f90&quot; there are several lines of code saying:<br>

<br>#if ! defined (EXX)<br>  IF ( dft_is_hybrid() ) CALL errore( &#39;setup &#39;, &amp;<br>                         &#39;HYBRID XC not implemented in PWscf&#39;, 1 )<br>#else<br>  IF ( dft_is_hybrid() ) THEN<br>     IF (.NOT. lscf) CALL errore( &#39;setup &#39;, &amp;<br>

                         &#39;HYBRID XC not allowed in non-scf calculations&#39;, 1 )<br>     IF ( okvan .OR. okpaw ) CALL errore( &#39;setup &#39;, &amp;<br>                         &#39;HYBRID XC not implemented for USPP or PAW&#39;, 1 )<br>

  END IF<br>#endif<br><br>I then am confused. It seems that if exx_fraction is set nonzero, then setup will complain &quot;HYBRID XC not implemented in PWscf&quot;<br><br>Thanks for clarification.<br clear="all"><br>-- <br>

Sincerely,<br>Jun<br><br><br><br><br><br>