[gmx-users] problem about position restrain

Justin A. Lemkul jalemkul at vt.edu
Thu Feb 21 13:27:33 CET 2008

Quoting sudheer babu <sudheer.pbm07 at gmail.com>:

> Hi gmx users,
> I am trying to run position restrain step for protein embedded in popc. is
> it possible to do position restrain at a time for both popc and protein like
> below mentioned here?
> in " .top " file
> ; Include Position restraint file
> #ifdef POSRES
> #include "lip_posre.itp"
> #include "posre.itp"
> #endif

I don't know, have you tried it?  Does it seem to work?  Something that I have
done before is the following:

; position restrain protein
#ifdef POSRES
#include posre.itp

; position restrain lipid
#include lipid_posre.itp

That way, you can define both, or only one throughout the course of minimization
and equilibration, i.e.:



define   = -DPOSRES


> or any other way to do position restrain for both.
> pls help me.....
> Thanks in advance


Justin A. Lemkul
Graduate Research Assistant
Department of Biochemistry
Virginia Tech
Blacksburg, VA
jalemkul at vt.edu | (540) 231-9080


More information about the gromacs.org_gmx-users mailing list