<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Dear K.AK,</p>
    <p>your SCF convergence is unstable from the very beginning. I would
      question the choice of FULL_ALL preconditioner and DIIS minimizer.</p>
    <p>I wonder if DIIS is about to behave well in complicated systems.
      FULL_ALL may be sensitive to ENERGY_GAP parameter, AFAIR.<br>
    </p>
    <p>Have you tried to allow the default OT settings?</p>
    <p>Plainly, something like that:<br>
    </p>
    <p>
      <blockquote type="cite">   &SCF<br>
              EPS_SCF 1.0E-07<br>
              &OT<br>
              &END OT   <br>
              &OUTER_SCF<br>
                 EPS_SCF 1.0E-07<br>
              &END OUTER_SCF<br>
            &END SCF<br>
      </blockquote>
      If this does not work, I would first consider change to
      PRECONDITIONER FULL_SINGLE_INVERSE ; MAX_SCF 150 ; LINESEARCH
      GOLD.<br>
    </p>
    <p>Regards,</p>
    <p>Anton<br>
    </p>
    <div class="moz-cite-prefix">Am 24.11.2023 um 16:40 schrieb K.AK:<br>
    </div>
    <blockquote type="cite"
      cite="mid:277b24d4-dca6-4ce7-b40d-cc9c14fcfe36n@googlegroups.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      Dear cp2k experts
      <div><br>
      </div>
      <div>Thank you for your advice, <span
style="color: rgb(32, 33, 36); font-family: Roboto, Arial, sans-serif; letter-spacing: 0.25px; text-wrap: nowrap;">Anton
          Lytvynenko.</span></div>
      <div><span
style="color: rgb(32, 33, 36); font-family: Roboto, Arial, sans-serif; letter-spacing: 0.25px; text-wrap: nowrap;"><br>
        </span></div>
      <div>In this case, CIF file which I used was converted from real
        CIF to XYZ coordinations by VESTA.<span
style="color: rgb(32, 33, 36); font-family: Roboto, Arial, sans-serif; letter-spacing: 0.25px; text-wrap: nowrap;"><br>
        </span></div>
      <div><br>
      </div>
      <div>UiO-66 was a miswritten, I would like to optimize different
        MOF structure.</div>
      <div><br>
      </div>
      <div>Also, I have simulated MOF optimization under suggested
        conditions.</div>
      <div><br>
      </div>
      <div>But, the SCF did not converged for 400 cycles.</div>
      <div><br>
      </div>
      <div>Could you advice me what I should modify in the input file?</div>
      <div><br>
      </div>
      <div>The input and output files have been attached below.</div>
      <div><br>
      </div>
      <div>Many thanks,</div>
      <div>K.AK<br>
        <br>
      </div>
      <div class="gmail_quote">
        <div dir="auto" class="gmail_attr">2023年11月24日金曜日 0:27:52 UTC+9
          Anton Lytvynenko:<br>
        </div>
        <blockquote class="gmail_quote"
style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
          <div>
            <p>Dear K.AK,</p>
          </div>
          <div>
            <div>Am 23.11.2023 um 15:04 schrieb K.AK:<br>
            </div>
            <blockquote type="cite"> Also, this is a general question,
              but what should I do if the calculation does not converge
              in the periodic boundary calculation?</blockquote>
          </div>
          <div>
            <p>I wonder if this question can be answered shortly and via
              definitive set of instructions, it worth a long manual
              addressing various sources of the solution instability.</p>
            <p>In your case, you should first start with OT optimizer,
              it is quite robust algorithm and should converge
              reasonably for your system. </p>
            <p>If you see any problems, try to check your geometry first
              - it can be tricky to prepare input files from real CIF
              data for a number of reasons. If there are still problems,
              please show us the problematic output.</p>
            <p>By the way, UiO-66 is a Zr MOF, isn't it? But I can't see
              Zr atoms in your input. Is it correct?<br>
            </p>
            <p>Yours,</p>
            <p>Anton</p>
            <p><br>
            </p>
          </div>
          <div>
            <blockquote type="cite">
              <div class="gmail_quote">
                <div dir="auto" class="gmail_attr">2023年11月23日木曜日
                  22:53:56 UTC+9 Jürg Hutter:<br>
                </div>
                <blockquote class="gmail_quote"
style="margin:0 0 0 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi
                  <br>
                  <br>
                  Use GPW not GAPW for this setup. <br>
                  Use DZVP-MOLOPT-SR-GTH for all elements (SR!) <br>
                  <br>
                  regards <br>
                  JH <br>
                  <br>
                  ________________________________________ <br>
                  From: <a rel="nofollow" moz-do-not-send="true">cp...@googlegroups.com</a>
                  <<a rel="nofollow" moz-do-not-send="true">cp...@googlegroups.com</a>>
                  on behalf of K.AK <<a rel="nofollow"
                    moz-do-not-send="true">kosh...@gmail.com</a>> <br>
                  Sent: Thursday, November 23, 2023 2:48 PM <br>
                  To: cp2k <br>
                  Subject: Re: [CP2K:19556] MOF optimization <br>
                  <br>
                  Thank you for your helps, Anton Lytvynenko and Jürg
                  Hutter. <br>
                  <br>
                  <br>
                  Following your advices, I have reviewed the
                  calculation conditions. I have created a new input
                  file, and Could you please verify this? <br>
                  <br>
                  I would proceed with the calculation under these
                  conditions. Now, the calculation time is approximately
                  120 s per step. <br>
                  <br>
                  Also, this is a general question, but what should I do
                  if the calculation does not converge in the periodic
                  boundary calculation? <br>
                  <br>
                  <br>
                  Many thanks, <br>
                  <br>
                  K.AK <br>
                  <br>
                  2023年11月23日木曜日 22:07:19 UTC+9 Jürg Hutter: <br>
                  Hi <br>
                  <br>
                  a few general remarks: <br>
                  <br>
                  For the use of hybrid functionals in PBC, you should
                  use an interaction <br>
                  potential with a cutoff (6 Angstrom should be ok). <br>
                  <br>
                  Make sure that you have enough memory to keep the
                  integrals in core <br>
                  (print HF_INFO, set MEMORY). <br>
                  <br>
                  EPS_SCHWARZ can most likely be set to 1.E-08. <br>
                  <br>
                  Restart from a GGA wavefunction and set
                  SCREEN_ON_INITIAL_P true. <br>
                  <br>
                  EPS_DEFAULT 1.E-10 is most likely good enough. <br>
                  <br>
                  Don't set EPS_FIT and EPS_PGF_ORB, defaults will be
                  good enough. <br>
                  Ignore the HFX warning about occupation or follow
                  advice in comment. <br>
                  <br>
                  REL_CUTOFF should be 60 <br>
                  <br>
                  GAPW with 6-31G basis might not be a good choice.
                  Consider GPW/MOLOPT basis sets. In the latter case use
                  ADMM! <br>
                  <br>
                  For MOFs I would advice to use vdW corrections. <br>
                  <br>
                  I don't know what the reason behind the fixed K atom
                  is. But this will cause <br>
                  convergence problems in the geometry optimization. It
                  might also <br>
                  interfere with CENTER_COORDINATES (why use it for a
                  periodic system?). <br>
                  <br>
                  regards <br>
                  JH <br>
                  <br>
                  ________________________________________ <br>
                  From: <a rel="nofollow" moz-do-not-send="true">cp...@googlegroups.com</a>
                  <<a rel="nofollow" moz-do-not-send="true">cp...@googlegroups.com</a>>
                  on behalf of K.AK <<a rel="nofollow"
                    moz-do-not-send="true">kosh...@gmail.com</a>> <br>
                  Sent: Thursday, November 23, 2023 10:10 AM <br>
                  To: cp2k <br>
                  Subject: [CP2K:19549] MOF optimization <br>
                  <br>
                  Dear experts, <br>
                  <br>
                  I try to optimize MOF structure by performing periodic
                  DFT calculations. <br>
                  <br>
                  I have performed the calculations under the periodic
                  conditions of the attached input file. <br>
                  <br>
                  But, the computation time is very long and the
                  convergence is not good. <br>
                  <br>
                  Please advise about the cp2k simulation method and
                  input file. <br>
                  <br>
                  The input files have been attached below. <br>
                  <br>
                  <br>
                  Many thanks, <br>
                  K.AK <br>
                  <br>
                  -- <br>
                  You received this message because you are subscribed
                  to the Google Groups "cp2k" group. <br>
                  To unsubscribe from this group and stop receiving
                  emails from it, send an email to <a rel="nofollow"
                    moz-do-not-send="true">cp2k+uns...@googlegroups.com</a><mailto:<a
                    rel="nofollow" moz-do-not-send="true">cp2k+uns...@googlegroups.com</a>>.
                  <br>
                  To view this discussion on the web visit <a
href="https://groups.google.com/d/msgid/cp2k/ac837fd8-7833-4871-a8b1-acf6099ccee5n%40googlegroups.com"
                    rel="nofollow" target="_blank"
data-saferedirecturl="https://www.google.com/url?hl=ja&q=https://groups.google.com/d/msgid/cp2k/ac837fd8-7833-4871-a8b1-acf6099ccee5n%2540googlegroups.com&source=gmail&ust=1700913675937000&usg=AOvVaw0je82yPGow4uoGmcVirgH_"
                    moz-do-not-send="true" class="moz-txt-link-freetext">https://groups.google.com/d/msgid/cp2k/ac837fd8-7833-4871-a8b1-acf6099ccee5n%40googlegroups.com</a><<a
href="https://groups.google.com/d/msgid/cp2k/ac837fd8-7833-4871-a8b1-acf6099ccee5n%40googlegroups.com?utm_medium=email&utm_source=footer"
                    rel="nofollow" target="_blank"
data-saferedirecturl="https://www.google.com/url?hl=ja&q=https://groups.google.com/d/msgid/cp2k/ac837fd8-7833-4871-a8b1-acf6099ccee5n%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Dfooter&source=gmail&ust=1700913675937000&usg=AOvVaw3e29DDrzoeLP-hH_CI2upW"
                    moz-do-not-send="true">https://groups.google.com/d/msgid/cp2k/ac837fd8-7833-4871-a8b1-acf6099ccee5n%40googlegroups.com?utm_medium=email&utm_source=footer</a>>.
                  <br>
                  <br>
                  -- <br>
                  You received this message because you are subscribed
                  to the Google Groups "cp2k" group. <br>
                  To unsubscribe from this group and stop receiving
                  emails from it, send an email to <a rel="nofollow"
                    moz-do-not-send="true">cp2k+uns...@googlegroups.com</a><mailto:<a
                    rel="nofollow" moz-do-not-send="true">cp2k+uns...@googlegroups.com</a>>.
                  <br>
                  To view this discussion on the web visit <a
href="https://groups.google.com/d/msgid/cp2k/0c14f2c9-3fe3-441b-853c-ef037665fdbcn%40googlegroups.com"
                    rel="nofollow" target="_blank"
data-saferedirecturl="https://www.google.com/url?hl=ja&q=https://groups.google.com/d/msgid/cp2k/0c14f2c9-3fe3-441b-853c-ef037665fdbcn%2540googlegroups.com&source=gmail&ust=1700913675937000&usg=AOvVaw0S37n2uBBDiN2n2MUHlqwJ"
                    moz-do-not-send="true" class="moz-txt-link-freetext">https://groups.google.com/d/msgid/cp2k/0c14f2c9-3fe3-441b-853c-ef037665fdbcn%40googlegroups.com</a><<a
href="https://groups.google.com/d/msgid/cp2k/0c14f2c9-3fe3-441b-853c-ef037665fdbcn%40googlegroups.com?utm_medium=email&utm_source=footer"
                    rel="nofollow" target="_blank"
data-saferedirecturl="https://www.google.com/url?hl=ja&q=https://groups.google.com/d/msgid/cp2k/0c14f2c9-3fe3-441b-853c-ef037665fdbcn%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Dfooter&source=gmail&ust=1700913675937000&usg=AOvVaw1qnFfxOnTgOdIfX5RzBfTQ"
                    moz-do-not-send="true">https://groups.google.com/d/msgid/cp2k/0c14f2c9-3fe3-441b-853c-ef037665fdbcn%40googlegroups.com?utm_medium=email&utm_source=footer</a>>.
                  <br>
                </blockquote>
              </div>
              -- <br>
              You received this message because you are subscribed to
              the Google Groups "cp2k" group.<br>
            </blockquote>
          </div>
          <div>
            <blockquote type="cite"> To unsubscribe from this group and
              stop receiving emails from it, send an email to <a
                href="" data-email-masked="" rel="nofollow"
                moz-do-not-send="true">cp2k+uns...@googlegroups.com</a>.<br>
              To view this discussion on the web visit <a
href="https://groups.google.com/d/msgid/cp2k/9ba670b6-c5bc-4b0e-89c9-d6db28733753n%40googlegroups.com?utm_medium=email&utm_source=footer"
                target="_blank" rel="nofollow"
data-saferedirecturl="https://www.google.com/url?hl=ja&q=https://groups.google.com/d/msgid/cp2k/9ba670b6-c5bc-4b0e-89c9-d6db28733753n%2540googlegroups.com?utm_medium%3Demail%26utm_source%3Dfooter&source=gmail&ust=1700913675937000&usg=AOvVaw3LmmHjxohyO2H7nZNYkaDx"
                moz-do-not-send="true">https://groups.google.com/d/msgid/cp2k/9ba670b6-c5bc-4b0e-89c9-d6db28733753n%40googlegroups.com</a>.<br>
            </blockquote>
          </div>
        </blockquote>
      </div>
      -- <br>
      You received this message because you are subscribed to the Google
      Groups "cp2k" group.<br>
      To unsubscribe from this group and stop receiving emails from it,
      send an email to <a
        href="mailto:cp2k+unsubscribe@googlegroups.com"
        moz-do-not-send="true" class="moz-txt-link-freetext">cp2k+unsubscribe@googlegroups.com</a>.<br>
      To view this discussion on the web visit <a
href="https://groups.google.com/d/msgid/cp2k/277b24d4-dca6-4ce7-b40d-cc9c14fcfe36n%40googlegroups.com?utm_medium=email&utm_source=footer"
        moz-do-not-send="true">https://groups.google.com/d/msgid/cp2k/277b24d4-dca6-4ce7-b40d-cc9c14fcfe36n%40googlegroups.com</a>.<br>
    </blockquote>
  </body>
</html>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "cp2k" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:cp2k+unsubscribe@googlegroups.com">cp2k+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/e28b1915-9417-4177-9199-778b251f3ded%40gmail.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/e28b1915-9417-4177-9199-778b251f3ded%40gmail.com</a>.<br />