Thanks Couldn't get it to recognise the flag, -log_summary, but wrote to file using PetscLogPrintDetailed(PETSC_COMM_WORLD, 'petsc_log_summary.txt', petsc_err).
Thanks Carol Dr Carol Brickley BSc,PhD,ARCS,DIC,MBCS Senior Software Engineer Applied Computer Science DS+T, AWE Aldermaston Reading Berkshire RG7 4PR Direct: 0118 9855035 -----Original Message----- From: Satish Balay [mailto:[email protected]] Sent: 31 March 2015 18:22 To: Matthew Knepley Cc: Brickley Carol AWE; [email protected] Subject: EXTERNAL: Re: [petsc-users] Problems trying to use -log_summary Also check if petsc examples work [with -log_summary]. This will isolate the issue [petsc build vs application code] Satish On Tue, 31 Mar 2015, Matthew Knepley wrote: > On Tue, Mar 31, 2015 at 12:10 PM, <[email protected]> wrote: > > > Hi, > > > > I am having problems trying to use -log_summary. I have added > > PetscLogBegin,PetscLogInitSummary and compiled with PETSC_USE_LOG. I then > > run with -log_summary but the code will not accept this flag, > > > > Use the debugger and find out why its not executing the routine. It could > be that you did not rebuild everything correctly, > or that the option is not being passed correctly, etc. There are so many > variables that we cannot really be helpful yet. Also, > since this is used by almost every PETSc run done, it is very unlikely to > be a bug in the code. > > Thanks, > > Matt > > > > > > Any ideas? > > > > Carol > > > > > > > > *Dr Carol Brickley * > > > > *BSc,PhD,ARCS,DIC,MBCS* > > > > > > > > *Senior Software Engineer* > > > > *Applied Computer Science* > > > > *DS+T,* > > > > *AWE* > > > > *Aldermaston* > > > > *Reading* > > > > *Berkshire* > > > > *RG7 4PR* > > > > > > > > *Direct: 0118 9855035* > > > > > > > > > > ___________________________________________________ > > ____________________________ The information in this email and in any > > attachment(s) is commercial in confidence. If you are not the named > > addressee(s) or if you receive this email in error then any distribution, > > copying or use of this communication or the information in it is strictly > > prohibited. Please notify us immediately by email at admin.internet(at) > > awe.co.uk, and then delete this message from your computer. While > > attachments are virus checked, AWE plc does not accept any liability in > > respect of any virus which is not detected. AWE Plc Registered in England > > and Wales Registration No 02763902 AWE, Aldermaston, Reading, RG7 4PR > > > > > > ___________________________________________________ ____________________________ The information in this email and in any attachment(s) is commercial in confidence. If you are not the named addressee(s) or if you receive this email in error then any distribution, copying or use of this communication or the information in it is strictly prohibited. Please notify us immediately by email at admin.internet(at)awe.co.uk, and then delete this message from your computer. While attachments are virus checked, AWE plc does not accept any liability in respect of any virus which is not detected. AWE Plc Registered in England and Wales Registration No 02763902 AWE, Aldermaston, Reading, RG7 4PR
