Jeff Squyres 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.
Jed
|