<div dir="ltr">Hello all,<br><br>I am new to PETSc so here comes a newbie question.<br><br>On the first page of the manual it says that <br><br>&quot;• PETSc should not be used to attempt to provide a “parallel linear solver” in an otherwise sequential<br>
code. Certainly all parts of a previously sequential code need not be parallelized but the matrix<br>generation portion must be parallelized to expect any kind of reasonable performance. Do not expect<br>to generate your matrix sequentially and then “use PETSc” to solve the linear system in parallel.<br>
&quot;<br>Please help me understand what is meant by it. What if I read the matrix from a file (sequential) and distribute it to other processes and then call any linear solver, how is it going to affect the performance of the code? because reading or generating the matrix is a one time cost for one timestep, or may be that CAUTION is for multiple timesteps?<br>
<br>Thnaks<br clear="all"><span style="color:rgb(0,0,0)">Bibrak </span><br>
</div>