[gmx-users] position restraints

Yang Ye leafyoung81-group at yahoo.com
Sat Apr 15 14:56:14 CEST 2006


Rongliang Wu wrote:
> Hello, gmx-users,
> 	i want to restrain two molecules, and i have added 
>
> #ifdef POSRES
> #include "posre_A.itp"
> #endif
>
> #ifdef POSRES
> #include "posre_B.itp"
> #endif
>
> seperately in coresponding itp files, and add "define = -DPOSRES" to mdp file
>  
> but i got error
>
> when i added
>
> #ifdef POSRES_A
> #include "posre_A.itp"
> #endif
>
> #ifdef POSRES_B
> #include "posre_B.itp"
> #endif
>
> and how can i add both -DPOSRES_A and -DPOSRES_B to the mdp file.
These two code blocks shall be added separated below two definitions of the molecules.

> define		=	-DPOSRES_A -DPOSRES_B
This shall work. What's the error message?

Yang Ye




More information about the gromacs.org_gmx-users mailing list