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] Bogus memcpy or bogus valgrind record
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2009-04-29 15:45:00


On Apr 29, 2009, at 3:40 PM, Jed Brown wrote:

> > But I'm able to replicate your error (but shouldn't the 2nd buffer
> be
> > the 1st + size (not 2)?) -- let me dig into it a bit... we
> definitely
> > shouldn't be getting invalid writes in the convertor, etc.
>
> As Eugene pointed out earlier, it is fine.
>
> dataloctab = malloc (2 * (procglbnbr + 1) * sizeof (int));
> dataglbtab = dataloctab + 2;
>
> dataloctab is the 2-element send buffer, dataglbtab is the receive
> buffer of length 2*procglbnbr.
>

You're absolutely right -- sorry for not paying attention.

Regardless, there still is a definite problem. I'm digging...

-- 
Jeff Squyres
Cisco Systems