<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi,<br><br>Strange, I think I have really fixed all problems now.<br>All test systems work fine for me.<br><br>Can you file a bugzilla entry?<br>Please include all the files needed to run grompp<br>as well as the correct pull distance and the pull distance you obtained.<br><br>Berk<br><br>&gt; Date: Sun, 25 Jan 2009 23:45:29 -0500<br>&gt; From: fiedler@umich.edu<br>&gt; To: gmx-users@gromacs.org<br>&gt; Subject: Re: [gmx-users] Transition difficulties: version 3.3.3        to        4.0.3        regarding pull_geometry=distance<br>&gt; <br>&gt; Hi,<br>&gt; <br>&gt; I rebuilt the code using both sets of Berk's corrections.  On an <br>&gt; isolated bilayer system with no periodic boundaries in the x-y plane <br>&gt; prepared in the manner previously explained, the recompiled grompp <br>&gt; output yielded no improvement in the discrepancies of the position of a <br>&gt; buckyball permeant.  By visual inspection, it appears that the 4.0.x <br>&gt; versions still attempt to distort the position of the permeant <br>&gt; significant upward from the bilayer center, i.e., the center of mass of <br>&gt; the reference group.  Interestingly, the 3.3.x and 4.0.x version <br>&gt; identically treated a test bilayer system constructed with a single <br>&gt; dummy particle permeant. <br>&gt; <br>&gt; I appreciate the help of Berk, and Chris' detailed suggestions with this <br>&gt; interesting problem.<br>&gt; <br>&gt; Sincerely,<br>&gt; <br>&gt; Steve Fiedler<br>&gt; <br>&gt; <br>&gt; <br>&gt; Berk Hess wrote:<br>&gt; &gt; Hi,<br>&gt; &gt;<br>&gt; &gt; I just found out that I introduced a bug in 4.0.3, which could cause<br>&gt; &gt; the pull code to crash or give wrong results when running single <br>&gt; &gt; processor.<br>&gt; &gt; In parallel it is correct.<br>&gt; &gt; I committed fixed for 4.0.4.<br>&gt; &gt;<br>&gt; &gt; If you run in parallel things should be correct,<br>&gt; &gt; or change in src/kernel/md.c:<br>&gt; &gt;     if (ir-&gt;pull) {<br>&gt; &gt;       dd_make_local_pull_groups(NULL,ir-&gt;pull,mdatoms);<br>&gt; &gt; to<br>&gt; &gt;     if (ir-&gt;pull &amp;&amp; PAR(cr)) {<br>&gt; &gt;       dd_make_local_pull_groups(NULL,ir-&gt;pull,mdatoms);<br>&gt; &gt;<br>&gt; &gt; Berk<br>&gt; &gt;<br>&gt; &gt; &gt; Date: Fri, 23 Jan 2009 12:14:43 -0500<br>&gt; &gt; &gt; From: fiedler@umich.edu<br>&gt; &gt; &gt; To: gmx-users@gromacs.org<br>&gt; &gt; &gt; Subject: Re: [gmx-users] Transition difficulties: version 3.3.3 to <br>&gt; &gt; 4.0.3 regarding pull_geometry=distance<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Hi,<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Thank you Berk and Chris for the suggestions.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; To address the possibility that this issue is related to periodic<br>&gt; &gt; &gt; boundaries, I used two approaches:<br>&gt; &gt; &gt; 1. The pull group of interest (permeant) was centered in the x-y plane<br>&gt; &gt; &gt; of the box using Chris' approach. I then used the genconf utility to<br>&gt; &gt; &gt; replicate my lipid box to a 9x9 grid in the x-y plane and removed all<br>&gt; &gt; &gt; but the center box. This generated the coordinates for a bilayer system<br>&gt; &gt; &gt; with all lipid molecules inside a box and intact. The discrepancy<br>&gt; &gt; &gt; between the grompp (version 4.0.3) output and distances as <br>&gt; &gt; calculated by<br>&gt; &gt; &gt; g_traj (version 4.0.3) persist, 2.667 vs. 0.3996 nm.<br>&gt; &gt; &gt; 2. I constructed a three atom system containing 2 reference atoms of<br>&gt; &gt; &gt; type A, and a "pull" atom of type B. Proper output from grompp was<br>&gt; &gt; &gt; observed for all coordinates of both the reference and pulled atoms,<br>&gt; &gt; &gt; include coordinates for atoms moved outside the box in the x-y plane.<br>&gt; &gt; &gt; The coordinate, topology, and run control parameter file are given <br>&gt; &gt; below.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; If there are additional suggestions, I would be greatly appreciative.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Thank you,<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Steve Fiedler<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; -----------------<br>&gt; &gt; &gt; conf.gro<br>&gt; &gt; &gt; Three atoms<br>&gt; &gt; &gt; 3<br>&gt; &gt; &gt; 1AAA A 1 1.500 1.500 1.000<br>&gt; &gt; &gt; 2AAA A 2 0.500 1.500 1.000<br>&gt; &gt; &gt; 3BBB B 3 -1.500 1.500 1.700<br>&gt; &gt; &gt; 3.00000 3.00000 3.00000<br>&gt; &gt; &gt; -----------------<br>&gt; &gt; &gt; index.ndx<br>&gt; &gt; &gt; [ System ]<br>&gt; &gt; &gt; 1 2 3<br>&gt; &gt; &gt; [ Ref ]<br>&gt; &gt; &gt; 1 2<br>&gt; &gt; &gt; [ Pulled ]<br>&gt; &gt; &gt; 3<br>&gt; &gt; &gt; -----------------<br>&gt; &gt; &gt; grompp.mdp<br>&gt; &gt; &gt; title = ThreeAtoms<br>&gt; &gt; &gt; integrator = md<br>&gt; &gt; &gt; dt = 0.001<br>&gt; &gt; &gt; nsteps = 1<br>&gt; &gt; &gt; ns_type = grid<br>&gt; &gt; &gt; pbc = xyz<br>&gt; &gt; &gt; coulombtype = shift<br>&gt; &gt; &gt; rlist = 1.4<br>&gt; &gt; &gt; rcoulomb = 1.4<br>&gt; &gt; &gt; rvdw = 1.4<br>&gt; &gt; &gt; tcoupl = no<br>&gt; &gt; &gt; pcoupl = no<br>&gt; &gt; &gt; constraint_algorithm = shake<br>&gt; &gt; &gt; shake_tol = 1e-4<br>&gt; &gt; &gt; gen-vel = no<br>&gt; &gt; &gt; gen-temp = 0<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; nstxout = 1<br>&gt; &gt; &gt; nstvout = 0<br>&gt; &gt; &gt; nstfout = 0<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; pull = umbrella<br>&gt; &gt; &gt; pull_geometry = distance<br>&gt; &gt; &gt; pull_dim = N N Y<br>&gt; &gt; &gt; pull_start = no<br>&gt; &gt; &gt; pull_init1 = 0.7<br>&gt; &gt; &gt; pull_group0 = Ref<br>&gt; &gt; &gt; pull_group1 = Pulled<br>&gt; &gt; &gt; pull_k1 = 10000<br>&gt; &gt; &gt; -----------------<br>&gt; &gt; &gt; topology.top<br>&gt; &gt; &gt; ; topology for two partially charged atoms<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; [ defaults ]<br>&gt; &gt; &gt; ; nbfunc comb-rule gen-pairs fudgeLJ fudgeQQ<br>&gt; &gt; &gt; 1 3 yes 0.125 0.5<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; [ atomtypes ]<br>&gt; &gt; &gt; ;name mass charge ptype sig eps<br>&gt; &gt; &gt; A 1000.0000 0.000 A 0.50000 9.90000<br>&gt; &gt; &gt; B 9.0000 0.000 A 0.30000 9.00000<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; [ nonbond_params ]<br>&gt; &gt; &gt; ; i j func sig eps<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; [ moleculetype ]<br>&gt; &gt; &gt; AAAA 1<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; [ atoms ]<br>&gt; &gt; &gt; ; nr type resnr residue atom cgnr charge mass<br>&gt; &gt; &gt; 1 A 1 AAA A 1 0.000 1000.0000<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; [ moleculetype ]<br>&gt; &gt; &gt; BBBB 1<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; [ atoms ]<br>&gt; &gt; &gt; ; nr type resnr residue atom cgnr charge mass<br>&gt; &gt; &gt; 1 B 1 BBB B 1 0.000 9.00<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; [ system ]<br>&gt; &gt; &gt; ; name<br>&gt; &gt; &gt; Three atoms<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; [ molecules ]<br>&gt; &gt; &gt; ; name number<br>&gt; &gt; &gt; AAAA 2<br>&gt; &gt; &gt; BBBB 1<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Chris Neale wrote:<br>&gt; &gt; &gt; &gt; I just checked similar simulations of mine and Berk's suggestion<br>&gt; &gt; &gt; &gt; accounts for similar discrepancies that I notice on a quick <br>&gt; &gt; evaluation<br>&gt; &gt; &gt; &gt; where g_traj and g_dist fail to give me the same distance as I obtain<br>&gt; &gt; &gt; &gt; from the pull pos.xvg file. As Berk suggests, once I first trjconv<br>&gt; &gt; &gt; &gt; -center -pbc mol -ur compact (giving an appropriate residue for<br>&gt; &gt; &gt; &gt; centering that puts all relevant pulled atoms in the same box) then<br>&gt; &gt; &gt; &gt; g_traj and g_dist both give me the exact same answer as I calculate<br>&gt; &gt; &gt; &gt; based on pull pos.xvg. Chris -- original message -- Hi, There <br>&gt; &gt; could be<br>&gt; &gt; &gt; &gt; a problem with periodic boundary conditions. Do you have multiple<br>&gt; &gt; &gt; &gt; molecules in a pull group, or broken molecules? In that case the COM<br>&gt; &gt; &gt; &gt; position of 3.3.3 and g_traj are both incorrect. The pull code in 4.0<br>&gt; &gt; &gt; &gt; grompp and mdrun are (as far as I know) always correct. Berk<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;&gt; &gt; Date: Thu, 22 Jan 2009 13:22:24 -0500<br>&gt; &gt; &gt; &gt;&gt; &gt; From: fiedler@umich.edu<br>&gt; &gt; &gt; &gt;&gt; &gt; To: gmx-users@gromacs.org<br>&gt; &gt; &gt; &gt;&gt; &gt; Subject: [gmx-users] Transition difficulties: version 3.3.3 to<br>&gt; &gt; &gt; &gt;&gt; 4.0.3 regarding pull_geometry=distance<br>&gt; &gt; &gt; &gt;&gt; &gt; &gt; Dear all,<br>&gt; &gt; &gt; &gt;&gt; &gt; &gt; I have encountered an odd behavior with use of the <br>&gt; &gt; "pull_geometry<br>&gt; &gt; &gt; &gt;&gt; = &gt; distance" option of the pull code, upon transitioning from<br>&gt; &gt; &gt; &gt;&gt; Gromacs &gt; version 3.3.3 to version 4.0.3. It appears to be related<br>&gt; &gt; &gt; &gt;&gt; to the center &gt; of mass distances of the two pull groups, which has<br>&gt; &gt; &gt; &gt;&gt; an effect of &gt; abruptly displacing the coordinates of the less<br>&gt; &gt; &gt; &gt;&gt; massive group. A &gt; diagnostic is a discrepancy between the distances<br>&gt; &gt; &gt; &gt;&gt; between the pull &gt; groups from the preprocessor output in version<br>&gt; &gt; &gt; &gt;&gt; 4.0.3, and the distance &gt; between the groups as calculated using the<br>&gt; &gt; &gt; &gt;&gt; difference of the groups' &gt; centers of mass from the g_traj utility.<br>&gt; &gt; &gt; &gt;&gt; For example, using the &gt; coordinates of a system previously<br>&gt; &gt; &gt; &gt;&gt; equilibrated with the constraint &gt; force approach from version <br>&gt; &gt; 3.3.3,<br>&gt; &gt; &gt; &gt;&gt; the grompp output from version 4.0.3 is:<br>&gt; &gt; &gt; &gt;&gt; &gt; &gt; Pull group natoms pbc atom distance at start reference at t=0<br>&gt; &gt; &gt; &gt;&gt; &gt; 0 2672 1336 &gt; 1 60 6818<br>&gt; &gt; &gt; &gt;&gt; 2.673 0.400 &gt; &gt; Using g_traj (4.0.3 version), the<br>&gt; &gt; &gt; &gt;&gt; difference of the distance between the &gt; center of masses of the two<br>&gt; &gt; &gt; &gt;&gt; groups is: 0.39911 nm versus the 2.673 value &gt; from above. &gt; &gt; This<br>&gt; &gt; &gt; &gt;&gt; issue does not exist in previous versions of Gromacs including &gt;<br>&gt; &gt; &gt; &gt;&gt; version 3.3.3. In version 4.0.3, this behavior occurs for both &gt;<br>&gt; &gt; &gt; &gt;&gt; pull=umbrella and pull = constraint, on 32 and 64 bit architecture &gt;<br>&gt; &gt; &gt; &gt;&gt; systems, and in both single and double precision calculations. A<br>&gt; &gt; &gt; &gt;&gt; test &gt; of a two atom system determined that the pull_start option <br>&gt; &gt; was<br>&gt; &gt; &gt; &gt;&gt; not &gt; appropriate. The pull options used in the mdp file are listed<br>&gt; &gt; &gt; &gt;&gt; below, as &gt; well as the contents of the ppa file which has worked<br>&gt; &gt; &gt; &gt;&gt; previously. &gt; &gt; Suggestions would be appreciated,<br>&gt; &gt; &gt; &gt; _______________________________________________<br>&gt; &gt; &gt; &gt; gmx-users mailing list gmx-users@gromacs.org<br>&gt; &gt; &gt; &gt; http://www.gromacs.org/mailman/listinfo/gmx-users<br>&gt; &gt; &gt; &gt; Please search the archive at http://www.gromacs.org/search before<br>&gt; &gt; &gt; &gt; posting!<br>&gt; &gt; &gt; &gt; Please don't post (un)subscribe requests to the list. Use the www<br>&gt; &gt; &gt; &gt; interface or send it to gmx-users-request@gromacs.org.<br>&gt; &gt; &gt; &gt; Can't post? Read http://www.gromacs.org/mailing_lists/users.php<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; --<br>&gt; &gt; &gt; Steve Fiedler, Ph.D.<br>&gt; &gt; &gt; Research Fellow<br>&gt; &gt; &gt; Department of Mechanical Engineering<br>&gt; &gt; &gt; The University of Michigan<br>&gt; &gt; &gt; 2024 G.G. Brown<br>&gt; &gt; &gt; 2350 Hayward St.<br>&gt; &gt; &gt; Ann Arbor, MI 48109-2125<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; _______________________________________________<br>&gt; &gt; &gt; gmx-users mailing list gmx-users@gromacs.org<br>&gt; &gt; &gt; http://www.gromacs.org/mailman/listinfo/gmx-users<br>&gt; &gt; &gt; Please search the archive at http://www.gromacs.org/search before <br>&gt; &gt; posting!<br>&gt; &gt; &gt; Please don't post (un)subscribe requests to the list. Use the<br>&gt; &gt; &gt; www interface or send it to gmx-users-request@gromacs.org.<br>&gt; &gt; &gt; Can't post? Read http://www.gromacs.org/mailing_lists/users.php<br>&gt; &gt;<br>&gt; &gt; ------------------------------------------------------------------------<br>&gt; &gt; Express yourself instantly with MSN Messenger! MSN Messenger <br>&gt; &gt; &lt;http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/&gt;<br>&gt; &gt; ------------------------------------------------------------------------<br>&gt; &gt;<br>&gt; &gt; _______________________________________________<br>&gt; &gt; gmx-users mailing list    gmx-users@gromacs.org<br>&gt; &gt; http://www.gromacs.org/mailman/listinfo/gmx-users<br>&gt; &gt; Please search the archive at http://www.gromacs.org/search before posting!<br>&gt; &gt; Please don't post (un)subscribe requests to the list. Use the <br>&gt; &gt; www interface or send it to gmx-users-request@gromacs.org.<br>&gt; &gt; Can't post? Read http://www.gromacs.org/mailing_lists/users.php<br>&gt; <br>&gt; <br>&gt; -- <br>&gt; Steve Fiedler, Ph.D.<br>&gt; Research Fellow<br>&gt; Department of Mechanical Engineering<br>&gt; The University of Michigan<br>&gt; 2024 G.G. Brown<br>&gt; 2350 Hayward St.<br>&gt; Ann Arbor, MI 48109-2125<br>&gt; <br>&gt; <br>&gt; _______________________________________________<br>&gt; gmx-users mailing list    gmx-users@gromacs.org<br>&gt; http://www.gromacs.org/mailman/listinfo/gmx-users<br>&gt; Please search the archive at http://www.gromacs.org/search before posting!<br>&gt; Please don't post (un)subscribe requests to the list. Use the <br>&gt; www interface or send it to gmx-users-request@gromacs.org.<br>&gt; Can't post? Read http://www.gromacs.org/mailing_lists/users.php<br><br /><hr />Express yourself instantly with MSN Messenger! <a href='http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/' target='_new'>MSN Messenger</a></body>
</html>