<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hello,
<div>
<div>there was indeed a mistake in my [angles] entry but the basic implementation works like described below.</div>

<div>Grompp now works perfectly. Thank you very much for confirming me that the basic implementation was correct.</div>

<div>&nbsp;</div>

<div>But now I have another question: How do I include the tables of the bonded interaction functions in mdrun?</div>

<div>Simply</div>

<div>&quot;mdrun&quot;</div>

<div>does not work. Using the command &quot;-table&quot; like</div>

<div>&quot;mdrun -table table_b0.xvg table_b1.xvg table_b2.xvg table_a0.xvg table_a1.xvg table_a2.xvg table_a3.xvg table_d0.xvg table_d1.xvg table_d2.xvg table_d3.xvg&quot;</div>

<div>or</div>

<div>&quot;mdrun -table table*.xvg&quot;</div>

<div>does not work neither.</div>

<div>Anybody an idea?</div>

<div>&nbsp;</div>

<div>Thanks,</div>

<div>Liz</div>

<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b>&nbsp;Dienstag, 04. August 2015 um 16:07 Uhr<br/>
<b>Von:</b>&nbsp;&quot;Mark Abraham&quot; &lt;mark.j.abraham@gmail.com&gt;<br/>
<b>An:</b>&nbsp;gmx-users@gromacs.org<br/>
<b>Betreff:</b>&nbsp;Re: [gmx-users] tabulated bonded interaction functions</div>

<div name="quoted-content">Hi,<br/>
<br/>
I believe your [angles] entries should work, but I&#39;ve never tried it, and I<br/>
could easily believe that a bug exists. This is code that the developers<br/>
rarely use.<br/>
<br/>
If you&#39;re confident you got that output from a correctly-formed [angles]<br/>
section, then please open a report at <a href="http://redmine.gromacs.org" target="_blank">http://redmine.gromacs.org</a>, attach<br/>
the necessary files in a tarball and we can get to the bottom of it.<br/>
<br/>
Thanks,<br/>
<br/>
Mark<br/>
<br/>
On Tue, Aug 4, 2015 at 3:55 PM Liz Bell &lt;LizBell@gmx.at&gt; wrote:<br/>
<br/>
&gt; Thank you for your response.<br/>
&gt;<br/>
&gt; The column &quot;Order of parameters and their units&quot; of table 5.5 states that<br/>
&gt; I have to include a value for n and the force constant k.<br/>
&gt; I tried it by simply setting k to 1:<br/>
&gt; [ bonds ]<br/>
&gt; ;ai aj func n k<br/>
&gt; 1 2 9 0 1<br/>
&gt;<br/>
&gt; it produces a similar error message (now for the angles instead of the<br/>
&gt; bonds):<br/>
&gt; Fatal error:<br/>
&gt; Incorrect number of parameters - found 1, expected 2 or 4 for Tab. Angles.<br/>
&gt;<br/>
&gt; (I also added the n and k in the [angles] part like:<br/>
&gt; [ angles ]<br/>
&gt; ; ai aj ak angleTyp n k<br/>
&gt; 1 2 3 8 1 1<br/>
&gt; because of the fact that table 5.5 also states that I have to include a<br/>
&gt; value for n and the force constant k for the angles.<br/>
&gt; )<br/>
&gt; Any idea if I have to secify further values? (Some which are not in table<br/>
&gt; 5.5)<br/>
&gt; Or does anybody know the activator for such an error message?<br/>
&gt;<br/>
&gt; Thank you in advance!<br/>
&gt; Best,<br/>
&gt; Liz<br/>
&gt; *Gesendet:* Dienstag, 04. August 2015 um 15:33 Uhr<br/>
&gt; *Von:* &quot;Mark Abraham&quot; &lt;mark.j.abraham@gmail.com&gt;<br/>
&gt; *An:* gmx-users@gromacs.org<br/>
&gt; *Betreff:* Re: [gmx-users] tabulated bonded interaction functions<br/>
&gt; Hi,<br/>
&gt;<br/>
&gt; Yes you have to specify k. That detail is in table 5.5, to which that<br/>
&gt; section refers you.<br/>
&gt;<br/>
&gt; Mark<br/>
&gt;<br/>
&gt; On Tue, Aug 4, 2015 at 3:26 PM Liz Bell &lt;LizBell@gmx.at&gt; wrote:<br/>
&gt;<br/>
&gt; &gt; Dear all,<br/>
&gt; &gt; Regarding my question concerning the format of the [bonds] part of the<br/>
&gt; topology file, I tried some new things:<br/>
&gt; &gt; Changing the [bonds] part in the topology to:<br/>
&gt; &gt; [ bonds ]<br/>
&gt; &gt; ;ai aj func n<br/>
&gt; &gt; 1 2 9 0<br/>
&gt; &gt;<br/>
&gt; &gt; for n=0 (and therefore the file: table_b0.xvg) produces this error<br/>
&gt; &gt; message:<br/>
&gt; &gt;<br/>
&gt; &gt; Fatal error:<br/>
&gt; &gt; Incorrect number of parameters - found 1, expected 2 or 4 for Tab. Bonds.<br/>
&gt; &gt;<br/>
&gt; &gt; But the other error message reported in the first post vanished.<br/>
&gt; &gt; I would be really grateful if somebody could tell me how the line in the<br/>
&gt; &gt; [bonds] part has to look like when using tabulated boned interactions.<br/>
&gt; &gt; Do I for example have to specify the force constant reported in the<br/>
&gt; 4.2.14<br/>
&gt; &gt; section of the manual (by simply writing it behind the n) ?<br/>
&gt; &gt;<br/>
&gt; &gt; Best,<br/>
&gt; &gt; Liz<br/>
&gt; &gt;<br/>
&gt; &gt;<br/>
&gt; &gt; *Gesendet:* Dienstag, 04. August 2015 um 14:41 Uhr<br/>
&gt; &gt; *Von:* &quot;Liz Bell&quot; &lt;LizBell@gmx.at&gt;<br/>
&gt; &gt; *An:* gromacs.org_gmx-users@maillist.sys.kth.se<br/>
&gt; &gt; *Betreff:* [gmx-users] tabulated bonded interaction functions<br/>
&gt;<br/>
&gt; &gt;<br/>
&gt; &gt; Dear all,<br/>
&gt; &gt;<br/>
&gt; &gt; I am perfoming MD simulations of P3Ht chains and I would like to define<br/>
&gt; the bonded as well as the nonbonded parameters using tables.<br/>
&gt; &gt; Regarding the bonded parameters, there are no problems until now, as I<br/>
&gt; simply wrote some additional lines in the mdp file (similar to this<br/>
&gt; explanation:<br/>
&gt; <a href="http://www.gromacs.org/Documentation/How-tos/Tabulated_Potentials" target="_blank">http://www.gromacs.org/Documentation/How-tos/Tabulated_Potentials</a>).<br/>
&gt; &gt; But how do I tell gromacs to use the information for [bonds],<br/>
&gt; [angles]... (all the bonded potentials)... from table_b0.xvg for example.<br/>
&gt; &gt;<br/>
&gt; &gt; The first line of the [bonds] section in my topology file looks like:<br/>
&gt; &gt; [ bonds ]<br/>
&gt; &gt; ;ai aj func<br/>
&gt; &gt; 1 2 9<br/>
&gt; &gt; Where 1 and 2 are the atoms and 9 is the function type.<br/>
&gt; &gt; Running grompp produces various of those mistakes:<br/>
&gt; &gt;<br/>
&gt; &gt; No default Tab. Bonds NC types<br/>
&gt; &gt; No default Lin. Angle types<br/>
&gt; &gt; No default Proper Dih. types<br/>
&gt; &gt;<br/>
&gt; &gt; I think Gromacs can not find the values that I defined in the<br/>
&gt; &gt; table_b*.xvg, table_a*.xvg and table_d*.xvg.<br/>
&gt; &gt;<br/>
&gt; &gt; The section 4.2.12 in the gromacs manual tells &quot;...for a bond with n=0<br/>
&gt; [...] the table is read from the file table_b0.xvg.<br/>
&gt; &gt; But where do I have to specify that the atoms 1 2 have the bonds with<br/>
&gt; n=0, with the information provided in the table_b0.xvg?<br/>
&gt; &gt;<br/>
&gt; &gt; Does anybody know how to adapt the topology file, or whether some<br/>
&gt; &gt; additional lines are needed in the mdp files?<br/>
&gt; &gt;<br/>
&gt; &gt; Thank you very much in advance,<br/>
&gt; &gt;<br/>
&gt; &gt; Liz<br/>
&gt; &gt; -- Gromacs Users mailing list * Please search the archive at<br/>
&gt; &gt; <a href="http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List</a> before<br/>
&gt; &gt; posting! * Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br/>
&gt; &gt; * For (un)subscribe requests visit<br/>
&gt; &gt; <a href="https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users" target="_blank">https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users</a> or<br/>
&gt; &gt; send a mail to gmx-users-request@gromacs.org.<br/>
&gt; &gt; --<br/>
&gt; &gt; Gromacs Users 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-Users_List" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List</a> before<br/>
&gt; &gt; posting!<br/>
&gt; &gt;<br/>
&gt; &gt; * Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br/>
&gt; &gt;<br/>
&gt; &gt; * For (un)subscribe requests visit<br/>
&gt; &gt; <a href="https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users" target="_blank">https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users</a> or<br/>
&gt; &gt; send a mail to gmx-users-request@gromacs.org.<br/>
&gt; --<br/>
&gt; Gromacs Users mailing list<br/>
&gt;<br/>
&gt; * Please search the archive at<br/>
&gt; <a href="http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List</a> before<br/>
&gt; posting!<br/>
&gt;<br/>
&gt; * Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" 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-users" target="_blank">https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users</a> or<br/>
&gt; send a mail to gmx-users-request@gromacs.org.<br/>
&gt; --<br/>
&gt; Gromacs Users mailing list<br/>
&gt;<br/>
&gt; * Please search the archive at<br/>
&gt; <a href="http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List</a> before<br/>
&gt; posting!<br/>
&gt;<br/>
&gt; * Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" 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-users" target="_blank">https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users</a> or<br/>
&gt; send a mail to gmx-users-request@gromacs.org.<br/>
--<br/>
Gromacs Users mailing list<br/>
<br/>
* Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List</a> before posting!<br/>
<br/>
* Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" 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-users" target="_blank">https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users</a> or send a mail to gmx-users-request@gromacs.org.</div>
</div>
</div>
</div></div></body></html>