<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Mar 6, 2015 at 12:56 PM, Justin Chang <span dir="ltr"><<a href="mailto:jchang27@uh.edu" target="_blank">jchang27@uh.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>Matt, thank you for the response. One more question, is there a way to output only the MPI messages and MPI message lengths? I don't want to print everything when I do -log_summary, so are there any command line options that do this? I can't seem to find anything in the manual that discusses this.<br></div></div></blockquote><div><br></div><div>These are just global counters:</div><div><br></div><div> <a href="https://bitbucket.org/petsc/petsc/src/1ddf9febf6a13a173c13b6b0dde02ed9ccfd590e/src/sys/logging/plog.c?at=master#cl-51">https://bitbucket.org/petsc/petsc/src/1ddf9febf6a13a173c13b6b0dde02ed9ccfd590e/src/sys/logging/plog.c?at=master#cl-51</a></div><div><br></div><div>You can output them whenever you want. If you want global numbers, you will need to call reductions yourself.</div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div></div>Thanks,<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 6, 2015 at 9:10 AM, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span>On Thu, Mar 5, 2015 at 6:12 PM, Justin Chang <span dir="ltr"><<a href="mailto:jchang27@uh.edu" target="_blank">jchang27@uh.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi all,<br><br></div>I apologize if these may be simple questions that could be found somewhere. In the log_summary profiling, I have a few questions about the MPI messages/MPI message lengths metrics:<br><br></div>1) For MPI messages, does the value under Max correspond to the maximum number of messages a single processor passes?<br></div></div></div></blockquote><div><br></div></span><div>Yes.</div><span><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div></div><div>2) What are the units of MPI message lengths? Is it in bytes?</div></div></div></blockquote><div><br></div></span><div>Yes, returned by PetscMPITypeSize().</div><span><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>3) What does MPI message lengths refer to exactly? Like, does it refer to the max/min/average size per sent/received message or does it refer to the cumulative size that a single processor sends/receives?<br></div></div></blockquote><div><br></div></span><div>Cumulative, see</div><div><br></div><div> <a href="https://bitbucket.org/petsc/petsc/src/d8151eeaff97562eb317e17b7b0cecab16831f69/include/petsclog.h?at=master#cl-343" target="_blank">https://bitbucket.org/petsc/petsc/src/d8151eeaff97562eb317e17b7b0cecab16831f69/include/petsclog.h?at=master#cl-343</a></div><div><br></div><div> Thanks,</div><div><br></div><div> Matt</div><span><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div></div>Thanks<span><font color="#888888"><br clear="all"><div><div><div><div><div><br>-- <br><div><div dir="ltr"><div><div><div>Justin Chang<br></div>PhD Candidate, Civil Engineering - Computational Sciences<br></div>University of Houston, Department of Civil and Environmental Engineering<br></div>Houston, TX 77004<br><a href="tel:%28512%29%20963-3262" value="+15129633262" target="_blank">(512) 963-3262</a><br></div></div></div></div></div></div></div></font></span></div>
</blockquote></span></div><span><font color="#888888"><br><br clear="all"><span class=""><font color="#888888"><div><br></div>-- <br><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div>
</font></span></font></span></div></div><span class=""><font color="#888888">
</font></span></blockquote></div><span class=""><font color="#888888"><br></font></span></div><span class=""><font color="#888888"><br clear="all"><br>-- <br><div><div dir="ltr"><div><div><div>Justin Chang<br></div>PhD Candidate, Civil Engineering - Computational Sciences<br></div>University of Houston, Department of Civil and Environmental Engineering<br></div>Houston, TX 77004<br><a href="tel:%28512%29%20963-3262" value="+15129633262" target="_blank">(512) 963-3262</a><br></div></div>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div>
</div></div>