<div dir="ltr"><div>Hi Thomas,</div><div>Thanks your advice.</div><div><br></div><div>Best,<br></div><div>Linfeng<br></div><br>On Monday, May 18, 2020 at 4:03:44 PM UTC+8, tkuehne wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div style="word-wrap:break-word;line-break:after-white-space">Dear Linfeng, <div><br></div><div>a couple of comments. Setting EPS_SCF to ridiculous low values below 1E-8 makes no sense - you are basically „optimizing“ noise. </div><div>Using OT, for a geo_opt EPS_SCF 1E-7 should be fine but you should also set EPS_DEFAULT to 1E-12. Also setting all MAX_* and </div><div>RMS_* values to 1E-4 is a rather stringent criterion, I typically go with 1/3 of the default values, i.e. </div><div><br></div><div>MAX_DR 1E-3</div><div>MAX_FORCE 1.5E-4</div><div>RMS_DR 5E-4</div><div>RMS_FORCE 1E-4</div><div><br></div><div>Lastly, within CP2K LBFGS is typically faster converging than BFGS, though slightly less intuitive in its usage. </div><div><br></div><div>Cheers, </div><div>Thomas<br><div><br><blockquote type="cite"><div>Am 18.05.2020 um 09:45 schrieb Linfeng Gan <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="pUMtikl5AQAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">li...@gmail.com</a>>:</div><br><div><div dir="ltr"><div>Here is the result.</div><div><br></div><br>On Monday, May 18, 2020 at 8:41:45 AM UTC+8, Linfeng Gan wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div><span lang="EN-US"> </span><br></div><div><span lang="EN-US"> </span><br></div><p class="MsoNormal"><span lang="EN-US">Thank you for your advice, Travis.</span></p><p class="MsoNormal"><span lang="EN-US">I had tested EPS_SCF from 1e-5 to 1e-14. I posted
the 1e-5 one only because it took the shortest time to get the final structure.
And I will try convergence criteria with 1e-4 as you suggest. </span></p><div><span lang="EN-US"> </span><br></div><p class="MsoNormal"><span lang="EN-US">Linfeng</span></p>

<div><br></div><div><br></div>On Sunday, May 17, 2020 at 12:36:33 PM UTC+8, Travis wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I see you have EPS_SCF commented out in your input file. The default convergence threshold is 1e-5 au which is usually not tight enough for accurate forces (and certainly not for vibrational analysis, which is computed numerically - hence it will take ages over Gaussian). The value you commented out is actually better and may take less steps to converge. Your criteria for convergence are also extremely tight, 1e-4 au is typically enough. Also, just to be clear, CP2K when setup appropriately will reproduce Gaussian output for the total energies for non-periodic calculations. So you CAN use Gaussian for the gas phase reaction and CP2K for the surface reaction.</div><div><br></div><div>-T</div><div><br><br>On Saturday, May 16, 2020 at 10:47:56 PM UTC-4, Linfeng Gan wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br>Thank you very much Vladimir,<br><div><br></div><div>1) I know CP2K is not a choice for small molecules. But I am investigating an organic reaction which could take place in gas phase and on C3N4 surface. I have to compare the data between the gas phase and the surface. So, I can’t use gaussian or orca to that. DMol3 or CASTEP maybe is best choice for me, but I think we should give open source software a chance. So, CP2K is my choice right now. I am not very familiar with CP2K that it’s why I go to this forum and ask for some help. </div><br>2) Agree. <br><br>3) Yes, it was. <br><br>4) 10000 times is an exaggeration, I apologize for that. Form the same initial structure, it took gaussian 41 seconds with a single Xeon 2680v2 CPU to finish the geometry optimization, but it took CP2k 40 minutes with 20 CPU to do the same thing. If we include the frequencies calculation the time is 4 minutes vs 71 minutesX20CPU. A single SCF calculation of CP2K was pretty fast, but most of time was wasting in locating the minimize. <br>This efficiency issue only happened in this 1-butene molecular. Another molecular I tested, cyclobutene, seemed much batter than 1-butene. <br><br>I attach all the input and the output file. So, you guy can help me to improve this. Thanks all.<br><br><br>Best,<br>LInfeng<br><br><br>On Friday, May 15, 2020 at 7:41:12 PM UTC+8, Vladimir Rybkin wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear Linfeng,<div><br></div><div>a few general remarks:</div><div>1) CP2K is not the most efficient tool for small molecules. For instance, it does a lot of integrations over cells in real and reciprocal space, and for a small molecule the cell is almost everywhere empty.</div><div>2) CP2K does not use internal coordinates for optimisation. This has to do with the fact that it's mostly meant for large periodic systems. Gaussians' Berny algorithm does use internal coordinates and is very efficient for small systems.</div><div>3) It's very likely that you 150 steps have not change the geometry significantly. </div><div>4) It's not completely clear where this 10000 times come from. It may have to do with how you compile and run your applications.</div><div><br></div><div>That said, there's no specific problems with optimisers and efficiency. It's about applicability of tools for specific purposes. If you going to work with small molecules, you'd better stick to programs made for them, i.e. Gaussian. CP2K is meant for large and/or periodic systems.</div><div><br></div><div>Yours,</div><div><br></div><div>Vladimir<br><br>пятница, 15 мая 2020 г., 2:51:51 UTC+2 пользователь Linfeng Gan написал:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><p class="MsoNormal"><span lang="EN-US">Hi all,</span></p><p class="MsoNormal"><span lang="EN-US">When I optimized 1-butene molecular at
B3lYP/6-311G** level, it took much much longer than gaussian16 did. <span> </span>I had test optimizer CG, BDGS and LBFGD,
nothing better. It seems the optimizers have some efficiency issues. All three
optimizer had taken at least 150 optimization steps to get the final structure,
but the initial structure had been optimized by gaussian. <span> </span><span> </span>How
could I improve that?</span></p><div><span lang="EN-US"> </span><br></div><p class="MsoNormal"><span lang="EN-US">Best</span></p><p class="MsoNormal"><span lang="EN-US">Linfeng</span></p>

</div></blockquote></div></div></blockquote></div></blockquote></div></div></blockquote></div></blockquote></div><div><br></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="javascript:" target="_blank" gdf-obfuscated-mailto="pUMtikl5AQAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp...@googlegroups.<wbr>com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/e60c3ce3-6df6-48f1-8026-460bfc1a7798%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/d/msgid/cp2k/e60c3ce3-6df6-48f1-8026-460bfc1a7798%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter';return true;" onclick="this.href='https://groups.google.com/d/msgid/cp2k/e60c3ce3-6df6-48f1-8026-460bfc1a7798%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter';return true;">https://groups.google.com/d/<wbr>msgid/cp2k/e60c3ce3-6df6-48f1-<wbr>8026-460bfc1a7798%<wbr>40googlegroups.com</a>.<br>
<span><opt_geo.out></span><span><opt_geo.inp></span></div></blockquote></div><br></div><br><br><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">==============================</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Thomas D. Kühne</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Dynamics of Condensed Matter</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Chair of Theoretical Chemistry</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">University of Paderborn</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Warburger Str. 100</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">D-33098 Paderborn</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Germany</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="javascript:" target="_blank" gdf-obfuscated-mailto="pUMtikl5AQAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">td...@mail.upb.de</a></div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">+49/(0)5251/60-5726</div></div></div></div>
</div>
<br></div></blockquote></div>