[petsc-users] flops performed on each processor
    Barry Smith 
    bsmith at mcs.anl.gov
       
    Fri Aug 22 13:53:46 CDT 2014
    
    
  
On Aug 22, 2014, at 1:28 PM, Matthew Knepley <knepley at gmail.com> wrote:
> On Fri, Aug 22, 2014 at 1:24 PM, Xiangdong <epscodes at gmail.com> wrote:
> Hello everyone,
> 
> In the PETSc log_summary, it outputs the Max flops, the ratio of Max/Min flops. If it is far from 1.0, I would like to know the distributions of flops among all the procs. How can I obtain the flops performed on each proc?
> 
> -log_view ::ascii_info_detail
  We don’t have it properly documented yet but this outputs python dictionaries that contain the various performance counters for each process and stages and events. You can then write simple Python code to process the data any way you like, for example plotting distributions etc. I recommend starting by collecting data for just 2 or 3 processes and using that data to write your python scripts. Once you have the scripts you want you can make parallel runs with more processes and use the already debugged scripts.
> 
>   Thanks,
> 
>      Matt
>  
> Thank you.
> 
> Best,
> Xiangdong
> 
> 
> 
> -- 
> 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-users
mailing list