Usually ... I would say no. But this is a special case (of
course :)). In order to get better performances we align some fields
in our TCP header. As a result there is a small gap in the TCP
headers, which of course don't get initialized. Valgrind detect it
and complain, but it's harmless.
I was wondering if it is expected to have error messages from valgrind
when checking openmpi code?
For instance, I have following trivial code:
#include
#include
template
void distribute_val(T& val, int _procid, int _np)
{
MPI_Bcast(&val, sizeof(T), MPI_CHAR, 0, MPI_COMM_WORLD);
}