[petsc-users] error handling
Jed Brown
jed at jedbrown.org
Tue Jan 21 13:18:41 CST 2020
Jeremy Theler <jeremy at seamplex.com> writes:
> Dear Sam
>
> Probably you are already aware of the following paragraph, but just in
> case. Quote from
> https://www.gnu.org/prep/standards/standards.html#Memory-Usage
>
>
> Memory analysis tools such as valgrind can be useful, but don’t
> complicate a program merely to avoid their false alarms. For example,
> if memory is used until just before a process exits, don’t free it
> simply to silence such a tool.
Off-topic, but I consider this to be bad advice, especially for a
library or community project.
More information about the petsc-users
mailing list