Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] MPI_AllGather null terminator character
From: Gabriele Fatigati (g.fatigati_at_[hidden])
Date: 2012-01-31 10:05:32


Ok Jeff, thanks very much for your support!

Regards,

2012/1/31 Jeff Squyres <jsquyres_at_[hidden]>

> 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_at_[hidden]
> For corporate legal information go to:
> http://www.cisco.com/web/about/doing_business/legal/cri/
>
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> 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