<DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><SPAN>On 16/08/11, <B class=name>"Wright, Louise" </B>&lt;Louise.Wright@warwick.ac.uk&gt; wrote:</SPAN>
<BLOCKQUOTE style="BORDER-LEFT: #00f 1px solid; PADDING-LEFT: 13px; MARGIN-LEFT: 0px" class=iwcQuote cite=mid:9EC0EE26C5EAE6499A8CC5E967ADAC3B0178F534@HOLLY.ads.warwick.ac.uk type="cite"><SPAN>
<P>
<TABLE>
<TBODY>
<TR>
<TD>
<P><!-- Converted from text/plain format --><br />
<P><FONT size=2>Hi<br />I was wondering if anyone could help me.&nbsp; I am trying to use Gromacs 4.5.4 to do some free energy calculations.&nbsp; I am using the CHARMM forcefield with CMAP and keep getting the error message:<br /><br />Fatal error:<br />Function type CMAP Dih. not implemented in ip_pert<br /><br />I noticed that someone had posted a while ago about a similar message for Improper Dihs. and that the solution to this was an extra line added to topsort.c.&nbsp; I think I need to add a line to topsort.c too for F_CMAP but am slightly unsure of what to do.<br />Any help would be appreciated.&nbsp; Is there an easy way to carry to carry out free energy perturbation calculations in Gromacs when using CMAP in the potential was well?</FONT></P></TD></TR></TBODY></TABLE></P></SPAN></BLOCKQUOTE>
<DIV>&nbsp;</DIV><DIV>Looking at the code suggests to me that FEP of the CMAP parameters is not implemented (if that even makes sense, I dunno). Also, FEP on some other parameters when CMAP is active is not implemented properly. To get the latter working, I suggest inserting</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; case F_CMAP:<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bPert = FALSE;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;<br />&nbsp;&nbsp;</DIV><DIV>immediately before the "default:" clause in ip_pert() in src/gmxlib/topsort.c&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Mark&nbsp;</DIV>