[petsc-users] Doubt about PCILU

Zhang, Hong hzhang at mcs.anl.gov
Thu Nov 3 09:22:03 CDT 2022


PETSc does not support 'ilutp' . Sequential superlu supports it. You can install petsc with superlu, then use runtime options to activate 'ilutp' , e.g.,
petsc/src/ksp/ksp/tutorials
./ex2 -ksp_view -pc_type ilu -pc_factor_mat_solver_type superlu -help |grep superlu
...
  -mat_superlu_replacetinypivot: <FALSE : FALSE> ReplaceTinyPivot (None)
  ...
  -mat_superlu_ilu_droptol <0.0001 : 0.0001>: ILU_DropTol (None)
  -mat_superlu_ilu_filltol <0.01 : 0.01>: ILU_FillTol (None)
  -mat_superlu_ilu_fillfactor <10. : 10.>: ILU_FillFactor (None)
  -mat_superlu_ilu_droprull <now 9 : formerly 9>: ILU_DropRule (None)

Hong
________________________________
From: petsc-users <petsc-users-bounces at mcs.anl.gov> on behalf of Ahmed Mansur <ahmedlp9 at gmail.com>
Sent: Thursday, November 3, 2022 8:49 AM
To: petsc-users <petsc-users at mcs.anl.gov>
Subject: [petsc-users] Doubt about PCILU

Hi, I'm trying to use ILU as GMRES preconditioner (using PCILU), my question is how use ILU as 'ilutp' type like MATLAB ( ILU factorization with threshold and pivoting.  )
Thanks. Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20221103/2003425f/attachment.html>


More information about the petsc-users mailing list