Rigidwater not working in plugin

The functionality of OpenMM will (eventually) include everything that one would need to run modern molecular simulation.
POST REPLY
User avatar
Andrea Zonca
Posts: 17
Joined: Tue Aug 19, 2014 1:32 pm

Rigidwater not working in plugin

Post by Andrea Zonca » Tue Jul 28, 2015 3:22 pm

Hello,

in our plugin the rigidwater flag does not work correctly.
We have a simple test case of 3 water molecules, see https://github.com/sqamara/mbpol_debug/ ... er/test.py

If we setup one of the OpenMM water models, like TIP5P, everything works correctly, see a plot of OH distances for the first molecule for 100 steps at .2 fs for rigidwater true and false:
tip5p_distances.png
TIP5P distances
Instead, with our plugin, the distances drift in time:
mbpol_distances.png
MBPol distances
We checked in `forcefield.py` and it looks like the `isConstrained` is correctly set to `true`.
However in the simulation the water is not rigid.

We think there is something wrong in the plugin code, however we cannot figure out where to look,
would you have any hint?

thanks!

User avatar
Peter Eastman
Posts: 2593
Joined: Thu Aug 09, 2007 1:25 pm

Re: Rigidwater not working in plugin

Post by Peter Eastman » Tue Jul 28, 2015 3:55 pm

Water molecules are identified by the residue name in the Topology: HOH. Did you name them something different from that?

Peter

User avatar
Andrea Zonca
Posts: 17
Joined: Tue Aug 19, 2014 1:32 pm

Re: Rigidwater not working in plugin

Post by Andrea Zonca » Mon Sep 14, 2015 3:44 pm

Thanks, no, I use HOH as well, see the xml:

https://github.com/paesanilab/mbpol_ope ... /mbpol.xml

POST REPLY