<div dir="ltr"><div>Matthew,</div><div><br></div><div>thank you for your useful advice. By running the code with -log_view I have found the following message which might be related to my performance troubles and that only appears when using PETSC with 32 bit integers:<br></div><div><br></div><div> ##########################################################<br> # #<br> # WARNING!!! #<br> # #<br> # This code was compiled with a debugging option. #<br> # To get timing results run ./configure #<br> # using --with-debugging=no, the performance will #<br> # be generally two or three times faster. #<br> # #<br> ##########################################################</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El mar., 25 jun. 2019 a las 12:32, Matthew Knepley (<<a href="mailto:knepley@gmail.com">knepley@gmail.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">For any performance question, we need to see the output of -log_view for each case compared.<div><br></div><div> Thanks,</div><div><br></div><div> Matt</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 25, 2019 at 5:55 AM José Lorenzo via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I have access to two PETSC installations: one using 64-bit integers and another one with 32-bit integers. For some reason, when I run the exactly same FORTRAN code (except for the size of integer type) using both installations, the 32-bit one exhibits much lower performance in terms of computation time. This is a problem because I need the 32-bit version in order to be able to use the LU factorization provided in MUMPS.<br></div><div><br></div><div>I would appreciate any hint helping me understand why this may happen.<br></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_3386914442466391848gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><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><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div>
</blockquote></div>