[petsc-dev] [petsc-users] Petsc Performance Help
Jed Brown
jedbrown at mcs.anl.gov
Fri Mar 16 15:59:55 CDT 2012
On Fri, Mar 16, 2012 at 15:53, Satish Balay <balay at mcs.anl.gov> wrote:
>
> 4. MatSetValues() is not logged by default - you should run with -info
> and make sure there are no mallocs during assembly.
This user might have a version from before that was an error by default,
but maybe there should still be an option -mat_log_setvalues (or
-log_mat_setvalues?) that enables MAT_SetValues so they don't have to call
this advanced function to profile time in MatSetValues?
/* Turn off high traffic events by default */
ierr = PetscLogEventSetActiveAll(MAT_SetValues,
PETSC_FALSE);CHKERRQ(ierr);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120316/129c8acb/attachment.html>
More information about the petsc-dev
mailing list