<div dir="ltr">Hi,<div><br></div><div>What Erik said, plus also this behaviour varies whether there is more than one rank, whether there are virtual sites, and with GROMACS version.</div><div><br></div><div>Mark</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Mar 1, 2018 at 9:57 PM Erik Lindahl <<a href="mailto:erik.lindahl@gmail.com">erik.lindahl@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Sanyam,<div><br></div><div>Not entirely sure what your debugger reports, but it is likely due either to padding (which we do to avoid false sharing between threads), or over-allocation (which we do to avoid repeatedly re-allocating and freeing memory when particles drift between nodes during domain decomposition).</div><div><br></div><div>This is also why we have separate fields to keep track of the number of atoms vs. the number of allocated entries.</div><div><br></div><div>Cheers,</div><div><br></div><div>Erik</div></div><div class="gmail_extra"></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 1, 2018 at 9:52 PM, Sanyam Kapoor <span dir="ltr"><<a href="mailto:sanyam@nyu.edu" target="_blank">sanyam@nyu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello everyone,<div><br></div><div>I was trying to understand fields in the <font face="monospace">t_state</font> class and it looks like there is some disparity during the run which I cannot make sense of. I ran the code for two topologies experiments with the following arguments</div><div><br></div><div><font face="monospace">mdrun -s m.tpr -rerun m.gro -e m.edr -g m.log</font></div><div><br></div><div>1. A topology which had <b>1960 atoms </b>but the <b>fields for coordinates (x) and velocities (v) had 1968</b> items.</div><div>2. A topology which had <b>1793 atoms </b>but the <b>fields for coordinates (x) and velocities (v) had 1808</b> items.</div><div><br></div><div>These numbers that I am reporting have been retrieved while debugging for the fields <font face="monospace">natoms</font>, <font face="monospace">x</font> and <font face="monospace">v</font> of <font face="monospace">t_state</font>.</div><div><br></div><div>The comments for <span style="font-family:monospace">t_state</span> state that the lists should have been of the same size as number of atoms. However this doesn't seem to be the case. Could somebody verify if this is expected? If yes, why so?</div><div><br></div><div>Thank you!</div></div><span class="m_-2800472018907322967HOEnZb"><font color="#888888">-- <br><div dir="ltr" class="m_-2800472018907322967m_7924609721254566729gmail_signature" data-smartmail="gmail_signature">Regards,<br>Sanyam Kapoor<br>Masters in Computer Science<br>Courant Institute, New York University<br><a href="https://www.sanyamkapoor.com" target="_blank">https://www.sanyamkapoor.com</a></div>
</font></span><br>--<br>
Gromacs Developers mailing list<br>
<br>
* Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List" rel="noreferrer" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List</a> before posting!<br>
<br>
* Can't post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" rel="noreferrer" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br>
<br>
* For (un)subscribe requests visit<br>
<a href="https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers" rel="noreferrer" target="_blank">https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers</a> or send a mail to <a href="mailto:gmx-developers-request@gromacs.org" target="_blank">gmx-developers-request@gromacs.org</a>.<br></blockquote></div><br><br clear="all"><div><br></div></div><div class="gmail_extra">-- <br><div class="m_-2800472018907322967gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Erik Lindahl <<a href="mailto:erik.lindahl@dbb.su.se" target="_blank">erik.lindahl@dbb.su.se</a>></div><div>Professor of Biophysics, Dept. Biochemistry & Biophysics, Stockholm University</div><div>Science for Life Laboratory, Box 1031, 17121 Solna, Sweden</div></div></div></div></div></div></div></div></div>
</div>
--<br>
Gromacs Developers mailing list<br>
<br>
* Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List" rel="noreferrer" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List</a> before posting!<br>
<br>
* Can't post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" rel="noreferrer" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br>
<br>
* For (un)subscribe requests visit<br>
<a href="https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers" rel="noreferrer" target="_blank">https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers</a> or send a mail to <a href="mailto:gmx-developers-request@gromacs.org" target="_blank">gmx-developers-request@gromacs.org</a>.</blockquote></div>