<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0, 0); font-size: 13px;">
<div style="">&nbsp;Hi, Petsc Team,<br>
<br>
The PETSC user manual says that the matrix format of block compressed row (BAIJ) will be more efficient than the default AIJ format for problems with multiple DOF. But the description of using BAIJ matrix is very limited in the manual. When trying to replace
 AIJ with BAIJ in the code of iterative solver, I often meet the errors &quot; No support for this operation for this object type!&quot;, &quot; Matrix format mpibaij does not have a built-in PETSc direct solver! &quot;. I think something must be missing here when we change the
 format. <br>
<br>
And how to prelocate memory for BAIJ matrices when we have multiple DOF? Where can we find detailed statements or example codes of using BAIJ with preconditioners in iterative computation?<br>
<br>
BTW, When we use DA to organize the data for parallel computing, is it more natural to use DAGetMatrix() to create the matrix than using MatCreateMPIAIJ() ?
<br>
<br>
<br>
Thank you.<br>
<br>
<br>
Zhisong Li<br>
<br>
</div>
</div>
</body>
</html>