[petsc-users] Weird behavior for log_summary

Barry Smith bsmith at mcs.anl.gov
Mon Jun 8 13:05:01 CDT 2015


> On Jun 8, 2015, at 12:53 PM, Michele Rosso <mrosso at uci.edu> wrote:
> 
> Is there any external software I should link at compile time to allow PETSc to provide log infos?

  No

> Also, is there any define in petscconf.h that controls profiling?

  Yes, but it would stop anything from being printed, not just the events.

  Barry

> 
> Michele
> 
> On Mon, 2015-06-08 at 12:48 -0500, Barry Smith wrote:
>> > On Jun 8, 2015, at 12:16 PM, Michele Rosso <mrosso at uci.edu> wrote:
>> > 
>> > Hi Barry,
>> > 
>> > I run a small test case like you suggested: this results in no error, but the problem with log_summary still persists.
>> > Please find attached the output of log_summary.
>> 
>> 
>>    I cannot explain why nothing gets listed in the log summary. It appears to have used the command line options and hence a Krylov solver. I am dumbfounded why no events are listed in the log_summary.
>> 
>>    Barry
>> 
>> 
>> > 
>> > Thanks,
>> > Michele
>> > 
>> > On Fri, 2015-06-05 at 21:34 -0500, Barry Smith wrote:
>> >> [NID 04001] 2015-06-04 19:07:24 Apid 25022256: initiated application termination
>> >> Application 25022256 exit signals: Killed
>> >> Application 25022256 resources: utime ~271s, stime ~15107s, Rss ~188536, inblocks ~5078831, outblocks ~12517984
>> >> 
>> >>    Usually this kind of message indicates that either the OS or the batch system killed the process for some reason: often because it ran out of time or maybe memory.
>> >> 
>> >>    Can you run in batch with a request for more time? Do smaller jobs run through ok?
>> >> 
>> >>    If utime means user time and stime means system time then this is very bad, the system time is HUGE relative to the user time.
>> >> 
>> >>   Barry
>> >> 
>> >> 
>> >> 
>> >> 
>> >> 
>> >> > On Jun 5, 2015, at 9:22 PM, Michele Rosso <mrosso at uci.edu> wrote:
>> >> > 
>> >> > Hi,
>> >> > 
>> >> > I am checking the performances of my code via -log_summary, but the output is incomplete (please see attached) file.
>> >> > I configured petsc with the following options:
>> >> > 
>> >> > if __name__ == '__main__':
>> >> >   import sys
>> >> >   import os
>> >> >   sys.path.insert(0, os.path.abspath('config'))
>> >> >   import configure
>> >> >   configure_options = [
>> >> >     '--with-batch=1 ',
>> >> >     '--known-mpi-shared=0 ',
>> >> >     '--known-mpi-shared-libraries=0',
>> >> >     '--known-memcmp-ok ',
>> >> >     '--with-blas-lapack-lib=-L/opt/acml/5.3.1/gfortran64/lib  -lacml',
>> >> >     '--COPTFLAGS=-march=bdver1 -fopenmp -O3 -ffast-math -fPIC ',
>> >> >     '--FOPTFLAGS=-march=bdver1 -fopenmp -O3 -ffast-math -fPIC ',
>> >> >     '--CXXOPTFLAGS=-march=bdver1 -fopenmp -O3 -ffast-math -fPIC ',
>> >> >     '--with-x=0 ',
>> >> >     '--with-debugging=0',
>> >> >     '--with-clib-autodetect=0 ',
>> >> >     '--with-cxxlib-autodetect=0 ',
>> >> >     '--with-fortranlib-autodetect=0 ',
>> >> >     '--with-shared-libraries=0 ',
>> >> >     '--with-mpi-compilers=1 ',
>> >> >     '--with-cc=cc ',
>> >> >     '--with-cxx=CC ',
>> >> >     '--with-fc=ftn ',
>> >> > #    '--with-64-bit-indices',
>> >> >     '--download-hypre=1',
>> >> >     '--download-blacs=1 ',
>> >> >     '--download-scalapack=1 ',
>> >> >     '--download-superlu_dist=1 ',
>> >> >     '--download-metis=1 ',
>> >> >     '--download-parmetis=1 ',
>> >> >    ]
>> >> >   configure.petsc_configure(configure_options)
>> >> > 
>> >> > Any idea about this issue?
>> >> > Thanks,
>> >> > 
>> >> > Michele
>> >> > 
>> >> > 
>> >> > 
>> >> > 
>> >> > <log_summary>
>> >> 
>> >> 
>> >> 
>> > 
>> > <outfile.txt>
>> 
>> 
>> 
> 



More information about the petsc-users mailing list