[petsc-users] TSSolve problems

Li, Xinya Xinya.Li at pnnl.gov
Mon Jun 29 11:57:56 CDT 2015


Barry,

Here is the new output without debugging.

Thank you.

Xinya

********************************************************************


-----Original Message-----
From: Barry Smith [mailto:bsmith at mcs.anl.gov] 
Sent: Friday, June 26, 2015 12:04 PM
To: Li, Xinya
Cc: petsc-users at mcs.anl.gov
Subject: Re: [petsc-users] TSSolve problems


##########################################################
      #                                                        #
      #                          WARNING!!!                    #
      #                                                        #
      #   This code was compiled with a debugging option,      #
      #   To get timing results run ./configure                #
      #   using --with-debugging=no, the performance will      #
      #   be generally two or three times faster.              #
      #                                                        #
      ##########################################################

First you need to configure PETSc again without all the debugging. So do, for example,

export PETSC=arch-opt
./configure --with-cc=gcc --with-fc=gfortran --with-cxx=g++ --with-scalar-type=complex --with-clanguage=C++ --with-cxx-dialect=C++11  --download-mpich --download-superlu_dist --download-mumps --download-scalapack --download-parmetis --download-metis --download-elemental make all test

then recompile and rerun your example again with -log_summary and send the output.

Note that you should not pass --download-fblaslapack nor the fortran kernel stuff.

  Barry


> On Jun 26, 2015, at 12:16 PM, Li, Xinya <Xinya.Li at pnnl.gov> wrote:
> 
> Barry,
> 
> Thank you for your response.
> 
> Attached is the output. SNESSolve was taking most of the time. 
> 
> 
> Xinya
> 
> 
> 
> -----Original Message-----
> From: Barry Smith [mailto:bsmith at mcs.anl.gov]
> Sent: Thursday, June 25, 2015 5:47 PM
> To: Li, Xinya
> Cc: petsc-users at mcs.anl.gov
> Subject: Re: [petsc-users] TSSolve problems
> 
> 
>  Run with -ts_view -log_summary and send the output. This will tell the current solvers and where the time is being spent.
> 
>  Barry
> 
>> On Jun 25, 2015, at 6:37 PM, Li, Xinya <Xinya.Li at pnnl.gov> wrote:
>> 
>> Dear Sir,
>> 
>> I am using the ts solver to solve a set of ODE and DAE. The Jacobian matrix is a 1152 *1152 sparse complex matrix.
>> Each TSStep in TSSolve is taking nearly 1 second. Thus, I need  to improve the speed of TSSolve.
>> Which parts should be taking into account to accelerate TSSolve?
>> Thank you very much.
>> Regards
>> __________________________________________________
>> Xinya Li
>> Scientist
>> EED/Hydrology
>> Pacific Northwest National Laboratory
>> 902 Battelle Boulevard
>> P.O. Box 999, MSIN K9-33
>> Richland, WA  99352 USA
>> Tel:  509-372-6248
>> Fax: 509-372-6089
>> Xinya.Li at pnl.gov
> 
> <288g1081b_short.log>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: d288gen.log
Type: application/octet-stream
Size: 17837 bytes
Desc: d288gen.log
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150629/94ab8fea/attachment.obj>


More information about the petsc-users mailing list