<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body>
    <p>Dear Michal,</p>
    <p><br>
    </p>
    <p>The k-points algorithm of turbo_lanczos.x as it is does not give
      the correct results if there is more than one single k-point.
      However you can look up the Lanczos implementation in the
      thermo_pw module, which works fine with k-points as far as I
      remember (of course bare in mind what Iurii said about Adiabatic
      TDDFT).</p>
    <p><br>
      Regards,</p>
    <p>Oleksandr<br>
    </p>
    <div class="moz-cite-prefix">On 15/04/2020 19:35, Timrov Iurii
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:c2808ee527d74d73957519db769d0c30@epfl.ch">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Exchange Server">
      <!-- converted from text -->
      <style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
      <meta content="text/html; charset=UTF-8">
      <style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
      <div dir="ltr">
        <div id="x_divtagdefaultwrapper" dir="ltr"
          style="font-size:12pt; color:#000000;
          font-family:Calibri,Helvetica,sans-serif">
          <p>Dear Michal,</p>
          <p><br>
          </p>
          <p>The k-points implementation of turbo_lanczos.x was not
            tested and hence it is disabled. But most importantly, very
            likely there are bugs (I think I know a few). Someone has to
            work on it and fix bugs. But is there a motivation to do so?
            Adiabatic TDDFT with LDA/GGA is known to be not accurate for
            the optical absorption spectroscopy of solids.</p>
          <p><br>
          </p>
          <p>Greetings,</p>
          <p>Iurii</p>
          <p><br>
          </p>
          <div id="x_Signature">
            <div id="x_divtagdefaultwrapper" dir="ltr"
              style="font-size:12pt; color:rgb(0,0,0);
              font-family:Calibri,Helvetica,sans-serif,Helvetica,EmojiFont,"Apple
              Color Emoji","Segoe UI
              Emoji",NotoColorEmoji,"Segoe UI
              Symbol","Android Emoji",EmojiSymbols">
              <div name="x_divtagdefaultwrapper"
                style="font-family:Calibri,Arial,Helvetica,sans-serif;
                font-size:; margin:0">
                <div name="x_divtagdefaultwrapper"
                  style="font-family:Calibri,Arial,Helvetica,sans-serif;
                  font-size:; margin:0">
                  <font size="3" face="'Times New Roman', Times, serif"
                    color="808080">--<br>
                    Dr. Iurii Timrov<br>
                    Postdoctoral Researcher<br>
                  </font></div>
                <div name="x_divtagdefaultwrapper"
                  style="font-family:Calibri,Arial,Helvetica,sans-serif;
                  font-size:; margin:0">
                  <font size="3" face="'Times New Roman', Times, serif"
                    color="808080">STI - IMX <font color="808080">
                      <font face="'Times New Roman', Times, serif">-
                        THEOS</font></font></font><font size="3"
                    face="'Times New Roman', Times, serif"
                    color="808080"> and NCCR - MARVEL<br>
                  </font></div>
                <div name="x_divtagdefaultwrapper"
                  style="font-family:Calibri,Arial,Helvetica,sans-serif;
                  font-size:; margin:0">
                  <font size="3" face="'Times New Roman', Times, serif"
                    color="808080"><font size="3" face="'Times New
                      Roman', Times, serif" color="808080">Swiss Federal
                      Institute of Technology Lausanne (EPFL<font
                        color="808080"><font face="'Times New Roman',
                          Times, serif">)</font></font></font><br>
                  </font></div>
                <div name="x_divtagdefaultwrapper"
                  style="font-family:Calibri,Arial,Helvetica,sans-serif;
                  font-size:; margin:0">
                  <font size="3" face="'Times New Roman', Times, serif"
                    color="808080">CH-1015 Lausanne, Switzerland<br>
                    +41 21 69 34 881</font></div>
                <div name="x_divtagdefaultwrapper"
                  style="font-family:Calibri,Arial,Helvetica,sans-serif;
                  font-size:; margin:0">
                  <a href="http://people.epfl.ch/265334" tabindex="0"
                    id="LPNoLP" moz-do-not-send="true">http://people.epfl.ch/265334</a><br>
                </div>
              </div>
            </div>
          </div>
        </div>
        <hr tabindex="-1" style="display:inline-block; width:98%">
        <div id="x_divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
            face="Calibri, sans-serif" color="#000000"><b>From:</b>
            users <a class="moz-txt-link-rfc2396E" href="mailto:users-bounces@lists.quantum-espresso.org"><users-bounces@lists.quantum-espresso.org></a> on
            behalf of Michal Krompiec <a class="moz-txt-link-rfc2396E" href="mailto:michal.krompiec@gmail.com"><michal.krompiec@gmail.com></a><br>
            <b>Sent:</b> Wednesday, April 15, 2020 7:26:09 PM<br>
            <b>To:</b> Quantum Espresso users Forum<br>
            <b>Subject:</b> [QE-users] safe to enable "k-point
            algorithm" in turbo_lanczos?</font>
          <div> </div>
        </div>
      </div>
      <font size="2"><span style="font-size:10pt;">
          <div class="PlainText">Hello,<br>
            I'm trying to compute the spectrum of a crystalline
            insulator using<br>
            turbo_lanczos. I got the following error:<br>
            <br>
                 Error in routine lr_readin (1):<br>
                 k-point algorithm is not tested yet<br>
            <br>
            <br>
            <br>
            I guess I could just comment line 477 out in
            TDDFPT/src/lr_readin.f90<br>
            to disable this error:<br>
            <br>
                   ! K-points are implemented but still unsupported (use
            at your own risk!)<br>
                   !<br>
                   IF (.NOT. gamma_only ) CALL errore('lr_readin',
            'k-point<br>
            algorithm is not tested yet',1)<br>
            <br>
            But how unstable is this code? Any reason not to try this?<br>
            <br>
            Thanks,<br>
            <br>
            Michal Krompiec<br>
            Merck KGaA<br>
            _______________________________________________<br>
            Quantum ESPRESSO is supported by MaX (<a
              href="http://www.max-centre.eu/quantum-espresso"
              moz-do-not-send="true">www.max-centre.eu/quantum-espresso</a>)<br>
            users mailing list <a class="moz-txt-link-abbreviated" href="mailto:users@lists.quantum-espresso.org">users@lists.quantum-espresso.org</a><br>
            <a
              href="https://lists.quantum-espresso.org/mailman/listinfo/users"
              moz-do-not-send="true">https://lists.quantum-espresso.org/mailman/listinfo/users</a><br>
          </div>
        </span></font>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Quantum ESPRESSO is supported by MaX (<a class="moz-txt-link-abbreviated" href="http://www.max-centre.eu/quantum-espresso">www.max-centre.eu/quantum-espresso</a>)
users mailing list <a class="moz-txt-link-abbreviated" href="mailto:users@lists.quantum-espresso.org">users@lists.quantum-espresso.org</a>
<a class="moz-txt-link-freetext" href="https://lists.quantum-espresso.org/mailman/listinfo/users">https://lists.quantum-espresso.org/mailman/listinfo/users</a></pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Oleksandr Motornyi
PhD candidate

Laboratoire de Solides Irradies
Ecole Polytechnique (Palaiseau, France)</pre>
  </body>
</html>