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
> > the 1st + size (not 2)?) -- let me dig into it a bit... we
> > 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...