[petsc-users] -log_view=:FILENAME:ascii_info_detail contains events with count 0

Barry Smith bsmith at mcs.anl.gov
Wed Oct 22 15:23:15 CDT 2014


> On Oct 22, 2014, at 3:04 PM, Brad Aagaard <baagaard at usgs.gov> wrote:
> 
> Barry,
> 
> Yes, I can process the file and dump the events with a count of 0.
> 
> It seems odd to me that events with a count of zero were included in the first place and not filtered out when the log was dumped. That would make the log file (even in Python) easy to digest without additional processing.

   But what if you want to know about events with zero count?

   Basically I wanted a Python representation that captured essentially all the data inside the running application this would include zero count stuff and my thought is the user is going to process it and get what they want anyways hence I do not want PETSc to do any “processing”.

  Barry

> 
> Brad
> 
> 
> On 10/22/2014 12:59 PM, Barry Smith wrote:
>> 
>>   I think the intention is that you write some simply python that processes the raw data dumped by the -log_view; so for example you could remove the events with count of 0. Would this work for you?
>> 
>> Barry
>> 
>>> On Oct 22, 2014, at 2:49 PM, Brad Aagaard <baagaard at usgs.gov> wrote:
>>> 
>>> I noticed that when I use -log_view=:FILENAME:ascii_info_detail, I get a file that for each stage contains info for all events even when they are not called (count == 0). Is this the intended behavior? If so, is there a way to turn off output of information for events with count == 0?
>>> 
>>> Thanks,
>>> Brad
>>> 
>> 
>> 
>> 
> 



More information about the petsc-users mailing list