[petsc-users] MatCopy and MatSetValue consume most 99 percentage of runtime

Debao Shao Debao.Shao at brion.com
Fri Apr 15 02:16:04 CDT 2011


Dear Petsc:

I'm trying on Petsc iterative solver(KSPCG & PCJACOBI), but it's strange that the two functions "MatCopy" and "MatSetValue" consume most of runtime, and the functions were not called frequently, just several times.

My libpetsc.a is built as follows:
1, /config/configure.py --with-mpi=0 --with-debugging=0 -with-log=0 -with-info=0
2, make all;

It's very appreciated to get your reply.

Thanks a lot,
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110415/9b902af3/attachment-0001.htm>


More information about the petsc-users mailing list