Justin, Mark,<br><br>Ok<br>not I&#39;ve included posre only to the lipid.itp wich consist of parameters for just 1 lipid<br><br>#ifdef POSRES_LIPID<br>#include &quot;posre_lipid.itp&quot;<br>#endif<br><br>to the minim.mdp I&#39;ve included<br>
define        = -DPOSRES_LIPID    ; position restrain the lipids<br><br>As the result I have not obtained any error in grompp but after minimization my lipid bilayer was perturbed. I&#39;ve used very strong posres. Why it have not worked ?<br>
<br><div class="gmail_quote">2011/10/31 Justin A. Lemkul <span dir="ltr">&lt;<a href="mailto:jalemkul@vt.edu">jalemkul@vt.edu</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5"><br>
<br>
James Starlight wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I&#39;ve done all of that<br>
i have &quot;posre_lipid.itp&quot; - for 1 lipid ( posres for each of 50 atoms )<br>
<br>
<br>
I&#39;ve included this in the topology of the bilayer<br>
<br>
; Include chain topologies<br>
#include &quot;gromos53a6_lipid.ff/<u></u>forcefield.itp&quot;<br>
#include &quot;dppc.itp&quot;<br>
<br>
; Include water topology<br>
#include &quot;gromos53a6_lipid.ff/spc.itp&quot;<br>
<br>
; Include ion topologies<br>
#include &quot;gromos53a6_lipid.ff/ions.itp&quot;<br>
<br>
#ifdef POSRES_LIPID<br>
#include &quot;posre_lipid.itp&quot;<br>
#endif<br>
<br>
; System specifications<br>
[ system ]<br>
128-Lipid DMPC Bilayer in water<br>
<br>
[ molecules ]<br>
; molecule name nr.<br>
DPPC 64<br>
SOL              1193<br>
SOL               690<br>
<br>
<br>
Also I&#39;ve tried to make posre for whole system ( large posres ) but it also was finished with same error<br>
<br>
Fatal error:<br>
[ file posre_lipid.itp, line 6 ]:<br>
Atom index (2) in position_restraints out of bounds (1-1).<br>
This probably means that you have inserted topology section &quot;position_restraints&quot;<br>
in a part belonging to a different molecule than you intended to.<br>
In that case move the &quot;position_restraints&quot; section to the right molecule.<br>
For more information and tips for troubleshooting, please check the GROMACS<br>
website at <a href="http://www.gromacs.org/Documentation/Errors" target="_blank">http://www.gromacs.org/<u></u>Documentation/Errors</a><br>
<br>
What&#39;s most true for such multy system. Generate posre only for 1 part or for whole system?<br>
<br>
</blockquote>
<br></div></div>
Position restraints can only be applied on a [moleculetype] basis.  Thus, order matters a lot, and the whole system cannot be restrained in one file.  See the example here:<br>
<br>
<a href="http://www.gromacs.org/Documentation/Errors#Atom_index_n_in_position_restraints_out_of_bounds" target="_blank">http://www.gromacs.org/<u></u>Documentation/Errors#Atom_<u></u>index_n_in_position_<u></u>restraints_out_of_bounds</a><br>

<br>
As it stands now, the topology you&#39;ve shown tries to apply lipid position restraints after the ions have been #included, which makes no sense at all.<div><div></div><div class="h5"><br>
<br>
-Justin<br>
<br>
-- <br>
==============================<u></u>==========<br>
<br>
Justin A. Lemkul<br>
Ph.D. Candidate<br>
ICTAS Doctoral Scholar<br>
MILES-IGERT Trainee<br>
Department of Biochemistry<br>
Virginia Tech<br>
Blacksburg, VA<br>
jalemkul[at]<a href="http://vt.edu" target="_blank">vt.edu</a> | (540) 231-9080<br>
<a href="http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin" target="_blank">http://www.bevanlab.biochem.<u></u>vt.edu/Pages/Personal/justin</a><br>
<br>
==============================<u></u>==========<br>
-- <br>
gmx-users mailing list    <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/<u></u>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/<u></u>Support/Mailing_Lists/Search</a> before posting!<br>
Please don&#39;t post (un)subscribe requests to the list. Use the www interface or send it to <a href="mailto:gmx-users-request@gromacs.org" target="_blank">gmx-users-request@gromacs.org</a>.<br>
Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/<u></u>Support/Mailing_Lists</a><br>
</div></div></blockquote></div><br>