<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>I just found out that I introduced a bug in 4.0.3, which could cause<br>the pull code to crash or give wrong results when running single processor.<br>In parallel it is correct.<br>I committed fixed for 4.0.4.<br><br>If you run in parallel things should be correct,<br>or change in src/kernel/md.c:<br>&nbsp;&nbsp;&nbsp; if (ir-&gt;pull) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dd_make_local_pull_groups(NULL,ir-&gt;pull,mdatoms);<br>to<br>&nbsp;&nbsp;&nbsp; if (ir-&gt;pull &amp;&amp; PAR(cr)) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dd_make_local_pull_groups(NULL,ir-&gt;pull,mdatoms);<br><br>Berk<br><br>&gt; Date: Fri, 23 Jan 2009 12:14:43 -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; Thank you Berk and Chris for the suggestions.<br>&gt; <br>&gt; To address the possibility that this issue is related to periodic <br>&gt; boundaries, I used two approaches:<br>&gt; 1.  The pull group of interest (permeant) was centered in the x-y plane <br>&gt; of the box using Chris' approach.  I then used the genconf utility to <br>&gt; replicate my lipid box to a 9x9 grid in the x-y plane and removed all <br>&gt; but the center box.  This generated the coordinates for a bilayer system <br>&gt; with all lipid molecules inside a box and intact.  The discrepancy <br>&gt; between the grompp (version 4.0.3) output and distances as calculated by <br>&gt; g_traj (version 4.0.3) persist, 2.667 vs. 0.3996 nm. <br>&gt; 2.  I constructed a three atom system containing 2 reference atoms of <br>&gt; type A, and a "pull" atom of type B.  Proper output from grompp was <br>&gt; observed for all coordinates of both the reference and pulled atoms, <br>&gt; include coordinates for atoms moved outside the box in the x-y plane.  <br>&gt; The coordinate, topology, and run control parameter file are given below.<br>&gt; <br>&gt; If there are additional suggestions, I would be greatly appreciative.<br>&gt; <br>&gt; Thank you,<br>&gt; <br>&gt;    Steve Fiedler<br>&gt; <br>&gt; -----------------<br>&gt; conf.gro<br>&gt; Three atoms<br>&gt;     3<br>&gt;     1AAA      A    1   1.500   1.500   1.000<br>&gt;     2AAA      A    2   0.500   1.500   1.000<br>&gt;     3BBB      B    3  -1.500   1.500   1.700<br>&gt;    3.00000   3.00000   3.00000<br>&gt; -----------------<br>&gt; index.ndx<br>&gt; [ System ]<br>&gt;    1    2    3<br>&gt; [ Ref ]<br>&gt;    1    2<br>&gt; [ Pulled ]<br>&gt;    3<br>&gt; -----------------<br>&gt; grompp.mdp<br>&gt; title                    = ThreeAtoms<br>&gt; integrator               = md<br>&gt; dt                       = 0.001<br>&gt; nsteps                   = 1<br>&gt; ns_type                  = grid<br>&gt; pbc                      = xyz<br>&gt; coulombtype              = shift<br>&gt; rlist                    = 1.4<br>&gt; rcoulomb                 = 1.4<br>&gt; rvdw                     = 1.4<br>&gt; tcoupl                   = no<br>&gt; pcoupl                   = no<br>&gt; constraint_algorithm     = shake<br>&gt; shake_tol                = 1e-4<br>&gt; gen-vel                  = no<br>&gt; gen-temp                 = 0<br>&gt; <br>&gt; nstxout                  = 1<br>&gt; nstvout                  = 0<br>&gt; nstfout                  = 0<br>&gt; <br>&gt; pull = umbrella<br>&gt; pull_geometry = distance<br>&gt; pull_dim = N N Y<br>&gt; pull_start = no<br>&gt; pull_init1 = 0.7<br>&gt; pull_group0 = Ref<br>&gt; pull_group1 = Pulled<br>&gt; pull_k1 = 10000<br>&gt; -----------------<br>&gt; topology.top<br>&gt; ; topology for two partially charged atoms<br>&gt; <br>&gt; [ defaults ]<br>&gt; ; nbfunc comb-rule gen-pairs fudgeLJ fudgeQQ<br>&gt; 1     3     yes      0.125  0.5<br>&gt; <br>&gt; [ atomtypes ]<br>&gt; ;name     mass     charge ptype  sig           eps<br>&gt;    A   1000.0000    0.000  A     0.50000      9.90000<br>&gt;    B      9.0000    0.000  A     0.30000      9.00000<br>&gt; <br>&gt; [ nonbond_params ]<br>&gt;   ; i    j    func    sig          eps<br>&gt; <br>&gt; [ moleculetype ]<br>&gt; AAAA 1<br>&gt; <br>&gt; [ atoms ]<br>&gt; ;   nr   type  resnr residue  atom   cgnr  charge       mass<br>&gt;     1     A     1      AAA    A      1      0.000   1000.0000<br>&gt; <br>&gt; [ moleculetype ]<br>&gt; BBBB 1<br>&gt; <br>&gt; [ atoms ]<br>&gt; ;   nr   type  resnr residue  atom   cgnr  charge     mass<br>&gt;     1     B     1      BBB    B      1      0.000      9.00<br>&gt; <br>&gt; [ system ]<br>&gt; ; name<br>&gt; Three atoms<br>&gt; <br>&gt; [ molecules ]<br>&gt; ; name   number<br>&gt; AAAA      2<br>&gt; BBBB      1<br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; Chris Neale wrote:<br>&gt; &gt; I just checked similar simulations of mine and Berk's suggestion <br>&gt; &gt; accounts for similar discrepancies that I notice on a quick evaluation <br>&gt; &gt; where g_traj and g_dist fail to give me the same distance as I obtain <br>&gt; &gt; from the pull pos.xvg file. As Berk suggests, once I first trjconv <br>&gt; &gt; -center -pbc mol -ur compact (giving an appropriate residue for <br>&gt; &gt; centering that puts all relevant pulled atoms in the same box) then <br>&gt; &gt; g_traj and g_dist both give me the exact same answer as I calculate <br>&gt; &gt; based on pull pos.xvg. Chris -- original message -- Hi, There could be <br>&gt; &gt; a problem with periodic boundary conditions. Do you have multiple <br>&gt; &gt; molecules in a pull group, or broken molecules? In that case the COM <br>&gt; &gt; position of 3.3.3 and g_traj are both incorrect. The pull code in 4.0 <br>&gt; &gt; grompp and mdrun are (as far as I know) always correct. Berk<br>&gt; &gt;<br>&gt; &gt;&gt; &gt; Date: Thu, 22 Jan 2009 13:22:24 -0500<br>&gt; &gt;&gt; &gt; From: fiedler@umich.edu<br>&gt; &gt;&gt; &gt; To: gmx-users@gromacs.org<br>&gt; &gt;&gt; &gt; Subject: [gmx-users] Transition difficulties: version 3.3.3 to <br>&gt; &gt;&gt; 4.0.3    regarding pull_geometry=distance<br>&gt; &gt;&gt; &gt; &gt; Dear all,<br>&gt; &gt;&gt; &gt; &gt; I have encountered an odd behavior with use of the "pull_geometry <br>&gt; &gt;&gt; = &gt; distance" option of the pull code, upon transitioning from <br>&gt; &gt;&gt; Gromacs &gt; version 3.3.3 to version 4.0.3.  It appears to be related <br>&gt; &gt;&gt; to the center &gt; of mass distances of the two pull groups, which has <br>&gt; &gt;&gt; an effect of &gt; abruptly displacing the coordinates of the less <br>&gt; &gt;&gt; massive group.  A &gt; diagnostic is a discrepancy between the distances <br>&gt; &gt;&gt; between the pull &gt; groups from the preprocessor output in version <br>&gt; &gt;&gt; 4.0.3, and the distance &gt; between the groups as calculated using the <br>&gt; &gt;&gt; difference of the groups' &gt; centers of mass from the g_traj utility.  <br>&gt; &gt;&gt; For example, using the &gt; coordinates of a system previously <br>&gt; &gt;&gt; equilibrated with the constraint &gt; force approach from version 3.3.3, <br>&gt; &gt;&gt; the grompp output from version 4.0.3 is:<br>&gt; &gt;&gt; &gt; &gt; Pull group  natoms  pbc atom  distance at start     reference at t=0<br>&gt; &gt;&gt; &gt;        0      2672      1336 &gt;        1        60      6818   <br>&gt; &gt;&gt; 2.673                 0.400   &gt; &gt; Using g_traj (4.0.3 version), the <br>&gt; &gt;&gt; difference of the distance between the &gt; center of masses of the two <br>&gt; &gt;&gt; groups is: 0.39911 nm versus the 2.673 value &gt; from above. &gt; &gt; This <br>&gt; &gt;&gt; issue does not exist in previous versions of Gromacs including &gt; <br>&gt; &gt;&gt; version 3.3.3.  In version 4.0.3, this behavior occurs for both &gt; <br>&gt; &gt;&gt; pull=umbrella and pull = constraint, on 32 and 64 bit architecture &gt; <br>&gt; &gt;&gt; systems, and in both single and double precision calculations.  A <br>&gt; &gt;&gt; test &gt; of a two atom system determined that the pull_start option was <br>&gt; &gt;&gt; not &gt; appropriate.  The pull options used in the mdp file are listed <br>&gt; &gt;&gt; below, as &gt; well as the contents of the ppa file which has worked <br>&gt; &gt;&gt; previously. &gt; &gt; Suggestions would be appreciated,<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 <br>&gt; &gt; posting!<br>&gt; &gt; Please don't post (un)subscribe requests to the list. Use the www <br>&gt; &gt; 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; &gt;<br>&gt; &gt;<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>