Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI users] MPI_AllGather null terminator character
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2012-01-31 07:52:30

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
For corporate legal information go to: