[petsc-users] Bug report VecNorm
Stephan Köhler
stephan.koehler at math.tu-freiberg.de
Sun Dec 10 01:40:56 CST 2023
Dear PETSc/Tao team,
there is a bug in the voector interface: In the function
VecNorm, see, eg.
https://petsc.org/release/src/vec/vec/interface/rvector.c.html#VecNorm
line 197 the check for consistency in line 214 is done on the wrong
communicator. The communicator should be PETSC_COMM_SELF.
Otherwise the program may hang when PetscCheck is executed.
Please find a minimal example attached.
Kind regards,
Stephan Köhler
--
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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20231210/8e2303fe/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: minimal_ex_vec_norm.cpp
Type: text/x-c++src
Size: 1792 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20231210/8e2303fe/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xC9BF2C20DFE9F713.asc
Type: application/pgp-keys
Size: 758 bytes
Desc: OpenPGP public key
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20231210/8e2303fe/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20231210/8e2303fe/attachment-0001.sig>
More information about the petsc-users
mailing list