<div dir="ltr"><div dir="ltr">On Sun, Dec 10, 2023 at 2:41 AM Stephan Köhler <<a href="mailto:stephan.koehler@math.tu-freiberg.de">stephan.koehler@math.tu-freiberg.de</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"><u></u>
<div>
Dear PETSc/Tao team,
<br>
<br>
there is a bug in the voector interface: In the function
<br>
VecNorm, see, eg.
<a href="https://petsc.org/release/src/vec/vec/interface/rvector.c.html#VecNorm" target="_blank">https://petsc.org/release/src/vec/vec/interface/rvector.c.html#VecNorm</a>
line 197 the check for consistency in line 214 is done on the wrong
communicator. The
communicator should be PETSC_COMM_SELF.<br>
<span>Otherwise the
program may hang when PetscCheck is executed.<br>
<br>
Please find a minimal example attached.</span></div></blockquote><div><br></div><div>This is entirely right. I will fix it.</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><br>
<br>
Kind regards,
<br>
Stephan Köhler
<pre cols="72">--
Stephan Köhler
TU Bergakademie Freiberg
Institut für numerische Mathematik und Optimierung
Akademiestraße 6
09599 Freiberg
Gebäudeteil Mittelbau, Zimmer 2.07
Telefon: +49 (0)3731 39-3188 (Büro)</pre>
</div>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><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>