[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Petsc on Blue Gene



On 7/11/07, Brian Biskeborn <bbiskebo@xxxxxxxxxx> wrote:
Any suggestions on where this data misalignment might be occurring?

Please, take into account my ignorance about this is really complete, but.. supporte you declare a local variable and next take a pointer to it, ie:

PetscReal rval, *rptr;
rptr = &rval;

Is the rptr aligned as you need? If that's not the case, perhaps PETSc
is interacting bad with malloced memory and 'stacked' memory.

Please, forget me if this does not make any sense.

Regards,


-- Lisandro Dalcín --------------- Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC) Instituto de Desarrollo Tecnológico para la Industria Química (INTEC) Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET) PTLC - Güemes 3450, (3000) Santa Fe, Argentina Tel/Fax: +54-(0)342-451.1594