Skip to content
Snippets Groups Projects
Commit 25e997c5 authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Initial some variables that MemorySanitizer suggested

Also reported issues in MPI and METIS, the METIS issue doesn't seem to have an effect (zeroed in a local build).
parent 34e76452
No related branches found
No related tags found
2 merge requests!136Master,!125Initialize some variables that MemorySanitizer suggested
Loading
  • Contributor

    FWIW, a lot of these look like false positives. A limitation of the sanitizer is that it can only detect e.g. MPI's writes if the external library is itself built with the sanitizer. Duplicate initialisation is mostly harmless, especially with a trap value like MPI_UNDEFINED, but it's worth weighing against the risk of disguising actual uninitialised reads further down the line. Although, from 'also reported issues...', maybe you already know this?

  • Author Owner

    Thanks, yes, I mainly included these so that I could run the memory sanitizer to look for deeper issues, which failed to materialise, but at least if I try again these will not come up.

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment