<div dir="ltr"><div dir="ltr">Hi,<div> </div>... and it still works fine, at least in my hands ;-)<div><br></div><div>Details are available at <a href="https://redmine.gromacs.org/issues/2641">https://redmine.gromacs.org/issues/2641</a>, but in this case I think it was a matter of using shifted interactions - I suspect the discontinuity in the force does not work well with minimization.<br></div><div><br></div><div>Cheers,</div><div><br></div><div>Erik</div><div><br></div><div><br><div class="gmail_quote"><div dir="ltr">On Wed, Sep 12, 2018 at 7:34 AM Bert de Groot &lt;<a href="mailto:bgroot@gwdg.de" target="_blank">bgroot@gwdg.de</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
In the gromacs 3 days CG was sufficient (many thousands of steps) but would <br>
require double precision for NMA.<br>
<br>
cheers<br>
<br>
Bert<br>
<br>
On 09/11/18 11:47, Erik Lindahl wrote:<br>
&gt; Hi,<br>
&gt; <br>
&gt; Not really a short-cut - it&#39;s a general recommendation for all CG and L-BFGS <br>
&gt; algorithms (i.e., not specific to GROMACS) to run the outer iteration after a <br>
&gt; few steps instead of the line minimizer, since that is much more efficient at <br>
&gt; finding a good local minimum.<br>
&gt; <br>
&gt; If you have a concrete problem where it goes wrong put it on redmine and we can <br>
&gt; try to have a look.<br>
&gt; <br>
&gt; Cheers,<br>
&gt; <br>
&gt; Erik<br>
&gt; <br>
&gt; On Tue, Sep 11, 2018 at 11:02 AM David van der Spoel &lt;<a href="mailto:spoel@xray.bmc.uu.se" target="_blank">spoel@xray.bmc.uu.se</a> <br>
&gt; &lt;mailto:<a href="mailto:spoel@xray.bmc.uu.se" target="_blank">spoel@xray.bmc.uu.se</a>&gt;&gt; wrote:<br>
&gt; <br>
&gt;     Hi,<br>
&gt; <br>
&gt;     I am finding that energy minimization not always succeeds, even for very<br>
&gt;     simple molecules such as 2-octanol or pentoxypentane. This leads to<br>
&gt;     problems when you want to do a normal mode analysis based on that structure.<br>
&gt; <br>
&gt;     The code for conjugate gradients has comments (from Erik) that suggest<br>
&gt;     there are some short-cuts being taken (see example below). I do not want<br>
&gt;     to modify this code, but it might be good to have a minimizer that<br>
&gt;     *does* go all the way to zero force (steepest descents doesn&#39;t do it<br>
&gt;     either).<br>
&gt; <br>
&gt;     Suggestions?<br>
&gt; <br>
&gt; <br>
&gt;                * In theory, we should minimize the function along this direction.<br>
&gt;                * That is quite possible, but it turns out to take 5-10<br>
&gt;     function evaluations<br>
&gt;                * for each line. However, we dont really need to find the<br>
&gt;     exact minimum -<br>
&gt;                * it is much better to start a new CG step in a modified<br>
&gt;     direction as soon<br>
&gt;                * as we are close to it. This will save a lot of energy<br>
&gt;     evaluations.<br>
&gt;                *<br>
&gt; <br>
&gt; <br>
&gt;     -- <br>
&gt;     David van der Spoel, Ph.D., Professor of Biology<br>
&gt;     Head of Department, Cell &amp; Molecular Biology, Uppsala University.<br>
&gt;     Box 596, SE-75124 Uppsala, Sweden. Phone: +46184714205.<br>
&gt;     <a href="http://www.icm.uu.se" rel="noreferrer" target="_blank">http://www.icm.uu.se</a><br>
&gt;     -- <br>
&gt;     Gromacs Developers mailing list<br>
&gt; <br>
&gt;     * Please search the archive at<br>
&gt;     <a href="http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List" rel="noreferrer" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List</a> before posting!<br>
&gt; <br>
&gt;     * Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" rel="noreferrer" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br>
&gt; <br>
&gt;     * For (un)subscribe requests visit<br>
&gt;     <a href="https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers" rel="noreferrer" target="_blank">https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers</a> or<br>
&gt;     send a mail to <a href="mailto:gmx-developers-request@gromacs.org" target="_blank">gmx-developers-request@gromacs.org</a><br>
&gt;     &lt;mailto:<a href="mailto:gmx-developers-request@gromacs.org" target="_blank">gmx-developers-request@gromacs.org</a>&gt;.<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; -- <br>
&gt; Erik Lindahl &lt;<a href="mailto:erik.lindahl@dbb.su.se" target="_blank">erik.lindahl@dbb.su.se</a> &lt;mailto:<a href="mailto:erik.lindahl@dbb.su.se" target="_blank">erik.lindahl@dbb.su.se</a>&gt;&gt;<br>
&gt; Professor of Biophysics, Dept. Biochemistry &amp; Biophysics, Stockholm University<br>
&gt; Science for Life Laboratory, Box 1031, 17121 Solna, Sweden<br>
&gt; <br>
&gt; <br>
<br>
-- <br>
Gromacs Developers mailing list<br>
<br>
* Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List" rel="noreferrer" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List</a> before posting!<br>
<br>
* Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" rel="noreferrer" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br>
<br>
* For (un)subscribe requests visit<br>
<a href="https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers" rel="noreferrer" target="_blank">https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers</a> or send a mail to <a href="mailto:gmx-developers-request@gromacs.org" target="_blank">gmx-developers-request@gromacs.org</a>.</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_-3646950371280968842gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Erik Lindahl &lt;<a href="mailto:erik.lindahl@dbb.su.se" target="_blank">erik.lindahl@dbb.su.se</a>&gt;</div><div>Professor of Biophysics, Dept. Biochemistry &amp; Biophysics, Stockholm University</div><div>Science for Life Laboratory, Box 1031, 17121 Solna, Sweden</div></div></div></div></div></div></div></div></div></div></div></div>