<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style>@font-face {
        font-family: Calibri;
}
@font-face {
        font-family: Tahoma;
}
@page WordSection1 {margin: 1.0in 1.0in 1.0in 1.0in; }
P.MsoNormal {
        MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"; FONT-SIZE: 12pt
}
LI.MsoNormal {
        MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"; FONT-SIZE: 12pt
}
DIV.MsoNormal {
        MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"; FONT-SIZE: 12pt
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle18 {
        FONT-FAMILY: "Calibri","sans-serif"; COLOR: #1f497d
}
</style><style id="owaParaStyle">P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</style>
</head>
<body lang="EN-US" vlink="purple" link="blue" fPStyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<p>Dear all,</p>
<p>&nbsp;</p>
<p>Apologies for getting back to this topic again - am still having trouble trying to get distance restraints to work on my protein.</p>
<p>&nbsp;</p>
<p>Following Tsjerk's advice, I have </p>
<p>1)put the tpr file through gmxdump: &nbsp;&nbsp; </p>
<p>&nbsp;&nbsp; disre&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = No<br>
&nbsp;&nbsp; disre_weighting&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = Conservative<br>
&nbsp;&nbsp; disre_mixed&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = FALSE<br>
&nbsp;&nbsp; dr_fc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 10000</p>
<p>2)there was no distance restraint information on the edr file (no surprise considering the above)</p>
<p>&nbsp;</p>
<p>I have then tried inserting &quot;disre = simple&quot; in my mdp file and attempted to run the simulation.
</p>
<p>mpisub 1 test.jif </p>
<p>(note that 1 = 8 cpus)</p>
<p>Unfortunately, I got the following error:</p>
<p>Fatal error:<br>
There is no domain decomposition for 8 nodes that is compatible with the given box and a minimum cell size of 11.8602 nm<br>
Change the number of nodes or mdrun option -rdd or -dds<br>
Look in the log file for details on the domain decomposition<br>
For more information and tips for troubleshooting, please check the GROMACS<br>
website at <a href="http://www.gromacs.org/Documentation/Errors">http://www.gromacs.org/Documentation/Errors</a></p>
<p>&nbsp;</p>
<p>I also tried changing the number of cpus</p>
<p>mpisub 2 test.jif&nbsp;&nbsp; </p>
<p>(2=16 cpus)</p>
<p>The error was</p>
<p>Fatal error:<br>
There is no domain decomposition for 10 nodes that is compatible with the given box and a minimum cell size of 11.8602 nm<br>
Change the number of nodes or mdrun option -rdd or -dds<br>
Look in the log file for details on the domain decomposition<br>
For more information and tips for troubleshooting, please check the GROMACS<br>
website at <a href="http://www.gromacs.org/Documentation/Errors">http://www.gromacs.org/Documentation/Errors</a><br>
</p>
<p>I dont understand why the error stated 10 instead of 16 nodes. Removing &quot;disre=simple&quot; will&nbsp;allow the simulation to run smoothly. Can anyone enlighten me on how to apply distance restraints properly?</p>
<p>&nbsp;</p>
<p>Many thanks.</p>
<p>&nbsp;</p>
<p>Huiwen</p>
<div style="FONT-FAMILY: Times New Roman; COLOR: #000000; FONT-SIZE: 16px">
<hr tabindex="-1">
<div style="DIRECTION: ltr" id="divRpF288894"><font color="#000000" size="2" face="Tahoma"><b>From:</b> gmx-users-bounces@gromacs.org [gmx-users-bounces@gromacs.org] on behalf of NG HUI WEN [HuiWen.Ng@nottingham.edu.my]<br>
<b>Sent:</b> 18 January 2012 16:40<br>
<b>To:</b> Discussion list for GROMACS users<br>
<b>Subject:</b> RE: [gmx-users] questions on distance restraints<br>
</font><br>
</div>
<div></div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Dear Tsjerk,</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"></span>&nbsp;</p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Thanks very much indeed for confirming this, really appreciate it. I will do as you suggest to have a more thorough check.
</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"></span>&nbsp;</p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Best wishes,</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Huiwen</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"></span>&nbsp;</p>
<div style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<p class="MsoNormal"><b><span style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt">From:</span></b><span style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> gmx-users-bounces@gromacs.org [mailto:gmx-users-bounces@gromacs.org]
<b>On Behalf Of </b>Tsjerk Wassenaar<br>
<b>Sent:</b> Wednesday, January 18, 2012 1:08 PM<br>
<b>To:</b> Discussion list for GROMACS users<br>
<b>Subject:</b> Re: [gmx-users] questions on distance restraints</span></p>
</div>
<p class="MsoNormal">&nbsp;</p>
<p>Hi Huiwen,</p>
<p>Your approach seems good. Information about the distance restraints will be printed in the log file from mdrun, or can be extracted from the .edr file. You can also work your way through the information in the .tpr file given by gmxdump to see if they are
 indeed properly defined.</p>
<p>Cheers,</p>
<p>Tsjerk</p>
<blockquote style="MARGIN-TOP: 5pt; MARGIN-BOTTOM: 5pt">
<p style="MARGIN-BOTTOM: 12pt" class="MsoNormal">On Jan 18, 2012 1:46 AM, &quot;NG HUI WEN&quot; &lt;<a href="mailto:HuiWen.Ng@nottingham.edu.my" target="_blank">HuiWen.Ng@nottingham.edu.my</a>&gt; wrote:</p>
<div>
<div>
<p class="MsoNormal">Dear gmxusers,</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">I have some questions about distance restraints that I hope you would be able to shed some light on. Thanks in advance.</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">I am trying to apply distance restraints to my protein. Below was what I did:</p>
<p>&nbsp;</p>
<p class="MsoNormal">-use genrestr to create my ca_disre.itp<br>
genrestr –f membedded_em.gro –o ca_disre.itp –disre (pop-up prompt: CA atoms selected)</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">-in my mdp file</p>
<p class="MsoNormal">I added this line near the top: </p>
<p class="MsoNormal">define&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = -DDISRES</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">-my &nbsp;top file looks like that</p>
<p class="MsoNormal">; Include forcefield parameters</p>
<p class="MsoNormal">#include &quot;gromos53a6_lipid.ff/forcefield.itp&quot;</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">;Include Protein Topology</p>
<p class="MsoNormal">#include &quot;A2a.itp&quot;</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">; Include Position restraint file</p>
<p class="MsoNormal">#ifdef DISRES</p>
<p class="MsoNormal">#include &quot;ca_disre.itp&quot;</p>
<p class="MsoNormal">#endif</p>
<p class="MsoNormal">;</p>
<p class="MsoNormal">#ifdef POSRES</p>
<p class="MsoNormal">#include &quot;posre.itp&quot;</p>
<p class="MsoNormal">#endif</p>
<p class="MsoNormal">;</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">;Include POPC topology</p>
<p class="MsoNormal">#include &quot;popc.itp&quot;</p>
<p class="MsoNormal">#ifdef LIPID_POSRES</p>
<p class="MsoNormal">#include &quot;lipid_posre.itp&quot;</p>
<p class="MsoNormal">#endif</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">;Include water topology</p>
<p class="MsoNormal">#include &quot;gromos53a6_lipid.ff/spc.itp&quot;</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">#ifdef POSRES_WATER</p>
<p class="MsoNormal">; Position restraint for each water oxygen</p>
<p class="MsoNormal">[ position_restraints ]</p>
<p class="MsoNormal">;&nbsp; i funct&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fcx&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fcy&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fcz</p>
<p class="MsoNormal">&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1000</p>
<p class="MsoNormal">#endif</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">; Include topology for ions</p>
<p class="MsoNormal">#include &quot;gromos53a6_lipid.ff/ions.itp&quot;</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">[ system ]</p>
<p class="MsoNormal">; Name</p>
<p class="MsoNormal">Protein and POPC and Water </p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">[ molecules ]</p>
<p class="MsoNormal">; Compound&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #mols</p>
<p class="MsoNormal">Protein_chain_X&nbsp;&nbsp;&nbsp;&nbsp; 1</p>
<p class="MsoNormal">POPC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 327</p>
<p class="MsoNormal">SOL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 24767</p>
<p class="MsoNormal">CL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 11</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">The simulation ran without a problem. However, after it was completed, I compared the final protein structure with the initial and it looked like the atoms (even the CA atoms , especially those in the loops) had moved quite a fair bit away
 from the original position. This made me wonder if the distance restraints had indeed been applied or perhaps the force constant was not large enough (default =1000 kJ/mol/nm^2)? &nbsp;I had checked the mdout.mdp file “define &nbsp;= -DDISRES” was there… wasn’t sure
 how else I could check this.</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">To test whether it was due to the latter, I had tried rerunning the simulation for 1ns simulation with “disre_fc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 10000” added to the mdp file. This time the atoms did not move as far away as previously observed.
</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">I have tried google-ing for the proper way to impose distance restraints but didn’t find my searches too useful. I wonder if anyone could confirm with me that the above method is correct/ tell me that I had done something wrong.</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">Cheers for that!</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">Best wishes,</p>
<p class="MsoNormal">Huiwen</p>
<p class="MsoNormal">&nbsp;</p>
<p style="MARGIN-LEFT: 0.25in" class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">&nbsp;</p>
</div>
<p class="MsoNormal">&lt;&lt; </p>
<p><span style="FONT-FAMILY: 'Arial','sans-serif'">This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete
 it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
<br>
<br>
This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be
 monitored as permitted by UK &amp; Malaysia legislation.</span></p>
<p class="MsoNormal">&gt;&gt; </p>
</div>
<p class="MsoNormal"><br>
--<br>
gmx-users mailing list &nbsp; &nbsp;<a href="mailto:gmx-users@gromacs.org" target="_blank">gmx-users@gromacs.org</a><br>
<a href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>
Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/Search" target="_blank">
http://www.gromacs.org/Support/Mailing_Lists/Search</a> before posting!<br>
Please don't post (un)subscribe requests to the list. Use the<br>
www interface or send it to <a href="mailto:gmx-users-request@gromacs.org" target="_blank">
gmx-users-request@gromacs.org</a>.<br>
Can't post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">
http://www.gromacs.org/Support/Mailing_Lists</a></p>
</blockquote>
</div>
&lt;&lt;
<p><font size="2" face="Arial">This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use,
 copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
<br>
<br>
This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be
 monitored as permitted by UK &amp; Malaysia legislation.</font></p>
&gt;&gt; </div>
</div>
</div>
 <<
<p><font face="Arial" size="2">
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. 
<br><br>This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK & Malaysia legislation.</font></p> >>
</body>
</html>