<div dir="ltr">Hi, all<div><br></div><div>Recently I'm trying to improve the performance of my program, so I add -help option to see options available. I think I use MPIAIJ type of MAT, but I receive information of SEQAIJ.</div>
<div><br></div><div>Is it means actually I am using a sequential matrix type?</div><div>If not, how could I get information of MPIAIJ to improve performance?</div><div><br></div><div>Code of generating mate</div><div><div>
<span class="" style="white-space:pre">       </span>MatCreate(PETSC_COMM_WORLD,&A);</div><div><span class="" style="white-space:pre">        </span>MatSetType(A,MATMPIAIJ);</div><div><span class="" style="white-space:pre">   </span>MatSetSizes(A,PETSC_DECIDE, PETSC_DECIDE,size,size);</div>
<div><span class="" style="white-space:pre">    </span>MatMPIAIJSetPreallocationCSR(A,Ap,Ai,temp);</div></div><div><br></div><div>Code of getting information</div><div><div>char  common_options[] = "-help  -st_ksp_type preonly -st_pc_type lu -st_pc_factor_mat_solver_package mumps -mat_mumps_icntl_28 2 -mat_mumps_icntl_29 2";</div>
<div><br></div><div>  <span class="" style="white-space:pre">        </span>ierr = PetscOptionsInsertString(common_options);CHKERRQ(ierr);</div></div><div><br></div><div>Thank you very much</div><div>Guoxi</div></div>