<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 fixed this in 4.0.4.<br>The forces are always correct, dgdl in 4.0.3 was only correct at nstlist steps.<br><br>Currently 4.0.4 is only available through ftp.<br>We still need to add it (and the release notes) to the download page.<br><br>Berk<br><br>&gt; Date: Tue, 17 Feb 2009 17:50:17 -0500<br>&gt; From: chris.neale@utoronto.ca<br>&gt; To: gmx-users@gromacs.org<br>&gt; Subject: [gmx-users] anomalous free energy dgdl.xvg values every nstlist steps while using a twin-range cutoff <br>&gt; <br>&gt; Hello,<br>&gt; <br>&gt; I believe that the free-energy code dgdl contribution from the <br>&gt; twin-range cutoff is being calculated incorrectly in gromacs 4.0.3 (and <br>&gt; probably other versions as well).<br>&gt; <br>&gt; Specifically, I notice that the dgdl values spike at nstlist intervals. <br>&gt; This can be seen directly from my dgdl.xvg and also from running <br>&gt; g_analyze -ac.<br>&gt; <br>&gt; I suspect that while the forces from the LJ interactions that are in the <br>&gt; longer range of the twin-range are added every step while the dgdl value <br>&gt; is modified to have nstlist times these contributions every nstlist step.<br>&gt; <br>&gt; My belief that the forces are truley added every step comes from section <br>&gt; 4.6.3 of the gromacs 4 manual:<br>&gt; <br>&gt; "In the neighbor list all interaction pairs that fall within rlist are <br>&gt; stored. Furthermore, the interactions between<br>&gt; pairs that do not fall within rlist but do fall within <br>&gt; max(rcoulomb,rvdw) are computed during NS, and the forces<br>&gt; and energy are stored separately, and added to short-range forces at <br>&gt; every time step between successive NS."<br>&gt; <br>&gt; Perhaps the long-range LJ component forces are actually applied to the <br>&gt; particles every nstlist steps as a force multipled by nstlist, as is <br>&gt; done in NAMD, but I am currently under the impression that this is not <br>&gt; the case.<br>&gt; <br>&gt; I am happy to provide more details and files if necessary, but hopefully <br>&gt; this information is sufficient for a skilled coder to take a look and <br>&gt; determine if this is indeed the case.<br>&gt; <br>&gt; Thank you,<br>&gt; Chris.<br>&gt; <br>&gt; Relevant .mdp options:<br>&gt; <br>&gt; integrator          =  sd<br>&gt; energygrps          =  SOL DPC DPN        ; annihilated group must be <br>&gt; separated<br>&gt; gen_seed            =  -1<br>&gt; comm_mode           =  linear<br>&gt; nstcomm             =  1<br>&gt; comm_grps           =  System<br>&gt; dt                    = 0.004<br>&gt; nstlist             =  5<br>&gt; ns_type             =  grid<br>&gt; pbc                 =  xyz<br>&gt; coulombtype         =  PME<br>&gt; rcoulomb            =  0.9<br>&gt; fourierspacing      =  0.12<br>&gt; pme_order           =  4<br>&gt; vdwtype             =  cut-off<br>&gt; rvdw_switch         =  0<br>&gt; rvdw                =  1.4<br>&gt; rlist               =  0.9<br>&gt; DispCorr            =  EnerPres     <br>&gt; Pcoupl              =  Berendsen          ; REMOVE_FOR_EM<br>&gt; pcoupltype          =  isotropic          ; REMOVE_FOR_EM<br>&gt; compressibility     =  4.5e-5             ; REMOVE_FOR_EM<br>&gt; ref_p               =  1.                 ; REMOVE_FOR_EM<br>&gt; tau_p               =  4.0                ; REMOVE_FOR_EM<br>&gt; tc_grps             =  System             ; REMOVE_FOR_EM<br>&gt; tau_t               =  1.0                ; REMOVE_FOR_EM<br>&gt; ld_seed             =  -1                 ; REMOVE_FOR_EM<br>&gt; ref_t               =  300.               ; REMOVE_FOR_EM<br>&gt; gen_temp            =  300.               ; REMOVE_FOR_EM<br>&gt; constraints         =  all-bonds          ; REMOVE_FOR_EM<br>&gt; constraint_algorithm=  lincs              ; REMOVE_FOR_EM<br>&gt; lincs-iter          =  1                  ; REMOVE_FOR_EM<br>&gt; lincs-order         =  6                  ; REMOVE_FOR_EM<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>