Ok Jeff, thanks very much for your support!

Regards,

2012/1/31 Jeff Squyres <jsquyres@cisco.com>
On Jan 31, 2012, at 3:59 AM, Gabriele Fatigati wrote:

> I have very interesting news. I recompiled OpenMPI 1.4.4 enabling the memchecker.
>
> Now the warning on strcmp is disappeared also without buffers initializations using memset!
>
> So the warning is a false positive? My simple code is safe?

If you were using IB as the network transport, yes, it's a false positive.

With memchecker enabled, Open MPI will *always* tell Valgrind that the entire contents of the buffer are defined, even when the data is coming from an OS-bypass transport (such as an OpenFabrics-based device, like IB).

--
Jeff Squyres
jsquyres@cisco.com
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/


_______________________________________________
users mailing list
users@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users



--
Ing. Gabriele Fatigati

HPC specialist

SuperComputing Applications and Innovation Department

Via Magnanelli 6/3, Casalecchio di Reno (BO) Italy

www.cineca.it                    Tel:   +39 051 6171722

g.fatigati [AT] cineca.it