<div dir="ltr"><div dir="ltr">On Wed, Jul 27, 2022 at 9:22 AM LEDAC Pierre <<a href="mailto:Pierre.LEDAC@cea.fr">Pierre.LEDAC@cea.fr</a>> wrote:<br></div><div class="gmail_quote"><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 id="gmail-m_8774388244499280455divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p>Hello,</p>
<p><br>
</p>
<p>Recently migrated from Fedora34 to Fedora36, using PETSc I have some lag during the PetscInitialize, which</p>
<p>disappeared if I run again immediately the binary. But after few seconds, the lag happens again (see below).</p>
<p><br>
</p>
<p>I suspected MPICH 4.0.2 on Fedora36, but a small reproducer indicated the issue is not in MPI_Init but really during PetscInitialize</p></div></div></blockquote><div>How do you know it is not MPI_Init()? We always call it. Could you build PETSc using --with-mpi=0 and do the test again?</div><div><br></div><div>My suspicion is that it is gethostbyname() that MPI_Init() calls. This is always what mysterious startup slowness on my machine is.</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:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div id="gmail-m_8774388244499280455divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p>Just annoying during testing, not very important, but did someone already see this ?</p>
<p><br>
</p>
<p>Thanks,<br>
</p>
<p><br>
</p>
<p></p>
<div>portable: /volatile/ledacp/petsc/src/ksp/ksp/tests (main) > time ./ex39<br>
<br>
<span style="color:rgb(255,0,0)">real 0m3,593s</span><br>
user 0m0,872s<br>
sys 0m0,433s<br>
portable: /volatile/ledacp/petsc/src/ksp/ksp/tests (main) > time ./ex39<br>
<br>
real 0m0,310s<br>
user 0m0,884s<br>
sys 0m0,023s<br>
</div>
<div><br>
</div>
<div># Wait ~20 seconds then again:<br>
</div>
<div><br>
</div>
<div>portable: /volatile/ledacp/petsc/src/ksp/ksp/tests (main) > time ./ex39<br>
<br>
<span style="color:rgb(255,0,0)">real 0m3,507s</span><br>
user 0m0,897s<br>
sys 0m0,025s<br>
portable: /volatile/ledacp/petsc/src/ksp/ksp/tests (main) > time ./ex39<br>
<br>
real 0m0,154s<br>
user 0m0,725s<br>
sys 0m0,015s<br>
portable: /volatile/ledacp/petsc/src/ksp/ksp/tests (main) > time ./ex39<br>
<br>
real 0m0,176s<br>
user 0m0,875s<br>
sys 0m0,021s<br>
<br>
</div>
<br>
<p></p>
<div id="gmail-m_8774388244499280455Signature">
<div style="font-family:Tahoma;font-size:13px">
<div><font size="2"><span style="font-size:10pt">
<div>Pierre LEDAC<br>
Commissariat à l’énergie atomique et aux énergies alternatives<br>
Centre de SACLAY<br>
DES/ISAS/DM2S/STMF/LGLS<br>
Bâtiment 451 – point courrier n°43<br>
F-91191 Gif-sur-Yvette<br>
+33 1 69 08 04 03<br>
+33 6 83 42 05 79</div>
</span></font></div>
</div>
</div>
</div>
</div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_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></div>