[petsc-users] no profile printed by "PetscLogPrintSummary"
Debao Shao
Debao.Shao at brion.com
Tue Nov 1 21:30:04 CDT 2011
Hi, Matt:
1, I tried both "PetscLogAllBegin()" & "PetscLogBegin()", but both of them don't print log summary.
2, I disabled MPI(--with-mpi=0), will MPI_COMM_SELF have difference to PETSC_COMM_WORLD?
Thanks,
Debao
________________________________
From: petsc-users-bounces at mcs.anl.gov [mailto:petsc-users-bounces at mcs.anl.gov] On Behalf Of Matthew Knepley
Sent: Tuesday, November 01, 2011 7:03 PM
To: PETSc users list
Subject: Re: [petsc-users] no profile printed by "PetscLogPrintSummary"
On Tue, Nov 1, 2011 at 9:31 AM, Debao Shao <Debao.Shao at brion.com<mailto: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
________________________________
-- 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20111101/2d3ebd99/attachment.htm>
More information about the petsc-users
mailing list