Dear Developers,<br><br>I am facing with two questions about Block-Sparse Preallocation:<br><br>1- I set array "nnz[]" and did:<br><br> MatSetType ( JAC, MATSEQBAIJ );<br> MatSetSizes( JAC, PETSC_DECIDE, PETSC_DECIDE, nt, nt ); <br>
MatSeqAIJSetPreallocation( JAC, 0, nnz );<br><br>but when I saw log file with -info -mat_view_info, I found this message:<br><br>[0] MatSetUpPreallocation(): Warning not preallocating matrix storage<br><br>What this means? Did I correctly preallocate the matrix?<br>
<br>2- I need to test MatSeqBAIJSetPreallocation() too but I little confused with descriptions of the command in man-page:<br><br>what are "nz" and "nnz[]" in this case?<br><br>what about number of blocks per row?<br>
<br>Thanks bothering too much :-)<br>BehZad<br><br>