To start you should just run the code with the ./configure option 
--with-debugging=0 with the option -log_view this will give you the high view 
of where it is spending the time. Feel free to email back the output. From that 
you can focus on what parts are both taking a lot of time AND running slowly 
and that gives a good idea of what needs to be optimized.

   Barry

> On Oct 19, 2016, at 3:15 PM, Sharp Stone <thron...@gmail.com> wrote:
> 
> Dear all,
> 
> Now I'm using a Petsc code which needs to be optimized. But after trying, I 
> still don't know how to get the profiling for each of the function for each 
> process. I mean, for each process, how should I know the execution time for 
> each function?
> 
> Thanks!
> 
> -- 
> Best regards,
> 
> Feng

Reply via email to