On Fri, Jan 27, 2012 at 12:22 PM, Justin A. Lemkul <span dir="ltr">&lt;<a href="mailto:jalemkul@vt.edu">jalemkul@vt.edu</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Naomi Fox wrote:<div><div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Thu, Jan 26, 2012 at 7:20 PM, Mark Abraham &lt;<a href="mailto:Mark.Abraham@anu.edu.au" target="_blank">Mark.Abraham@anu.edu.au</a> &lt;mailto:<a href="mailto:Mark.Abraham@anu.edu.au" target="_blank">Mark.Abraham@anu.edu.<u></u>au</a>&gt;&gt; wrote:<br>

<br>
    On 27/01/2012 12:35 PM, Naomi Fox wrote:<br>
<br>
        I would like to print out a list of non-bonded interactions and<br>
        their associated LJ-potentials and coulombic potentials.<br>
<br>
        I tried g_energy, but couldn&#39;t figure out the combination of<br>
        parameters to get this information.<br>
<br>
<br>
    During the simulation, you can only save the magnitude of the<br>
    interactions between energy groups (see manual), and by default the<br>
    only such group is the whole system. mdrun -rerun is useful for<br>
    re-computing quantities based on an existing simulation.<br>
<br>
    Mark<br>
<br>
<br>
So what you&#39;re saying is it isn&#39;t possible?  <br>
When I rerun mdrun with the -seppot option, I see in the md.log file that I get the VdW and Coulomb V and dVdl for node 0 (the only node).<br>
<br>
There is no way to print the exact contribution from each individual interaction?<br>
<br>
</blockquote>
<br></div></div>
It certainly is possible, you just need to specify energygrps (in the .mdp file) for the interactions you want to monitor, as Mark said.  The -seppot flag is for the free energy code, IIRC, not a magic option to dump a bunch of different interactions.<br>

<br>
-Justin<br>
<br></blockquote><div><br></div><div>Thanks Mark and Justin.</div><div><br></div><div>Two more questions:</div><div><br></div><div>1) How do I define an energy group for an interaction?  All I found for examples in the manual are &quot;Protein&quot; and &quot;SOL&quot;</div>
<div><br></div><div>2) Can I dump all the interactions listed as [ pairs ] in the .top file?  I only need them for a single conformation and not for a full trajectory. </div></div>