initialization of XXX_COOKIE in C source files

Matthew Knepley knepley at
Sat May 10 18:22:51 CDT 2008

2008/5/10 Lisandro Dalcin <dalcinl at>:
> I've noticed that in 2.3.3 all PETSc cookies are initialized to zero
>  in sources, but in DEV they are not initialized. What's the reason of
>  this change?

Not sure, but I would guess some compiler probably did not like it.


>  --
>  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

What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which
their experiments lead.
-- Norbert Wiener

More information about the petsc-dev mailing list