[petsc-users] KSPSolve doesn't seem to scale. (Must be doing something wrong...)

William Coirier William.Coirier at kratosdefense.com
Fri Mar 14 16:45:35 CDT 2014


I've written a parallel, finite-volume, transient thermal conduction solver using PETSc primitives, and so far things have been going great. Comparisons to theory for a simple problem (transient conduction in a semi-infinite slab) looks good, but I'm not getting very good parallel scaling behavior with the KSP solver. Whether I use the default KSP/PC or other sensible combinations, the time spent in KSPSolve seems to not scale well at all.

I seem to have loaded up the problem well enough. The PETSc logging/profiling has been really useful for reworking various code segments, and right now, the bottleneck is KSPSolve, and I can't seem to figure out how to get it to scale properly.

I'm attaching output produced with -log_summary, -info, -ksp_view and -pc_view all specified on the command line for 1, 2, 4 and 8 processes.

If you guys have any suggestions, I'd definitely like to hear them! And I apologize in advance if I've done something stupid. All the documentation has been really helpful.

Thanks in advance...

Bill Coirier

 --------------------------------------------------------------------------------------------------------------------

***NOTICE*** This e-mail and/or the attached documents may contain technical data within the definition of the International Traffic in Arms Regulations and/or Export Administration Regulations, and are subject to the export control laws of the U.S. Government. Transfer of this data by any means to a foreign person, whether in the United States or abroad, without an export license or other approval from the U.S. Department of State or Commerce, as applicable, is prohibited. No portion of this e-mail or its attachment(s) may be reproduced without written consent of Kratos Defense & Security Solutions, Inc. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. The information contained in this message and or attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you are not the intended recipient or believe that you may have received this document in error, please notify the sender and delete this e-mail and any attachments immediately.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: out.1
Type: application/x-troff-man
Size: 197673 bytes
Desc: out.1
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140314/5133bd87/attachment-0004.man>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: out.2
Type: application/x-troff-man
Size: 399424 bytes
Desc: out.2
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140314/5133bd87/attachment-0005.man>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: out.4
Type: application/x-troff-man
Size: 536306 bytes
Desc: out.4
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140314/5133bd87/attachment-0006.man>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: out.8
Type: application/x-troff-man
Size: 810360 bytes
Desc: out.8
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140314/5133bd87/attachment-0007.man>


More information about the petsc-users mailing list