<div dir="ltr">Hi,<div><br></div><div>See <a href="http://manual.gromacs.org/documentation/5.1.2/ReleaseNotes/release-notes.html#fix-grompp-not-warning-when-mdp-values-have-wrong-types">http://manual.gromacs.org/documentation/5.1.2/ReleaseNotes/release-notes.html#fix-grompp-not-warning-when-mdp-values-have-wrong-types</a>. The bug was that the parser is stupid, so all users got in the habit of not realising they sometimes used wrong inputs. Then I wasted a bunch of time because my 0.35 for an integer field was silently accepted as 0.</div><div><br></div><div>And this is a large part of why we have to have simpler interfaces, not lots of untested brittle convenience features that break when users combine two things nobody considered when they implemented two separate things.</div><div><br></div><div>Mark<br><br><div class="gmail_quote"><div dir="ltr">On Thu, May 26, 2016 at 1:12 PM Alexey Shvetsov &lt;<a href="mailto:alexxy@omrb.pnpi.spb.ru">alexxy@omrb.pnpi.spb.ru</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Mark Abraham писал 26-05-2016 13:55:<br>
&gt; Hi,<br>
&gt;<br>
&gt; No, this is a fixed bug. Those inputs are not well formed, and this<br>
&gt; was recently noticed and the scanf parsing improved. Time to kill this<br>
&gt; code!<br>
<br>
Ok. But when it was fixed? In what branch? I checked current git master<br>
and bug still here.<br>
<br>
<br>
&gt;<br>
&gt; Mark<br>
&gt;<br>
&gt; On Thu, 26 May 2016 12:50 Alexey Shvetsov &lt;<a href="mailto:alexxy@omrb.pnpi.spb.ru" target="_blank">alexxy@omrb.pnpi.spb.ru</a>&gt;<br>
&gt; wrote:<br>
&gt;<br>
&gt;&gt; Hi!<br>
&gt;&gt;<br>
&gt;&gt; Seems like semiisotropic pressure coupling is broken for some time<br>
&gt;&gt; in<br>
&gt;&gt; master and in release-2016 branch<br>
&gt;&gt;<br>
&gt;&gt; e.g.<br>
&gt;&gt;<br>
&gt;&gt; ; pressure coupling<br>
&gt;&gt; Pcoupl                   = Parrinello-Rahman<br>
&gt;&gt; Pcoupltype               = semiisotropic<br>
&gt;&gt; nstpcouple               = -1 -1<br>
&gt;&gt; ; Time constant (ps), compressibility (1/bar) and reference P (bar)<br>
&gt;&gt; tau_p                    = 2.0 0.0<br>
&gt;&gt; compressibility          = 4.5e-5       0<br>
&gt;&gt; ref_p                    = 1.0 0.0<br>
&gt;&gt;<br>
&gt;&gt; and grompp warns me...<br>
&gt;&gt;<br>
&gt;&gt; ERROR 1 [file md_npt_semi.mdp, line 359]:<br>
&gt;&gt; Right hand side &#39;-1   -1&#39; for parameter &#39;nstpcouple&#39; in parameter<br>
&gt;&gt; file<br>
&gt;&gt; is<br>
&gt;&gt; not an integer value<br>
&gt;&gt;<br>
&gt;&gt; ERROR 2 [file md_npt_semi.mdp, line 359]:<br>
&gt;&gt; Right hand side &#39;2.0  2.0&#39; for parameter &#39;tau_p&#39; in parameter<br>
&gt;&gt; file is<br>
&gt;&gt; not<br>
&gt;&gt; a real value<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Best Regards,<br>
&gt;&gt; Alexey &#39;Alexxy&#39; Shvetsov, PhD<br>
&gt;&gt; Department of Molecular and Radiation Biophysics<br>
&gt;&gt; FSBI Petersburg Nuclear Physics Institute, NRC Kurchatov Institute,<br>
&gt;&gt; Leningrad region, Gatchina, Russia<br>
&gt;&gt; mailto:<a href="mailto:alexxyum@gmail.com" target="_blank">alexxyum@gmail.com</a><br>
&gt;&gt; mailto:<a href="mailto:alexxy@omrb.pnpi.spb.ru" target="_blank">alexxy@omrb.pnpi.spb.ru</a><br>
&gt;&gt; --<br>
&gt;&gt; Gromacs Developers mailing list<br>
&gt;&gt;<br>
&gt;&gt; * Please search the archive at<br>
&gt;&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><br>
&gt;&gt; before posting!<br>
&gt;&gt;<br>
&gt;&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;&gt;<br>
&gt;&gt; * For (un)subscribe requests visit<br>
&gt;&gt;<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><br>
&gt;&gt; or send a mail to <a href="mailto:gmx-developers-request@gromacs.org" target="_blank">gmx-developers-request@gromacs.org</a>.<br>
<br>
--<br>
Best Regards,<br>
Alexey &#39;Alexxy&#39; Shvetsov, PhD<br>
Department of Molecular and Radiation Biophysics<br>
FSBI Petersburg Nuclear Physics Institute, NRC Kurchatov Institute,<br>
Leningrad region, Gatchina, Russia<br>
mailto:<a href="mailto:alexxyum@gmail.com" target="_blank">alexxyum@gmail.com</a><br>
mailto:<a href="mailto:alexxy@omrb.pnpi.spb.ru" target="_blank">alexxy@omrb.pnpi.spb.ru</a><br>
</blockquote></div></div></div>