[petsc-users] no profile printed by "PetscLogPrintSummary"

Matthew Knepley knepley at gmail.com
Tue Nov 1 06:02:48 CDT 2011


On Tue, Nov 1, 2011 at 9:31 AM, Debao Shao <Debao.Shao at brion.com> wrote:

>  DA, ****
>
> ** **
>
> I intend to use “PetscLogPrintSummary” to dump log summary, but don’t get
> it.****
>
> The usage is: ****
>
>     PetscInitialize(0, 0, 0, 0);****
>
>     PetscLogAllBegin();****
>
>     …****
>
>     PetscLogPrintSummary(MPI_COMM_SELF, PETSC_NULL);****
>
> PetscFinalize();
>

You only need PetscLogBegin(), and you should use PETSC_COMM_WORLD.

   Matt


>
>
> My libpetsc.a is built by ****
>
> 1, ./config/configure.py --with-mpi=0 --with-debugging=1 -with-log=1
> -with-info=1 --with-x=0;****
>
> 2, make all****
>
> ** **
>
> Thanks,****
>
> Debao****
>
> ------------------------------
> -- The information contained in this communication and any attachments is
> confidential and may be privileged, and is for the sole use of the intended
> recipient(s). Any unauthorized review, use, disclosure or distribution is
> prohibited. Unless explicitly stated otherwise in the body of this
> communication or the attachment thereto (if any), the information is
> provided on an AS-IS basis without any express or implied warranties or
> liabilities. To the extent you are relying on this information, you are
> doing so at your own risk. If you are not the intended recipient, please
> notify the sender immediately by replying to this message and destroy all
> copies of this message and any attachments. ASML is neither liable for the
> proper and complete transmission of the information contained in this
> communication, nor for any delay in its receipt.
>



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20111101/c57f00fa/attachment.htm>


More information about the petsc-users mailing list