[petsc-users] Amortizing calls to PetscOptionsFindPair_Private()
Barry Smith
bsmith at mcs.anl.gov
Sat Jan 16 18:00:14 CST 2016
Ok, I looked at your results in hpcviewer and don't see any surprises. The PETSc time is in the little LU factorizations, the LU solves and the matrix-vector products as it should be. Not much can be done on speeding these except running on machines with high memory bandwidth.
If you are using the master branch of PETSc two users gave us a nifty new profiler that is "PETSc style" but shows the hierarchy of PETSc solvers time and flop etc. You can run with -log_view :filename.xml:ascii_xml and then open the file with a browser (for example open -f Safari filename.xml) or email the file.
Barry
> On Jan 16, 2016, at 5:09 PM, Bhalla, Amneet Pal S <amneetb at live.unc.edu> wrote:
>
>
>
>> On Jan 16, 2016, at 1:13 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
>>
>> Either way is fine so long as I don't have to install a ton of stuff; which it sounds like I won’t.
>
> http://hpctoolkit.org/download/hpcviewer/
>
> Unzip HPCViewer for MacOSX with command line and drag the unzipped folder to Applications. You will be able to
> fire HPCViewer from LaunchPad. Point it to this attached directory. You will be able to see three different kind of profiling
> under Calling Context View, Callers View and Flat View.
>
>
>
> <hpctoolkit-main2d-database.zip>
>
More information about the petsc-users
mailing list