Re: [OMPI users] Valgrind and openmpi

2007-05-03 Thread George Bosilca
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.

[OMPI users] Valgrind and openmpi

2007-05-03 Thread Chudin, Eugene
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); }