On Fri, 27 Aug 2010 16:18:43 -0500, Keita Teranishi <keita at cray.com> wrote: > Yes, I replaced all the compiler flags by -O3.
petsc-maint doesn't come to me, but if the snippet that Barry quoted was from your log_summary, then PETSC_USE_DEBUG was definitely defined when plog.c was compiled. It's really much easier to have two separate builds and always use the optimized one when profiling. Jed