Thanks. But can we find out this info inside the code (like the way we get the number of iterations of ksp)? Also, for many subpc's, e.g. using bjacobi, -ksp_view does not print out every block. <br><br>Margot<br> <br><b><i>Satish Balay <balay@mcs.anl.gov></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> You can run the code with -mat_view_info [to get the matrix info] and<br>-ksp_view - to get the info about the solvers [which include some<br>details about the ilu preconditioner]<br><br>Satish<br><br>On Fri, 11 Aug 2006, Margot Summer wrote:<br><br>> Hi,<br>> <br>> Is there a simple way to get the number of nonzeros of<br>> a matrix? Further, how to find out the information<br>> about a matrix object in KSP/PC, e.g., the number of<br>> nonzeros of the preconditioner, or the number of<br>> nonzeros of the ilu(icc) factor? Thanks,<br>> <br>> Margot
<br>> <br>> __________________________________________________<br>> Do You Yahoo!?<br>> Tired of spam? Yahoo! Mail has the best spam protection around <br>> http://mail.yahoo.com <br>> <br>> <br><br></blockquote><br><p> 
                <hr size=1>Stay in the know. Pulse on the new Yahoo.com. <a href="http://us.rd.yahoo.com/evt=42974/*http://www.yahoo.com/preview"> Check it out.</a>